kernel 2.6 pcmcia yenta_socket on Soekris net4511: cards not recognized

Pablo Di Noto pdinoto at gmail.com
Sun Nov 19 15:18:02 EST 2006


> On Sat, Nov 18, 2006 at 08:42:32AM +0000, Pablo Di Noto wrote:
>>> What does cat
>>> /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_mem 
>>> and cat
>>> /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_io 
>>> say?
>> Well. nothing. They are there, but no output. OTOH,
>> /sys/class/pcmcia_socket/pcmcia_socket0/available_resources only 
>> says "no"
> 
> Well, that's the problem then. Do you have an /etc/pcmcia/config.opts
> file? If not, try this bare file:
> 
> # default port ranges for x86 include port 0x100-0x4ff, port
> 0x800-0x8ff, port 0xc00-0xcff include memory 0xc0000-0xfffff include
> memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
> 
> And re-run /sbin/pcmcia-socket-startup. Hopefully it will work then;
> if not, we'll need to debug why pcmcia-socket-startup fails.

Bingo!
That is!

> # modprobe pcmcia_core 
> # 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
> pccard: PCMCIA card inserted into slot 0
> # cat /etc/pcmcia/config.opts
> # default port ranges for x86
> include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
> include memory 0xc0000-0xfffff
> include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
> # modprobe orinoco_cs
> # pcmcia-socket-startup 
> cs: IO port probe 0xc00-0xcff: clean.
> cs: IO port probe 0x800-0x8ff: clean.
> cs: IO port probe 0x100-0x4ff: clean.
> cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
> pcmcia: registering new device pcmcia0.0
> pcmcia: request for exclusive IRQ could not be fulfilled.
> pcmcia: the driver needs updating to supported shared IRQ lines.
> # iwconfig eth2
> eth2      IEEE 802.11b  ESSID:""  Nickname:"Prism  I"
>           Mode:Managed  Access Point: Not-Associated   Bit Rate:11 Mb/s   
>           Sensitivity:1/3  
>           Retry min limit:8   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality=0/92  Signal level=-68 dBm  Noise level=-122 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> # pccardctl ls
> Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:09.0)
> Socket 0 Device 0:      [orinoco_cs]            (bus ID: 0.0)

I have been wondering which piece of the new pcmcia stack was in charge 
of doing what "cardmgr -o" did in 2.4, and there it is! I did not know 
it required a default config file tough.

Is this something related to BIOS information missing? Or a particular 
setup in this socket?

Thank you very, very much.
A happy ending for my sunday.

Best regards,
///Pablo




More information about the linux-pcmcia mailing list