Bug 13889 - pcmcia cards aren't recognized at all on ppc32
Summary: pcmcia cards aren't recognized at all on ppc32
Status: RESOLVED OBSOLETE
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-32 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: platform_ppc-32
URL: http://bugs.debian.org/cgi-bin/bugrep...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 10:21 UTC by Giuseppe Sacco
Modified: 2013-12-10 16:43 UTC (History)
1 user (show)

See Also:
Kernel Version: form 2.6.8 on
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Giuseppe Sacco 2009-08-02 10:21:02 UTC
From time to time, I used to use a pcmcia scsi adapter on a powerbook. Now, since at least 2.6.8, the card isn't recognized, while it is perfectly working on an x86 machine where both machine run the same kernel version (debian stable).

I initially opened the bug against the Debian bug tracker on January 2005. It is available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290997. Now, even using recent kernel versions, nothing has changed.

Basically, when the card is insterted uwing 2.6.26 kernel, I get no information about it:

> When I insert my card on the powerpc machine (now with kernel version
> 2.6.26+17), nothing happens. No audio singals, no new lines
> on /var/log/syslog.
> 
> eppesuig3:~# pccardctl ident
> Socket 0:
>   no product info available
> eppesuig3:~# pccardctl status
> Socket 0:
>   no card
> eppesuig3:~# pccardctl reset
> eppesuig3:~# pccardctl status
> Socket 0:
>   no card
> 
> So, the card is not recognized, but since pccardctl display one socket,
> then I must think the socket is recognized.

Thanks,
Giuseppe
Comment 1 Alan 2012-06-13 14:32:56 UTC
Closing as obsolete, if this is incorrect please update the bug versus a modern kernel
Comment 2 Giuseppe Sacco 2012-06-13 15:11:01 UTC
Wait! Why should this bug be marked "obsolete"? This bug affect all kernels since at least 2.6.8.

As far as I know, the same problem is still present in 2.6.32. Do you need more information about this bug? Is there any test output I should provide here?

Thanks,
Giuseppe
Comment 3 Alan 2012-06-13 20:08:30 UTC
2.6.32 is old.. is it seen on 3.2/3.4 or similar era kernels ?
Comment 4 Giuseppe Sacco 2012-06-13 20:44:19 UTC
It is running Debian stable, and 2.6.32 is latest stable kernel for Debian machines.

I'll try to see if I can compile there the kernel from Debian "testing". It is version 3.2.20. Would it make a good kernel for testing this problem?

Thanks,
Giuseppe
Comment 5 Alan 2012-06-14 09:55:02 UTC
The basic problem is that so much has changed since 2.6.32 it's hard to even guess if the bug is still likely to be present. It's also a platform with few users.

What I have been able to ascertain is that the PCMCIA itself works on Ubuntu 10.04 LTS on the G4 Powerbook and not much else.

This may also be relevant but I don't have a Powerbook to check

https://wiki.archlinux.org/index.php/Powerbook_G3
Comment 6 Alan 2012-06-14 09:55:35 UTC
First thing would be to ask what Powerbook version you've got, second if the workaround in the archlinux link works.
Comment 7 Giuseppe Sacco 2012-06-14 14:17:45 UTC
I will try the workaround later on, today. But this is a G4 while that on is a G3, so the CardBus bridge is a different model. Relevant details are:

giuseppe@titanium4:~$ cat /proc/cpuinfo 
processor	: 0
cpu		: 7455, altivec supported
clock		: 867.000000MHz
revision	: 3.2 (pvr 8001 0302)
bogomips	: 86.65
timebase	: 33332243
platform	: PowerMac
model		: PowerBook3,5
machine		: PowerBook3,5
motherboard	: PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as	: 80 (PowerBook Titanium IV)
pmac flags	: 0000001b
L2 cache	: 256K unified
pmac-generation	: NewWorld
Memory		: 1024 MB

giuseppe@titanium4:~$ lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 PCI
0001:10:17.0 Unassigned class [ff00]: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:1a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 Internal PCI
0002:24:0e.0 FireWire (IEEE 1394): Agere Systems FW322/323
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) (rev 01)

Note You need to log in before you can comment on or make changes to this bug.