Interrupt delivery problem

M. Grabert xam
Sun Sep 21 08:55:28 PDT 2003


Hi,

I have some recent problems with HostAP-CVS (it seems since the interrupt
delivery checking code has been introduced).
HostAP worked fine without any problems with earlier versions (at least I
can't recall any), but now after transferring loads of data (hundreds of
megs) or just if the machine is up for some days, it stops working with
the following error:

   03:13:19 beast kernel: Already released txfid found at idx 6
   03:13:20 beast kernel: hostap_pci: wlan0: resetting card
   03:13:22 beast kernel: wlan0: interrupt delivery does not seem to work
   03:13:24 beast kernel: wlan0: interrupt delivery does not seem to work
   03:13:24 beast kernel: wlan0: Port type setting to 6 failed
   03:13:24 beast kernel: wlan0: MAC port 0 enabling failed
   03:13:24 beast kernel: hostap_pci: wlan0: resetting card
   03:13:26 beast kernel: wlan0: interrupt delivery does not seem to work
   03:13:28 beast kernel: wlan0: interrupt delivery does not seem to work
   03:13:28 beast kernel: wlan0: Port type setting to 6 failed
   03:13:28 beast kernel: wlan0: MAC port 0 enabling failed


NB: I'm using a unusual configuration:

- HP 9000/785 C3000 (PA-RISC 64bit workstation)
- NetGear MA-311 (Prism2.5, PCI)
- Linux-2.4.22 (32bit kernel/userland, Debian/testing updated daily)
- HostAP-CVS (updated last thursday)
- I bridge between eth0 and wlan0 (shouldn't make any difference)


lspci -vvv:


02:01.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset
(rev 01)
        Subsystem: Netgear: Unknown device 4105
        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: 252, cache line size 10
        Interrupt: pin A routed to IRQ 161
        Region 0: Memory at f6001000 (32-bit, prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


/proc/interrupts:

161:    2812121      IO-SAPIC02  wlan0


Please note that this is not a 'real' interrupt, since the PA-RISC
architecture doesn't have physical IRQ line running to the processor.

PA-RISC is quite different to x86 when it comes to cache choherency,
IRQs, DMA, atomicity (look at http://ftp.parisc-linux.org/docs/ols2.pdf,
especially chapters 3.3 and 3.4).


Can anybody give me a hint how to fix this problem?


Unfortunately I'm not a PA-RISC or kernel hacker expert myself, but if you
need help regarding Linux on this architecture I'll try to help or forward
the question to parisc-linux at parisc-linux.org.


Thanks, Max




More information about the Hostap mailing list