using Senao NL-2511 CD +ext2 PCMCIA card with Ricoh RL5C475(II) CardBus controller and HostAP

Sharad Jaiswal sharad
Fri Sep 22 06:55:21 PDT 2006


Hi,

I am using Senao NL-2511 CD PCMCIA card through a Ricoh RL5c475(II) 
Cardbus Controller based *PCMCIA to PCI* converter.

The PC (a Pentium P3) is running Redhat 9 Linux (kernel version 2.4.20-8).

Also, I am using the external pcmcia-cs package ver. 3.2.8 (have disabled 
kernel pcmcia/cardbus support), and  HostAP version 0.3.7.

I set the values in /etc/sysconfig/pcmcia as follows

PCMCIA=yes
PCIC=i82365
PCIC_OPTS="irq_mode=0 pci_cac=0 poll_interval=100"
CORE_OPTS=
CARDMGR_OPTS=


When the machine is booted (along with the card) the driver is not loaded.
I do a 'modprobe hostap_cs' and then do a lsmod

[root at localhost root]# lsmod
Module                  Size  Used by    Not tainted
hostap_cs              52792   0  (unused)
hostap                110344   0  [hostap_cs]
ide-cd                 32508   0  (autoclean)
cdrom                  30272   0  (autoclean) [ide-cd]
mousedev                5044   1  (autoclean)
input                   5472   0  (autoclean) [mousedev]
agpgart                42944   4  (autoclean)
parport_pc             17028   1  (autoclean)
lp                      8292   0  (autoclean)
parport                33760   1  (autoclean) [parport_pc lp]
autofs                 11860   0  (autoclean) (unused)
ds                      8264   1  [hostap_cs]
i82365                 38048   1
pcmcia_core            44640   0  [hostap_cs ds i82365]
e100                   54148   0
3c59x                  28240   1
ext3                   61792   2
jbd                    46612   2  [ext3]


and one can see hostap_cs is now loaded. However the card doesn't come on. 
No lights, no beeps.

I am also attaching the value of lspci -vvv


01:00.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 81)
         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
         Interrupt: pin A routed to IRQ 11
         Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
         Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
         Memory window 0: 00000000-00000000 (prefetchable)
         Memory window 1: 00000000-00000000 (prefetchable)
         I/O window 0: 00000000-00000003
         I/O window 1: 00000000-00000003
         BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
         16-bit legacy interface ports at 0001

and dmesg:


Linux PCMCIA Card Services 3.2.8
   kernel build: 2.4.20-8custom-2 #2 Fri Sep 22 10:48:24 IST 2006
   options:  [pci] [cardbus] [apm]
Intel ISA/PCI/CardBus PCIC probe:
PCI: Enabling device 01:00.0 (0000 -> 0002)
PCI: Found IRQ 11 for device 01:00.0
PCI: Sharing IRQ 11 with 00:1f.2
   Ricoh RL5C475 rev 81 PCI-to-CardBus at slot 01:00, mem 0x10000000
     host opts [0]: [pci only] [io 3/6/1] [mem 3/6/1] [pci irq 11] [lat 168/176] [bus 2/5]
     PCI card interrupts, PCI status changes
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.7 - 2005-02-12 (Jouni Malinen <jkmaline at cc.hut.fi>)


and the output of cat /proc/interrupts

            CPU0
   0:      99839          XT-PIC  timer
   1:       3180          XT-PIC  keyboard
   2:          0          XT-PIC  cascade
   5:    5825999          XT-PIC  eth0, eth1
   8:          1          XT-PIC  rtc
  11:          0          XT-PIC  i82365
  12:       8927          XT-PIC  PS/2 Mouse
  14:       7510          XT-PIC  ide0
  15:       2681          XT-PIC  ide1
NMI:          0 
ERR:          0

Does anyone have insights into why card is not coming up? Any help will be 
greatly appreciated.

regards,
Sharad.






More information about the Hostap mailing list