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 09:53:03 EDT 2006


On Fri, 20 Oct 2006 13:28:30 +0300 (EEST)
"Jar" <jar at pcuf.fi> wrote:

> > # 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
> 
> 
> Try irq_mode=0 module parameter for pd6729 module. Maybe it helps.
> 
> irq_mode=n
>   Specifies the interrupt delivery mode.  The default (1) is to use
> PCI interrupts; a value of 0 selects ISA interrupts. This must be set
> for correct operation of PCI card readers.
> 
> -- 
> Best Regards, Jar

Thanks Jar,

I put

PCMCIA=yes
PCIC=pd6729
PCIC_OPTS="irq_mode=0"

into /etc/default/pcmciautils, and this did seem to get rid of "setup_irq: irq handler mismatch" in the syslog right after pd6729 detection, but card/hostap_cs behavior is unchanged after this. The card does not load automatically, and after "modprobe hostap_cs" I believe I get exactly the same errors as before:

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 224 ms
kernel: wifi0: hfa384x_cmd: entry still in list? (entry=b2ff61e0, type=0, res=0)
kernel: wifi0: hfa384x_cmd: command was not completed (res=0, entry=b2ff61e0, 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

Clayton




More information about the HostAP mailing list