← Back to team overview

mactel-support team mailing list archive

[Bug 289356] Re: ath9k causes system lockup

 

After changing CONFIG_MAC80211_DEFAULT_PS_VALUE from 1 to 0 in config.mk
and recompiling compat-wireless and install/unload/load'ing, I get this
in syslog once a minute:

May 11 13:42:30 Paradox924X kernel: [ 2261.710024] phy1:mac80211_hwsim_config (freq=5825 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.710032] phy1:mac80211_hwsim_configure_filter
May 11 13:42:30 Paradox924X kernel: [ 2261.710113] phy0:mac80211_hwsim_config (freq=5825 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.710119] phy0:mac80211_hwsim_configure_filter
May 11 13:42:30 Paradox924X kernel: [ 2261.737061] phy1:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.737069] phy0:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.796055] phy0:mac80211_hwsim_config (freq=2417 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.796457] phy1:mac80211_hwsim_config (freq=2417 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.856097] phy0:mac80211_hwsim_config (freq=2422 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.856693] phy1:mac80211_hwsim_config (freq=2422 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.916040] phy0:mac80211_hwsim_config (freq=2427 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.916048] phy1:mac80211_hwsim_config (freq=2427 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.976041] phy0:mac80211_hwsim_config (freq=2432 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2261.976049] phy1:mac80211_hwsim_config (freq=2432 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.036058] phy0:mac80211_hwsim_config (freq=2437 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.036070] phy1:mac80211_hwsim_config (freq=2437 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.097205] phy0:mac80211_hwsim_config (freq=2442 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.104068] phy1:mac80211_hwsim_config (freq=2442 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.156064] phy0:mac80211_hwsim_config (freq=2447 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.160509] phy1:mac80211_hwsim_config (freq=2447 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.216063] phy0:mac80211_hwsim_config (freq=2452 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.220475] phy1:mac80211_hwsim_config (freq=2452 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.276042] phy0:mac80211_hwsim_config (freq=2457 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.280521] phy1:mac80211_hwsim_config (freq=2457 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.336085] phy0:mac80211_hwsim_config (freq=2462 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.340450] phy1:mac80211_hwsim_config (freq=2462 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.396054] phy0:mac80211_hwsim_config (freq=2467 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.400584] phy1:mac80211_hwsim_config (freq=2467 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.628058] phy0:mac80211_hwsim_config (freq=2472 radio_enabled=1 idle=0 ps=0)
May 11 13:42:30 Paradox924X kernel: [ 2262.632483] phy1:mac80211_hwsim_config (freq=2472 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2262.860041] phy0:mac80211_hwsim_config (freq=2484 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2262.864588] phy1:mac80211_hwsim_config (freq=2484 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.092059] phy0:mac80211_hwsim_config (freq=5180 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.096472] phy1:mac80211_hwsim_config (freq=5180 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.324054] phy0:mac80211_hwsim_config (freq=5200 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.332051] phy1:mac80211_hwsim_config (freq=5200 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.556064] phy0:mac80211_hwsim_config (freq=5220 radio_enabled=1 idle=0 ps=0)
May 11 13:42:31 Paradox924X kernel: [ 2263.564053] phy1:mac80211_hwsim_config (freq=5220 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2263.789353] phy0:mac80211_hwsim_config (freq=5240 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2263.797054] phy1:mac80211_hwsim_config (freq=5240 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.020072] phy0:mac80211_hwsim_config (freq=5745 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.028469] phy1:mac80211_hwsim_config (freq=5745 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.252070] phy0:mac80211_hwsim_config (freq=5765 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.261068] phy1:mac80211_hwsim_config (freq=5765 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.485060] phy0:mac80211_hwsim_config (freq=5785 radio_enabled=1 idle=0 ps=0)
May 11 13:42:32 Paradox924X kernel: [ 2264.493102] phy1:mac80211_hwsim_config (freq=5785 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2264.717053] phy0:mac80211_hwsim_config (freq=5805 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2264.725039] phy1:mac80211_hwsim_config (freq=5805 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2264.949063] phy0:mac80211_hwsim_config (freq=5825 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2264.957053] phy1:mac80211_hwsim_config (freq=5825 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X vmnetBridge: RTM_NEWLINK: name:wlan0 index:11 flags:0x00001003 
May 11 13:42:33 Paradox924X vmnetBridge: Can't remove interface wlan0 11 (does not exist). 
May 11 13:42:33 Paradox924X kernel: [ 2265.181059] phy0:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2265.181068] phy0:mac80211_hwsim_configure_filter
May 11 13:42:33 Paradox924X kernel: [ 2265.182545] phy0:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=1 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2265.189099] phy1:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=0 ps=0)
May 11 13:42:33 Paradox924X kernel: [ 2265.189108] phy1:mac80211_hwsim_configure_filter
May 11 13:42:33 Paradox924X kernel: [ 2265.190117] phy1:mac80211_hwsim_config (freq=2412 radio_enabled=1 idle=1 ps=0)

-- 
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