ath9k causes system lockup

Bug #289356 reported by Jacob Hart
74
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Mactel Support
Fix Released
Undecided
Unassigned
Nominated for Trunk by Øby
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

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.

Tags: ath9k
Revision history for this message
Anthony Batchelor (toeknee) wrote :

I have the same wireless chip set, also in a mac book pro.

The wireless connects for a while, then will kick me off. It won't reconnect and it stops other applications from launching properly, and stops me from authenticating when using sudo.

When it kicks me off, if I try to launch a new application, the window opens, but it has no content. I can't take a screenshot of it.

I also couldn't authenticate using sudo when I try to 'sudo rmmod ath9k'.

Shutting down does not happen properly either. Although the laptop shuts down, when I restart, I have to fsck the disks as they aren't unmounted properly.

Restarting doesn't help, a full shutdown (and remove the battery) seems to be the only way to get the wireless working again for me.

As it stands, I have to use a wired connection as I do not want to risk damaging the file system and having to re-install again.

My kern.log gets the following line repeated many times when this problem occurs.
Oct 26 14:18:05 Zodac kernel: [ 6493.762514] DMA: Out of SW-IOMMU space for 4224 bytes at device 0000:0b:00.0

lspci -v (pretty much the same as Jacob's)
0b:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
 Subsystem: Apple Computer Inc. Device 0087
 Flags: fast devsel, IRQ 16
 Memory at d7300000 (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 modules: ath9k

If there is any more information I can give you, please ask.

Revision history for this message
Stevo (steven-bengtson) wrote :

This happens for me as well, exactly the same. I had to put the ath9k driver in the modules blacklist in order to go a full day without a crash. As far as I can tell from the information on the web it looks like there is a problem with the 2.6.27 kernel and the ath9k driver that is causing a memory leak when in use.

Not sure if it is related but I can not connect to a Airport Express Wireless N device with WPA2 Personal security. Keeps giving me back a password prompt with a long series of numbers and letters in the password box :(

Revision history for this message
Sir_Spot_A_Lot (mailing54) wrote :

I just ran into the same on a MacBook.

[ 6178.460793] ath9k_config: Unable to set channel
[ 6178.746739] ath_set_channel: unable to reset channel 157 (5785Mhz) flags 0x30142 hal status 4294967277
[ 6178.746753] ath9k_config: Unable to set channel
[ 6179.028985] ath_set_channel: unable to reset channel 161 (5805Mhz) flags 0x50142 hal status 4294967277
[ 6179.028992] ath9k_config: Unable to set channel
[ 6179.316970] ath_set_channel: unable to reset channel 165 (5825Mhz) flags 0x10142 hal status 4294967277
[ 6179.316986] ath9k_config: Unable to set channel
[ 6179.602663] ath_set_channel: unable to reset channel 2 (2417Mhz) flags 0x300e2 hal status 4294967277
[ 6179.602672] ath9k_config: Unable to set channel
[ 6279.205097] ath_set_channel: unable to reset channel 1 (2412Mhz) flags 0x300e2 hal status 4294967277
[ 6279.205119] ath9k_config: Unable to set channel
[ 6279.490519] ath_set_channel: unable to reset channel 2 (2417Mhz) flags 0x300e2 hal status 4294967277
[ 6279.490533] ath9k_config: Unable to set channel
[ 6279.776513] ath_set_channel: unable to reset channel 3 (2422Mhz) flags 0x300e2 hal status 4294967277

rmmod/modprobe solved it for now.

I also noticed some weirdness with wireless and intrepid, I also have the feeling that a long psk will make it hard to connect at times.

Revision history for this message
diii (d-iii) wrote :

I have the same with my ASUS M51KR. After a few minutes I cannot start any program in Ubuntu. When I reboot I got a red screen, and Ubuntu starts with a file check. After a few reboots I got GRUB Error 17. The LiveCD has not any problems.

Revision history for this message
diii (d-iii) wrote :

Correction: This bug affects the LiveCD too.

Revision history for this message
Jacob Hart (jacob-hart+bugreport) wrote :

To follow up, I've had great success with wicd:

http://wicd.sourceforge.net/

I replaced NetworkManager with wicd around a week after reporting this bug and the problem has occurred only once since then. The wireless connection is also much more stable and doesn't drop out and reassociate as frequently (or at all, really) as when using NetworkManager. I recommend others try wicd as it has more-or-less solved the problem for me.

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

Hm, same here on MacbookPro3,1 with ath9k

$ uname -a
Linux silversurfer 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:35 UTC 2008 x86_64 GNU/Linux

I attached the syslog when the error appeared.

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

This was also on the LKML: http://lkml.org/lkml/2008/9/12/351

Changed in linux:
status: New → Confirmed
Revision history for this message
John Pugh (jpugh) wrote :
Revision history for this message
John Pugh (jpugh) wrote :

Their are two issues here. The original issue is a current bug, however the lockup is separate and fixed as noted below.

The other issues listed are SEPARATE and fixed in 2.6.27.11+ currently in intrepid-proposed.

The workaround is to sudo modprobe -r ath9k then sudo modprobe ath9k although there is a disconnect issue currently being worked through (several duplicate bugs).

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

Please upgrade to at least linux-image-2.6.27-11-generic.

Please see:

http://wireless.kernel.org/en/users/Drivers/ath9k#Mostcommonknownissues

and to get the latest ath9k driver:

http://wireless.kernel.org/en/users/Drivers/ath9k#Getthelatestath9kdriver

Revision history for this message
Rafał Podeszwa (poszwa) wrote :

I have a similar but a slightly different problem. I have a Macbook 2,1. Wifi works fine after a reboot (and no "unable to set channel" in dmesg so this problem is fixed) but it does not connect to an access point after suspend to RAM. Unloading and reloading ath9k cures the problem (so a simple workround can be put into the suspend scripts) but, as the original poster writes, after the second reload NetworkManager hangs and one cannot even do ifconfig without a lockup.

The problem is present with linux-image-2.6.27-11-generic and linux-image-2.6.27-12-generic

lspci -v shows

02:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
        Subsystem: Apple Computer Inc. Device 0087
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at 50100000 (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

uname -a

Linux macbook 2.6.27-12-generic #1 SMP Thu Feb 5 09:26:35 UTC 2009 i686 GNU/Linux

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

Suspend is not supported in mac80211 until 2.6.30 which you can only use right now through the wireless-testing git tree. To learn how to get that tree check out the wireless-testing git guide:

http://wireless.kernel.org/en/developers/Documentation/git-guide

If you don't want to compile that entire kernel you can try compat-wireless.

Anyway as for the details of this bug report -- it seems you are no longer getting a crash, please confirm to close this bug report.

Revision history for this message
Stefano Rivera (stefanor) wrote :

> Suspend is not supported in mac80211 until 2.6.30 which you can only use right now through the wireless-testing git tree. To learn how to get that tree check out the wireless-testing git guide:

Shouldn't lbm be updated for that?

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote : Re: [Bug 289356] Re: ath9k causes system lockup

On Sun, Mar 15, 2009 at 2:59 PM, Stefano Rivera <email address hidden> wrote:
>> Suspend is not supported in mac80211 until 2.6.30 which you can only
> use right now through the wireless-testing git tree. To learn how to get
> that tree check out the wireless-testing git guide:
>
> Shouldn't lbm be updated for that?

Sure you can try that as well.

  Luis

Revision history for this message
Stefano Rivera (stefanor) wrote :

This seems to be fixed in Jaunty. Anyone still experiencing it?

Revision history for this message
Anthony Batchelor (toeknee) wrote :

Not me.

Revision history for this message
Stefano Rivera (stefanor) wrote :

I'm marking this as released, as I no longer experience it

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in mactel-support:
status: New → Fix Released
Revision history for this message
Sami Pietila (sampie) wrote :
Download full text (3.3 KiB)

Hi,

I have a macbook. My wlan still stops working regularly even after an update to ubuntu jaunty.

uname -a:
Linux ariana 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

lspci:
02:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

dmesg:
[174971.540066] ath_set_channel: unable to reset channel 1 (2412Mhz) flags 0x300e2 hal status 4294967291
[174971.540082] ath9k_config: Unable to set channel
[175062.229526] ath_set_channel: unable to reset channel 2 (2417Mhz) flags 0x300e2 hal status 4294967291
[175062.229538] ath9k_config: Unable to set channel
[175062.635444] ath_set_channel: unable to reset channel 3 (2422Mhz) flags 0x300e2 hal status 4294967291
[175062.635461] ath9k_config: Unable to set channel
[175063.041478] ath_set_channel: unable to reset channel 4 (2427Mhz) flags 0x300e2 hal status 4294967291
[175063.041490] ath9k_config: Unable to set channel
[175063.325657] ath_set_channel: unable to reset channel 5 (2432Mhz) flags 0x700e2 hal status 4294967291
[175063.325667] ath9k_config: Unable to set channel
[175063.744770] ath_set_channel: unable to reset channel 6 (2437Mhz) flags 0x700e2 hal status 4294967291
[175063.744822] ath9k_config: Unable to set channel
[175064.153580] ath_set_channel: unable to reset channel 7 (2442Mhz) flags 0x700e2 hal status 4294967291
[175064.153633] ath9k_config: Unable to set channel
[175064.438578] ath_set_channel: unable to reset channel 8 (2447Mhz) flags 0x500e2 hal status 4294967291
[175064.438619] ath9k_config: Unable to set channel
[175064.846325] ath_set_channel: unable to reset channel 9 (2452Mhz) flags 0x500e2 hal status 4294967291
[175064.846375] ath9k_config: Unable to set channel
[175065.252051] ath_set_channel: unable to reset channel 10 (2457Mhz) flags 0x500e2 hal status 4294967291
[175065.252096] ath9k_config: Unable to set channel
[175065.660975] ath_set_channel: unable to reset channel 11 (2462Mhz) flags 0x500e2 hal status 4294967291
[175065.661040] ath9k_config: Unable to set channel
[175065.948576] ath_set_channel: unable to reset channel 36 (5180Mhz) flags 0x30142 hal status 4294967291
[175065.948652] ath9k_config: Unable to set channel
[175066.304710] ath_set_channel: unable to reset channel 40 (5200Mhz) flags 0x50142 hal status 4294967291
[175066.304721] ath9k_config: Unable to set channel
[175066.660872] ath_set_channel: unable to reset channel 44 (5220Mhz) flags 0x30142 hal status 4294967291
[175066.660923] ath9k_config: Unable to set channel
[175067.016012] ath_set_channel: unable to reset channel 48 (5240Mhz) flags 0x50142 hal status 4294967291
[175067.016027] ath9k_config: Unable to set channel
[175067.372951] ath_set_channel: unable to reset channel 149 (5745Mhz) flags 0x30142 hal status 4294967291
[175067.372997] ath9k_config: Unable to set channel
[175067.728415] ath_set_channel: unable to reset channel 153 (5765Mhz) flags 0x50142 hal status 4294967291
[175067.728425] ath9k_config: Unable to set channel
[175068.084404] ath_set_channel: unable to reset channel 157 (5785Mhz) flags 0x30142 hal status 4294967291
[175068.084457] ath9k_config: Unable to set channel
[175068.440795] ath_set_channel: unable to res...

Read more...

Revision history for this message
Nikunj Mehta (paradox924x) wrote :
Download full text (4.9 KiB)

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

Read more...

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :
Download full text (5.6 KiB)

On Mon, May 11, 2009 at 12:40 AM, Nikunj Mehta <email address hidden> wrote:
> 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 Parado...

Read more...

Revision history for this message
Nikunj Mehta (paradox924x) wrote :
Download full text (6.7 KiB)

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

Read more...

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :
Download full text (7.0 KiB)

On Mon, May 11, 2009 at 10:45 AM, Nikunj Mehta <email address hidden> wrote:
> 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...

Read more...

Revision history for this message
Nikunj Mehta (paradox924x) wrote :

Sorry about that, I accidentally loaded all the modules instead of just ath9k.
I fixed it that same day and I have yet to run into the same issue since then.

Thanks for the help.

Revision history for this message
TobiasTheCommie (lp453452) wrote :

This still happens to me, multiple times a day.

If there is anything i can do to help debug this, just tell me what to do, I am rather compliant.

I just verified that i have the latest of everything about 2 minutes before i am posting this.

Revision history for this message
TobiasTheCommie (lp453452) wrote :

It no longer happens to me in koala alpha

Revision history for this message
drivinghome (drivinghome) wrote :

same problem running lucid up to date (2.6.32-12-generic x86_64). i have to manually remove ath9k and add it again. it works then for a couple of hours.

[ 7931.430417] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7931.430422] ath9k: Unable to reset channel (5640 Mhz) reset status -5
[ 7931.430429] ath9k: Unable to set channel
[ 7931.556353] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7931.556358] ath9k: Unable to reset channel (5660 Mhz) reset status -5
[ 7931.556372] ath9k: Unable to set channel
[ 7931.682748] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7931.682753] ath9k: Unable to reset channel (5680 Mhz) reset status -5
[ 7931.682768] ath9k: Unable to set channel
[ 7931.808780] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7931.808785] ath9k: Unable to reset channel (5700 Mhz) reset status -5
[ 7931.808810] ath9k: Unable to set channel
[ 7931.934745] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7931.934750] ath9k: Unable to reset channel (5745 Mhz) reset status -5
[ 7931.934756] ath9k: Unable to set channel
[ 7932.060747] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7932.060752] ath9k: Unable to reset channel (5765 Mhz) reset status -5
[ 7932.060770] ath9k: Unable to set channel
[ 7932.186753] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7932.186759] ath9k: Unable to reset channel (5785 Mhz) reset status -5
[ 7932.186767] ath9k: Unable to set channel
[ 7932.312773] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7932.312778] ath9k: Unable to reset channel (5805 Mhz) reset status -5
[ 7932.312794] ath9k: Unable to set channel
[ 7932.438691] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7932.438695] ath9k: Unable to reset channel (5825 Mhz) reset status -5
[ 7932.438702] ath9k: Unable to set channel
[ 7932.564372] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
[ 7932.564378] ath9k: Unable to reset channel (2437 Mhz) reset status -5

