Unable to access PCMCIA with O2 Micro OZ711MP1/MS1
Hello,
after contacting linux-pcmcia and some search I am approaching lkml.
There seems to be a problem accessing PCMCIA cards with O2 Micro OZ711MP1/MS1 Controller.
On a Fujitsu Siemens Celsius H240 a 2.6.22-3-amd64 kernel from Debian testing is in use. PCMCIA utilities for Linux 2.6 version 014-4 are installed. I could supply the output of lspci and lshal.
When I insert a CardBus adapter, for instance a CNET CNF401 fast ethernet, everything works fine and the adapter becomes available to the system -- in this example the NIC with working LAN access. The lspci and lshal output then reflects the new hardware.
When I insert a PCMCIA adapter, for instance a 3com 3CCE589EC, a 3com 3C589C or an compact flash adapter, almost nothing happens: In the case of the 3com I just get (dmesg):
pccard: PCMCIA card inserted into slot 0
In the case of the compact flash adapter at the first insert dmesg gives:
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
cs: memory probe 0x88000000-0x8fffffff: excluding 0x88000000-0x8fffffff
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
cs: memory probe 0xf0300000-0xf03fffff: excluding 0xf0300000-0xf03fffff
Later on dmesg just issues "pccard: PCMCIA card inserted into slot 0" when the same card is inserted no matter how often.
In the PCMCIA cases the lshal output doesn't change, but in the lspci output the original line changes from:
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+ ^^^^^^
to:
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
PostWrite+ ^^^^^^
In the case of the compact flash adapters neither "modprobe ide_cs" nor "modprobe pata_pcmcia" yield anything -- not even in dmesg.
As I do not want to access a SmartCard I did not try the o2scr driver from gna.org/projects/o2scr.
If I could supply more data I would like to do so on your request.
Best regards, Alexander.
Quoted 10 lines · Alexander (N-MSR)
Hello,
after contacting linux-pcmcia and some search I am approaching lkml.
There seems to be a problem accessing PCMCIA cards with O2 Micro OZ711MP1/MS1 Controller.
On a Fujitsu Siemens Celsius H240 a 2.6.22-3-amd64 kernel from Debian testing is in use. PCMCIA utilities for Linux 2.6 version 014-4 are installed. I could supply the output of lspci and lshal.
Assuming debian has alot of patches applied, it would be interesting to see if this bug exist on vanilla 2.6.24. Would probably get alot more attention from pcmcia guru's.
Quoted 11 lines
When I insert a CardBus adapter, for instance a CNET CNF401 fast ethernet, everything works fine and the adapter becomes available to the system -- in this example the NIC with working LAN access. The lspci and lshal output then reflects the new hardware.
When I insert a PCMCIA adapter, for instance a 3com 3CCE589EC, a 3com 3C589C or an compact flash adapter, almost nothing happens: In the case of the 3com I just get (dmesg):
pccard: PCMCIA card inserted into slot 0
So your issue is with non-cardbus pcmcia cards?
Quoted 10 lines
In the case of the compact flash adapter at the first insert dmesg gives:
pccard: PCMCIA card inserted into slot 0
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
cs: memory probe 0x88000000-0x8fffffff: excluding 0x88000000-0x8fffffff
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
cs: memory probe 0xf0300000-0xf03fffff: excluding 0xf0300000-0xf03fffff
Quoted 9 lines
Later on dmesg just issues "pccard: PCMCIA card inserted into slot 0" when the same card is inserted no matter how often.
In the PCMCIA cases the lshal output doesn't change, but in the lspci output the original line changes from:
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+ ^^^^^^
Have you looked inside the pcmcia driver file to check what sets the Reset +/-?
Quoted 20 lines
to:
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+
PostWrite+ ^^^^^^In the case of the compact flash adapters neither "modprobe
ide_cs" nor "modprobepata_pcmcia" yield anything -- not even in dmesg.As I do not want to access a SmartCard I did not try the o2scr driver from gna.org/projects/o2scr.
If I could supply more data I would like to do so on your request.
Best regards, Alexander.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Resolved (sort of): Unable to access PCMCIA with O2 Micro OZ711MP1/MS1
Quoted 6 lines · Kristoffer Ericson
Quoted 1 line · Alexander (N-MSR)
On a Fujitsu Siemens Celsius H240 a 2.6.22-3-amd64 kernel from Debian testing is in use. PCMCIA utilities for Linux 2.6 version 014-4 are installed. I could supply the output of lspci and lshal.
Assuming debian has alot of patches applied, it would be interesting to see if this bug exist on vanilla 2.6.24. Would probably get alot more attention from pcmcia guru's.
Hello,
obviously this is the case. This morning I tried a different non-cardbus PCMCIA card and it worked, which in turn was the case for the other test candidates, NICs and CF adapters: they all are accessible right now. In the moment I am trying to find out which update caused the improvement.
Thank you very much for your attention and, please, excuse me for bothering you.
Best regards, Alexander.
Re: Resolved (sort of): Unable to access PCMCIA with O2 Micro OZ711MP1/MS1
Quoted 10 lines · Alexander (N-MSR)
Quoted 8 lines · Kristoffer Ericson
Quoted 3 lines · Alexander (N-MSR)
On a Fujitsu Siemens Celsius H240 a 2.6.22-3-amd64 kernel from Debian testing is in use. PCMCIA utilities for Linux 2.6 version 014-4 are installed. I could supply the output of lspci and lshal.
Assuming debian has alot of patches applied, it would be interesting to see if this bug exist on vanilla 2.6.24. Would probably get alot more attention from pcmcia guru's.
Quoted 6 lines
Hello,
obviously this is the case. This morning I tried a different non-cardbus PCMCIA card and it worked, which in turn was the case for the other test candidates, NICs and CF adapters: they all are accessible right now. In the moment I am trying to find out which update caused the improvement.
Glad to hear its working. If you are eager to see what patch caused the bug (debian or vanilla) you can always do a bisect. Or simply run through 2.6.20 -> 2.6.24 vanilla kernels and see where it worked and when it didn't.
Quoted 4 lines
Thank you very much for your attention and, please, excuse me for bothering you.
no worries.
Quoted 1 line
Best regards, Alexander.