kernel 2.6 pcmcia yenta_socket on Soekris net4511: cards not recognized

Pablo Di Noto pdinoto at gmail.com
Thu Nov 16 08:22:12 EST 2006


Hi!

I have several Soekris net-4511 boards (http://www.soekris.com/net4511.htm).

While using 2.4.2x kernel series yenta_socket worked without any trouble 
or special configuration.

Now with 2.6.1x I can't figure out how to make the socket work again. My 
setup is:

Linux from 2.6.18 up to 2.6.19-rc5, compiled under an uClibc buildroot 
(http://buildroot.uclibc.org). Using pcmciautils-014 compiled with 
libsysfs from sysfsutils-2.1.0

Reduced boot output:

(...)
> DMI not present or invalid.
> Allocating PCI resources starting at 10000000 (gap: 04000000:fbf00000)
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: root=/dev/ram0 console=ttyS0,19200n8 panic=5
(...)
> PCI: PCI BIOS revision 2.01 entry at 0xf7861, last bus=1
> PCI: Using configuration type 1
> Setting up standard PCI resources
> Linux Plug and Play Support v0.97 (c) Adam Belay
> PCI: Probing PCI hardware
> PCI: Bus 1, cardbus bridge: 0000:00:09.0
>   IO window: 00001000-000010ff
>   IO window: 00001400-000014ff
>   PREFETCH window: 10000000-11ffffff
>   MEM window: 12000000-13ffffff
(...)
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found

then adding modules by hand:

> Starting dropbear sshd: OK
> 
> Please press Enter to activate this console. 
> / # /etc/init.d/start-pcmcia 
> + echo /sbin/mdev >/proc/sys/kernel/hotplug
> + modprobe pcmcia
> + modprobe yenta_socket
> Yenta: CardBus bridge found at 0000:00:09.0 [0000:0000]
> Yenta: ISA IRQ mask 0x0000, PCI irq 10
> Socket status: 30000010
> + sleep 2
> pccard: PCMCIA card inserted into slot 0
> + pccardctl ls
> Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:09.0)
> + pccardctl status
> Socket 0:
>   no card
> + pccardctl info
> PRODID_1=""
> PRODID_2=""
> PRODID_3=""
> PRODID_4=""
> MANFID=0000,0000
> FUNCID=255

Same happens booting with pci=bios, pci=nobios kernel options.
Loading yenta_socket with override_bios=1 does not help either.

This is a snip of boot output from a working 2.4.26 on the very same 
hardware:
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)

And output when manually starting the socket with a wifi card:
> # modprobe pcmcia_core
> Using /lib/modules/2.4.26-0.3c-soekris/pcmcia/pcmcia_core.o
> Linux Kernel Card Services 3.1.22
>   options:  [pci] [cardbus]
> # modprobe yenta_socket
> Using /lib/modules/2.4.26-0.3c-soekris/pcmcia/yenta_socket.o
> Yenta ISA IRQ mask 0x0000, PCI irq 10
> Socket status: 30000010
> ti113x: Routing card interrupts to PCI
> # modprobe ds
> Using /lib/modules/2.4.26-0.3c-soekris/pcmcia/ds.o
> # cardmgr -o
> cardmgr[57]: error in file 'config' line 2365: unknown device 'hostap_cs'
> cardmgr[57]: watching 1 socket
> cs: IO port probe 0x0100-0x04ff: clean.
 > cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0a00-0x0aff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
> hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
> hostap_cs: Registered netdevice wifi0
> hostap_cs: index 0x01: Vcc 5.0, irq 10, io 0x0100-0x013f
> wifi0: NIC: id=0x801b v1.0.0
> wifi0: PRI: id=0x15 v1.1.0
> wifi0: STA: id=0x1f v1.8.0
> # cardc# cardctl info
> PRODID_1="Adaptec"
> PRODID_2="Wireless PC Card V3.0"
> PRODID_3=""
> PRODID_4=""
> MANFID=9005,0021
> FUNCID=6

While I have read everything I could find, I am afraid there is a 
missing step somewhere. Let me know if I should open a bug ticket and 
any additional info that may be useful to debug this.

It is puzzling, but it made me realize how much work you guys have done 
to better integrate pcmcia into 2.6! Thanks!

Regards,
///Pablo



More information about the linux-pcmcia mailing list