Revision history for this message
whwi (whitewindow) wrote :

hello can confirm this on lucid

should we open an new bug report ?

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

What hardware ? I'm looking for lines like this one on the dmesg log:

phy8: Atheros AR9300 Rev:2 mem=0xffffc900193c0000, irq=17

  Luis

Revision history for this message
whwi (whitewindow) wrote :

[ 24.234236] phy0: Atheros AR5418 MAC/BB Rev:2 AR5133 RF Rev:81 mem=0xffffc90004700000, irq=17

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

On Tue, May 25, 2010 at 5:32 AM, whwi <email address hidden> wrote:
> [   24.234236] phy0: Atheros AR5418 MAC/BB Rev:2 AR5133 RF Rev:81
> mem=0xffffc90004700000, irq=17

Please do this:

sudo rm -rf /lib/modules/$(uname -r)/updates/
sudo depmod -a

Then try out the compat-wireless-2.6.34 tarball:

http://wireless.kernel.org/en/users/Download/stable

  Luis

Revision history for this message
Simon Déziel (sdeziel) wrote :
Download full text (3.4 KiB)

I can confirm this on Lucid. Here is a extract of /var/log/kern.log

May 24 09:38:59 simon kernel: [24955.346856] ath9k: Two wiphys trying to scan at the same time
May 24 09:38:59 simon kernel: [24955.346904] wlan0: deauthenticating from 00:18:39:c1:67:60 by local choice (reason=3)
May 24 09:38:59 simon kernel: [24955.533873] wlan0: direct probe to AP 00:18:39:c1:67:60 (try 1)
May 24 09:38:59 simon kernel: [24955.536753] wlan0: direct probe responded
May 24 09:38:59 simon kernel: [24955.536761] wlan0: authenticate with AP 00:18:39:c1:67:60 (try 1)
May 24 09:38:59 simon kernel: [24955.541878] wlan0: authenticated
May 24 09:38:59 simon kernel: [24955.541918] wlan0: associate with AP 00:18:39:c1:67:60 (try 1)
May 24 09:38:59 simon kernel: [24955.545020] wlan0: RX AssocResp from 00:18:39:c1:67:60 (capab=0x411 status=0 aid=1)
May 24 09:38:59 simon kernel: [24955.545026] wlan0: associated
May 24 09:38:59 simon kernel: [24955.546084] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 24 09:39:10 simon kernel: [24966.000101] wlan0: no IPv6 routers present
May 24 09:51:59 simon kernel: [25734.526053] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:51:59 simon kernel: [25734.526065] ath9k: Unable to reset channel (5280 Mhz) reset status -5
May 24 09:51:59 simon kernel: [25734.526077] ath9k: Unable to set channel
May 24 09:51:59 simon kernel: [25734.650785] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:51:59 simon kernel: [25734.650789] ath9k: Unable to reset channel (2422 Mhz) reset status -5
May 24 09:51:59 simon kernel: [25734.650829] ath9k: Unable to set channel
May 24 09:52:00 simon kernel: [25735.083274] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:52:00 simon kernel: [25735.083285] ath9k: Unable to reset channel (5300 Mhz) reset status -5
May 24 09:52:00 simon kernel: [25735.083301] ath9k: Unable to set channel
May 24 09:52:00 simon kernel: [25735.207968] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:52:00 simon kernel: [25735.207973] ath9k: Unable to reset channel (2422 Mhz) reset status -5
May 24 09:52:00 simon kernel: [25735.207978] ath9k: Unable to set channel
May 24 09:52:00 simon kernel: [25735.630661] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:52:00 simon kernel: [25735.630673] ath9k: Unable to reset channel (5320 Mhz) reset status -5
May 24 09:52:00 simon kernel: [25735.630727] ath9k: Unable to set channel
May 24 09:52:00 simon kernel: [25735.755290] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:52:00 simon kernel: [25735.755294] ath9k: Unable to reset channel (2422 Mhz) reset status -5
May 24 09:52:00 simon kernel: [25735.755299] ath9k: Unable to set channel
May 24 09:52:02 simon kernel: [25736.930112] ath9k: timeout (100000 us) on reg 0x9860: 0x00049d19 & 0x00000001 != 0x00000000
May 24 09:52:02 simon kernel: [25736.930124] ath9k: Unable to reset hardware; reset status -5
May 24 09:52:02 simon kernel: [25737.238410] ath9k: Failed to stop TX DMA in 100 msec after killing l...

Read more...

Revision history for this message
Simon Déziel (sdeziel) wrote :

I forgot to mention that I have this issue on a MBP 2,2

$ sudo dmidecode -s system-product-name
MacBookPro2,2

Revision history for this message
Øby (stian-oby) wrote :

I have the same/a similar problem for quite a while on my eee1005HA. The problems startet after upgrading to 10.04 LTS.

Relevant dmesg:
**********************
[ 408.526742] ath9k: Chip reset failed
[ 408.526747] ath9k: Unable to reset channel (2447 Mhz) reset status -22
[ 408.527319] ath9k: Unable to set channel
[ 408.535568] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.543900] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.552142] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.560394] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.568604] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.576811] ath9k: Failed to stop TX DMA in 100 msec after killing last frame
[ 408.576824] ath9k: Unable to stop TxDMA. Reset HAL!
[ 408.693973] ath9k: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000
[ 408.693986] ath9k: Chip reset failed
[ 408.693991] ath9k: Unable to reset hardware; reset status -22

uname-a:
*************
Linux oby-eee 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux

lsb_release -rd
********************
Description: Ubuntu 10.04 LTS
Release: 10.04

Changed in linux (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.