I constantly get a kernel oops with my TP-Link D510 wireless card (oops
attached). Otherwise my system (HP Omnibook 800CT, Kernel 2.6.16.1, Kernel
config and startup-dmesg attached) is perfectly stable. My Xircom network
card (it is 16bit pcmcia, maybe this counts?) works perfectly as well.
When I just insert the wireless card, it says in the kernel log:
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1486)
ath_rate_sample: 1.2 (svn 1486)
ath_pci: 0.9.4.5 (svn 1486)
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps s
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.8 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x12000000, irq=9
The system remains durably stable at this step. But after invoking "ifconfig
ath0 up" it panics either immediately or after a few seconds (once after 2
minutes or so). Sometimes there is enough time to run a "iwlist ath0 scan" -
it shows all APs in range. Once I also managed to associate for a few
seconds before the freeze... You can find the oops attached to this email. I
think its something about IRQs (btw: there are no IRQ conflicts, I checked
this point, of course...). It makes no difference if I include the "spinlock
patch" (ticket #472) or not. Here is the oops:
Unable to handle kernel paging request at virtual address 2b400014
printing eip:
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: serial_cs xirc2ps_cs pcmcia crc32 wlan_scan_sta ath_pci
athe
CPU: 0
EIP: 0060:[<c592447c>] Tainted: P VLI
EFLAGS: 00010202 (2.6.16.1 #1)
EIP is at zz005b88fd+0x20/0x130 [ath_hal]
eax: 2b400000 ebx: c4ee10f0 ecx: 0000000f edx: c4ee10f0
esi: c14ab720 edi: c4e08000 ebp: c4492260 esp: c02d9eec
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c02d8000 task=c029cb00)
Stack: <0>c47888f0 c14ab720 c4ee10f0 c59609e1 c4e08000 c4ee10f0 04ee10f0 2b400
08fa4a04 00000000 00000282 08fa4a04 00000000 00000282 c44937ec c4e08000
c4e08000 00000000 c4492260 00000000 c4e08000 c5961008 c4492260 c02d9f64
Call Trace:
[<c59609e1>] ath_uapsd_processtriggers+0xb1/0x4c0 [ath_pci]
[<c5961008>] ath_intr+0x218/0x300 [ath_pci]
[<c012aef8>] handle_IRQ_event+0x28/0x70
[<c012af97>] __do_IRQ+0x57/0xa0
[<c010415a>] do_IRQ+0x1a/0x30
[<c0102aca>] common_interrupt+0x1a/0x20
[<c0100ba3>] default_idle+0x33/0x60
[<c010987b>] apm_cpu_idle+0x8b/0x150
[<c0100c3c>] cpu_idle+0x4c/0x60
[<c02da6b6>] start_kernel+0x146/0x160
Code: 10 00 00 00 00 b8 01 00 00 00 c3 57 56 53 8b 7c 24 10 8b 5c 24 14 89 da
<0>Kernel panic - not syncing: Fatal exception in interrupt
I am struggling with this error since weeks, tried several revisions of
madwifi and madwifi-ng and all thinkable combinations of kernel parameteres
regarding the PCMCIA socket, PCI, PNP and APM stuff...