ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024AR_DIAG_SW=0x40000020

From: Bernie Innocenti
Date: Thu Nov 12 2009 - 16:17:05 EST


I've recently replaced the built-in Intel 5300 AGN of my Lenovo X200s
with an Atheros AR5008 express card. The operation requires a hacked
BIOS with no hw whitelist check--Thanks for the DRM, Lenovo).

The ath9k driver works great, but occasionally the interface
disassociates spontaneously and won't get back to work until I manually
unload and reload the ath9k module. It's hard to reproduce, but seems to
happen more frequently with some access points.

I'm seeing it both in Ubuntu Karmic (linux-image_2.6.31.14.48) and
Fedora Rawhide (kernel-2.6.31.5-127).

Dmesg contains:

[46623.757586] wlan1: associated
[47222.920159] wlan1: no probe response from AP 00:14:a8:53:3c:80 - disassociating
[47223.063855] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
[47224.042616] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020

lspci -vv says:

03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Subsystem: Atheros Communications Inc. Device 0032
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f2500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k

Best regards,

--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar Labs - http://sugarlabs.org/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/