pcmcia-cs 3.2.5 & linux 2.6.0-test5 "Invalid argument" problem

fritz at reichmann.tv fritz at reichmann.tv
Wed Sep 24 11:14:08 BST 2003


Hello, 
 
I am trying to get a IEEE1394 and an atmel-based Sitecom WL-011 running at the 
same time. So far I could only get one working at a time using linux 2.4.x because the 
first is only supported by kernel pcmcia and the second only by atmelwlandriver with 
pcmcia-cs :-(. 
 
Now because 2.6.0 supports an atmel_cs driver I want both cards to be supported 
directly by the kernel. 
 
What I am trying: 
 
Excerpt from linux kernel config: 
CONFIG_ISA=y 
CONFIG_PCMCIA=m 
CONFIG_PCMCIA_ATMEL=m 
 
pcmcia-cs 3.2.5 is configured with kernel pcmcia support. 
 
atmel.conf conftains: 
device "atmel_cs" 
  class "network" 
card "ATMEL 11 Mbps SiteCom PCMCIA Card" 
  manfid 0xd601, 0x0007 
  bind "atmel_cs" 
 
wireless.opts contains: 
# ATMEL WIRELESS 
*,*,*,00:60:B3:*:*:*) 
    INFO="SiteCom" 
[... SNIPP SNAPP ...] 
 
lspci -vv says (I hope this is the relevant portion): 
02:01.0 CardBus bridge: Texas Instruments PCI1420 
        Subsystem: Dell Computer Corporation: Unknown device 00e3 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- 
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 168, cache line size 08 
        Interrupt: pin A routed to IRQ 9 
        Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K] 
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 
        Memory window 0: 10400000-107ff000 (prefetchable) 
        Memory window 1: 10800000-10bff000 
        I/O window 0: 00001000-000010ff 
        I/O window 1: 00001400-000014ff 
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ 
        16-bit legacy interface ports at 0001 
 
02:01.1 CardBus bridge: Texas Instruments PCI1420 
        Subsystem: Dell Computer Corporation: Unknown device 00e3 
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- 
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- 
        Latency: 168, cache line size 08 
        Interrupt: pin A routed to IRQ 9 
        Region 0: Memory at 10002000 (32-bit, non-prefetchable) [size=4K] 
        Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176 
        Memory window 0: 10c00000-10fff000 (prefetchable) 
        Memory window 1: 11000000-113ff000 
        I/O window 0: 00001800-000018ff 
        I/O window 1: 00001c00-00001cff 
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ 
        16-bit legacy interface ports at 0001 
 
lsmod says (amongst others, but atmel_cs does not appear): 
ds                     11236  4 
yenta_socket           14720  2 
pcmcia_core            64480  2 ds,yenta_socket 
 
And now the problem: pcmcia-cs is not able to bind atmel_cs to the socket, according 
to the error message in syslog: 
Sep 24 09:41:02 linux cardmgr[229]: socket 1: ATMEL 11 Mbps SiteCom PCMCIA Card 
Sep 24 09:41:02 linux cardmgr[229]: bind 'atmel_cs' to socket 1 failed: Invalid 
 
However I can insert the IEEE1394 card and it works perfectly after insertion. I do get 
similiar "Invalid argument" messages when I try a ISDN AVM Fritz card (which I never 
used seriously before). From reports from Simon Kelly 
(http://www.thekelleys.org.uk/atmel/) I know that atmel-based wireless cards should 
work with linux-2.6.0. Both cards also worked with 2.4.x, but only one at a time because 
one is supported by kernel and the other by pcmcia-cs only. 
 
After fighting for a few days I do not know how to continue anymore. Can please 
someone give me advice on how to solve this ? I am happy to give more info and try 
things out. 
 
Any help is appreciated ! 
 
Fritz 
 



More information about the linux-pcmcia mailing list