You are not logged in.

#1 2012-03-14 21:16:20

paulm661
Member
Registered: 2012-03-14
Posts: 2

Wireless randomly stops working

Hi,
I have an asus eeepc with a Atheros Communications Inc. AR9285 Wireless Network Adapter. It seems to randomly disconnect me from networks after a while of working fine. My dmesg output is as follows:

[ 6007.830424] ath: Chip reset failed
[ 6007.830435] ath: Unable to reset channel, reset status -22
[ 6007.830472] ath: Unable to set channel
[ 6007.895787] ath: Failed to stop TX DMA, queues=0x10f!
[ 6007.908517] ath: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[ 6007.908528] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 6008.023381] ath: Chip reset failed
[ 6008.023391] ath: Unable to reset channel, reset status -22
[ 6008.023466] ath: Unable to set channel
[ 6008.089206] ath: Failed to stop TX DMA, queues=0x10f!
[ 6008.102214] ath: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[ 6008.102229] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
[ 6008.219092] ath: Chip reset failed
[ 6008.219104] ath: Unable to reset channel (2412 MHz), reset status -22
[ 6009.016109] ath: Failed to wakeup in 500us
[ 6014.016121] ath: Failed to wakeup in 500us

I have tried modprobe -rf ath9k then modprobe ath9k and it doesnt fix the wireless. I have also tried restarting the network daemons with no effect. Only a reboot seems to get the wireless to work again. Any help would be appreciated

Last edited by paulm661 (2012-03-14 21:18:12)

Offline

#2 2012-03-14 21:43:32

Gusar
Member
Registered: 2009-08-25
Posts: 3,564

Re: Wireless randomly stops working

There were lots of fixes to ath9k recently. So I suggest you try compat-wireless or the latest kernel, which currently is 3.3-rc7

Offline

#3 2012-03-17 17:03:27

paulm661
Member
Registered: 2012-03-14
Posts: 2

Re: Wireless randomly stops working

Hi,

I installed compat-wireless from AUR and it seems to have fixed the issue. Thanks for the help.

Offline

#4 2012-04-15 20:27:21

link68759
Member
Registered: 2012-04-15
Posts: 1

Re: Wireless randomly stops working

I'm having a similar issues, wireless-compat did not fix anything. I only noticed the issue after one of the two last 'linux' upgrades (they were released in quick succession); I was happily using this before; so I believe I have the latest released kernel (and that might even be the source of the issue).

Internet will randomly drop, and this is what happens when I attempt to fix it.

$ sudo netcfg dlink1
:: dlink1 up                                                                                                                                                                                                 [BUSY] Could not set interface wlan0 flags: Invalid argument
Could not set interface 'wlan0' UP
Could not set interface wlan0 flags: Invalid argument
Failed to initialize driver interface
> wpa_supplicant did not start, possible configuration error
                                                                                                                                                                                                             [FAIL]
[link@Saya ~]$ sudo ip link set wlan0 up
RTNETLINK answers: Invalid argument
[link@Saya ~]$ sudo ip link set wlan0 down
[link@Saya ~]$ sudo ip link set wlan0 up
RTNETLINK answers: Invalid argument

D: up is invalid?

Then this is dumped to everything.log repeatedly and as fast as my laptop can dump it I guess. Massive cpu tax until I just set wlan0 down.

Apr 10 12:20:23 localhost kernel: [  851.005865] ath: Chip reset failed
Apr 10 12:20:23 localhost kernel: [  851.005877] ath: Unable to reset channel, reset status -22
Apr 10 12:20:23 localhost kernel: [  851.005957] ath: Unable to set channel
Apr 10 12:20:23 localhost kernel: [  851.073889] ath: Failed to stop TX DMA, queues=0x10f!
Apr 10 12:20:23 localhost kernel: [  851.087122] ath: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
Apr 10 12:20:23 localhost kernel: [  851.087133] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Apr 10 12:20:23 localhost kernel: [  851.204983] ath: Chip reset failed

Only a reboot can fix.

Offline

#5 2012-09-14 19:46:58

R0adRunner
Member
Registered: 2012-09-14
Posts: 2

Re: Wireless randomly stops working

I am using a con-kolivas patched kernel and was having the same issue.
Solved by following the solution posted in this thread in the ubuntu forums: http://ubuntuforums.org/archive/index.p … 43638.html

Try a module parameter:

sudo modprobe -rf ath9k
sudo modprobe -v ath9k nohwcrypt=1
sudo service network-manager restart # or wicd or whatever
If it works, make it permanent:

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf

Due to the fact that it occurs with several kernels, etc. you may try to update your router firmware

Last edited by R0adRunner (2012-09-14 19:47:24)

Offline

Board footer

Powered by FluxBB