← Back to team overview

mactel-support team mailing list archive

[Bug 289356] Re: ath9k causes system lockup

 

This is a Toshiba Qosmio G55-Q802.

uname -a:
Linux Paradox924X 2.6.28-12-generic #43-Ubuntu SMP Fri May 1 19:31:32 UTC 2009 x86_64 GNU/Linux

lspci -vv:
--snip--
02:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Askey Computer Corp. Device 7141
	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: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at ff9f0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency L0 <512ns, L1 <64us
			ClockPM- Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
		Vector table: BAR=0 offset=00000000
		PBA: BAR=0 offset=00000000
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [140] Virtual Channel <?>
	Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
	Kernel driver in use: ath9k
	Kernel modules: ath9k
--snip--

syslog (This happens once per minute):
--snip--
May 10 07:58:54 Paradox924X kernel: [60086.494473] ath_set_channel: unable to reset channel 1 (2412Mhz) flags 0x300e2 hal status 4294967291
May 10 07:58:54 Paradox924X kernel: [60086.494574] ath9k_config: Unable to set channel
May 10 07:58:54 Paradox924X kernel: [60086.918644] ath_set_channel: unable to reset channel 2 (2417Mhz) flags 0x300e2 hal status 4294967291
May 10 07:58:54 Paradox924X kernel: [60086.918782] ath9k_config: Unable to set channel
May 10 07:58:55 Paradox924X kernel: [60087.340636] ath_set_channel: unable to reset channel 3 (2422Mhz) flags 0x300e2 hal status 4294967291
May 10 07:58:55 Paradox924X kernel: [60087.340801] ath9k_config: Unable to set channel
May 10 07:58:55 Paradox924X kernel: [60087.755014] ath_set_channel: unable to reset channel 4 (2427Mhz) flags 0x300e2 hal status 4294967291
May 10 07:58:55 Paradox924X kernel: [60087.755183] ath9k_config: Unable to set channel
May 10 07:58:55 Paradox924X kernel: [60088.050646] ath_set_channel: unable to reset channel 5 (2432Mhz) flags 0x700e2 hal status 4294967291
May 10 07:58:55 Paradox924X kernel: [60088.050770] ath9k_config: Unable to set channel
May 10 07:58:56 Paradox924X kernel: [60088.466621] ath_set_channel: unable to reset channel 6 (2437Mhz) flags 0x700e2 hal status 4294967291
May 10 07:58:56 Paradox924X kernel: [60088.466802] ath9k_config: Unable to set channel
May 10 07:58:56 Paradox924X kernel: [60088.888194] ath_set_channel: unable to reset channel 7 (2442Mhz) flags 0x700e2 hal status 4294967291
May 10 07:58:56 Paradox924X kernel: [60088.888379] ath9k_config: Unable to set channel
May 10 07:58:56 Paradox924X kernel: [60089.183365] ath_set_channel: unable to reset channel 8 (2447Mhz) flags 0x500e2 hal status 4294967291
May 10 07:58:56 Paradox924X kernel: [60089.183493] ath9k_config: Unable to set channel
May 10 07:58:57 Paradox924X kernel: [60089.596694] ath_set_channel: unable to reset channel 9 (2452Mhz) flags 0x500e2 hal status 4294967291
May 10 07:58:57 Paradox924X kernel: [60089.596939] ath9k_config: Unable to set channel
May 10 07:58:57 Paradox924X kernel: [60090.016734] ath_set_channel: unable to reset channel 10 (2457Mhz) flags 0x500e2 hal status 4294967291
May 10 07:58:57 Paradox924X kernel: [60090.017161] ath9k_config: Unable to set channel
May 10 07:58:58 Paradox924X kernel: [60090.430486] ath_set_channel: unable to reset channel 11 (2462Mhz) flags 0x500e2 hal status 4294967291
May 10 07:58:58 Paradox924X kernel: [60090.430552] ath9k_config: Unable to set channel
May 10 07:58:58 Paradox924X vmnetBridge: RTM_NEWLINK: name:wlan0 index:4 flags:0x00001003 
May 10 07:58:58 Paradox924X vmnetBridge: Can't remove interface wlan0 4 (does not exist). 
May 10 07:58:58 Paradox924X kernel: [60090.719448] ath_set_channel: unable to reset channel 6 (2437Mhz) flags 0x700e2 hal status 4294967291
May 10 07:58:58 Paradox924X kernel: [60090.719501] ath9k_config: Unable to set channel
--snip--

-- 
ath9k causes system lockup
https://bugs.launchpad.net/bugs/289356
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in Mactel Support: Fix Released
Status in “linux” source package in Ubuntu: Fix Released

Bug description:
I've had repeated trouble with ath9k causing my system to lock up.  It's a macbook, late 2006 model, running 8.10.

lspci -v shows the following info:

02:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at 90100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [140] Virtual Channel <?>
        Kernel driver in use: ath9k
        Kernel modules: ath9k

Kernel:
Linux uviol 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 x86_64 GNU/Linux


Symptoms are the wireless network fails to respond and I am unable to reconnect.  I get repeated popups asking for WPA2 password, and lots of messages like this in the log:

[72782.981155] ath9k_config: Unable to set channel
[72783.337281] ath_set_channel: unable to reset channel 60 (5300Mhz) flags 0x103
42 hal status 4294967277
[72783.337369] ath9k_config: Unable to set channel
[72783.693048] ath_set_channel: unable to reset channel 64 (5320Mhz) flags 0x103
42 hal status 4294967277
[72783.693164] ath9k_config: Unable to set channel
[72784.049049] ath_set_channel: unable to reset channel 149 (5745Mhz) flags 0x30
142 hal status 4294967277
[72784.049173] ath9k_config: Unable to set channel
[72784.336993] ath_set_channel: unable to reset channel 153 (5765Mhz) flags 0x50
142 hal status 4294967277


First time this happens, I can clear the problem by unloading and reloading the ath9k module.  It will occur again shortly afterward.  Second or third time around the ath9k module will unload and reload fine, but following this any process that tries accessing the device will hang (NetworkManager, 'ifconfig', etc.) and the system becomes more and more unresponsive until I have to power off.

This bug is a showstopper for me and rebooting twice daily has shot my workflow to bits, so I'm happy to help debug this in any way I can.



Follow ups