kernel 2.6.17: hostap_cs not working, used to work on older kernels

claytonk at 163.com claytonk at 163.com
Fri Oct 20 06:14:58 EDT 2006


Hi,

On the Debian 560e Thinkpad that I would particularly like to get working, card insertion gives me the following syslog:

kernel: pccard: PCMCIA card inserted into slot 0
kernel: pcmcia: registering new device pcmcia0.0

Thats it. No module is loaded.

# lsmod | grep pcmcia
pcmcia                 33468  1 fmvj18x_cs
firmware_class          9344  1 pcmcia
pcmcia_core            36368  4 fmvj18x_cs,pcmcia,pd6729,rsrc_nonstatic

As can be seen from the presence of fmvj18x_cs (a wired ethernet PCMCIA
card) enough is working to get some other PCMCIA cards loaded properly.

# modprobe hostap_cs

Gives the following syslog:
kernel: ieee80211_crypt: registered algorithm 'NULL'
kernel: hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline at cc.hut.fi>)
kernel: hostap_cs: setting Vcc=33 (constant)
kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
kernel: io->flags = 0x0046, io.base=0x0000, len=64
kernel: hostap_cs: Registered netdevice wifi0
kernel: hostap_cs: index 0x01: , irq 5, io 0x0140-0x017f
kernel: prism2_hw_init: initialized in 228 ms
kernel: wifi0: hfa384x_cmd: entry still in list? (entry=b32612a0,
type=0, res=0) 
kernel: wifi0: hfa384x_cmd: command was not completed
(res=0, entry=b32612a0, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8010
INTEN=0010) 
kernel: wifi0: interrupt delivery does not seem to work
kernel: wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110,
rid=fd0b, len=8) 
kernel: Could not get RID for component NIC 
kernel: hostap_cs: Initialization failed 
kernel: prism2_config() failed
kernel: hostap_cs: probe of 0.0 failed with error 1

The module loads but fails, and I end up with a wifi0 network interface
but no wlan0 interface.

Any hints as to how I might get this card loading automatically under
udev, and then working?

Thanks,
Clayton (see lspcmcia and lspci below)

# lspcmcia -vv
Socket 0 Bridge:        [pd6729]        (bus ID: 0000:00:13.0)
        Configuration:  state: on       ready: yes
                        Voltage: 3.3V Vcc: 3.3V Vpp: 0.0V
                        Available IRQs: 3, 5, 9, 10, 11
                        Available ioports:      0x00000100 - 0x0000021f
                                                0x00000230 - 0x0000032f
                                                0x00000338 - 0x00000387
                                                0x00000390 - 0x000004ff
                                                0x00000800 - 0x000008ff
                                                0x00000a00 - 0x00000aff
                                                0x00000c00 - 0x00000cf7
                        Available iomem:        0x000c0000 - 0x000fffff
                                                0xa0100000 - 0xa0ffffff
Socket 0 Device 0:      [-- no driver --]       (bus ID: 0.0)
        Configuration:  state: on
        Product Name:   INTERSIL HFA384x/IEEE Version 01.02
        Identification: manf_id: 0x0156 card_id: 0x0002
                        function: 6 (network)
                        prod_id(1): "INTERSIL" (0x74c5e40d)
                        prod_id(2): "HFA384x/IEEE" (0xdb472a18)
                        prod_id(3): "Version 01.02" (0x4b74baa0)
                        prod_id(4): --- (---)

# lspci -vv
00:00.0 Host bridge: Intel Corporation 430MX - 82437MX Mob. System
Ctrlr (MTSC) & 82438MX Data Path (MTDP) (rev 02) 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: 32

00:01.0 Bridge: Intel Corporation 430MX - 82371MX Mobile PCI I/O IDE
Xcelerator (MPIIX) (rev 03) 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: 0

00:03.0 VGA compatible controller: Trident Microsystems TGUI
9660/938x/968x (rev d3) (prog-if 00 [VGA]) 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- Interrupt: pin A routed to IRQ
>0 Region 0: Memory at 08000000 (32-bit, non-prefetchable) [size=4M]
        Region 1: Memory at 08400000 (32-bit, non-prefetchable)
[size=64K] Region 2: Memory at 08800000 (32-bit, non-prefetchable)
[size=4M] Expansion ROM at 10000000 [disabled] [size=64K]

00:13.0 PCMCIA bridge: Cirrus Logic CL 6729 (rev e2)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr+ Stepping+ SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B-
ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt:
pin A routed to IRQ 0 Region 0: I/O ports at 03e0 [size=4]

# uname -r
2.6.17-2-486




More information about the HostAP mailing list