Wireless -very- frequent disconnects in LinuxMint13 - Atheros AR9462

Bug #1040943 reported by mighalis on 2012-08-24
82
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Linux Mint
Undecided
me_sudeep
Debian
New
Unknown
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Wireless Connection disconnects very frequently, almost about every 15 minutes.
In some cases (more often) the network manager indicate tha i am connected, in other cases clearly disconnects and occasionaly cannot connect (like i have disabled the wireless) an i restart the hardware (wireless card button) to start again.

My system is Aspire One 765 with Linux Mint 13 kde.
My wireless card is Atheros AR9462.

- Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)
-iwconfig:
wlan0 IEEE 802.11abgn ESSID:"**********"
          Mode:Managed Frequency:2.437 GHz Access Point: *************
          Bit Rate=54 Mb/s Tx-Power=19 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Power Management:on
          Link Quality=57/70 Signal level=-53 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:20152 Invalid misc:4984 Missed beacon:0

-inxi -N:
Atheros AR9462 Wireless Network Adapter driver: ath9k

I've tried as been sugested by some forum threads to run the nohwcrypt option:
sudo modprobe -v ath9k nohwcrypt=1
and to make a file in /etc/modprobe.d/ath9k.conf with "options ath9k nohwcrypt"
but... nothing.

mighalis (mighalis) wrote :

I have updated the linux-firmware to version 1.90 because i saw this update:
ar3k: add patch and sysconfig for Qualcomm Atheros AR9462
(https://launchpad.net/ubuntu/+source/linux-firmware/1.85)

I was happy for about 1 hour, after that disconnections started again (it is joking me right ;))
Please it is very annoying.

P.S.1 I think the Atheros AR9462 also has bluetooth support, guess what my system tells me no adapter was found (and i have tried the btcoex_enable option)

P.S.2. The modinfo ath9k:

filename: /lib/modules/3.2.0-29-generic/updates/cw-3.3/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 21EAA32311830AA82C5169B
alias: platform:ar934x_wmac
alias: platform:ar933x_wmac
alias: platform:ath9k
alias: pci:v0000168Cd00000034sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000033sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: ath9k_hw,ath9k_common,mac80211,cfg80211,ath
vermagic: 3.2.0-29-generic SMP mod_unload modversions
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)

Alex (alstef) wrote :

I have the same card and I'm running Kubuntu 12.04. This article helped http://www.unixmen.com/resolve-slow-connexion-when-using-wifi-in-ubuntu-1104-natty-narwhal/

I used the first fix in the post linked by Alexandru and I must say it clearly improved my connection stability. I'm going to paste it here for quicker reference :

Open terminal and enter the following command:

sudo -s gksu gedit /etc/modprobe.d/ath9k.conf

at the end of the file add this:

options ath9k nohwcrypt=1

Save an restart your OS.

If you still have the issue, then try the other instructions in the blog, but in my case I doubt they were at cause. First other fix is to disable n wifi, which I don't use, and the last one is to disable IPv6.

bowman (tereshkosg) wrote :

same problem on 64bit Ubuntu 12.10 on Acer V3 571G

Jan 20 12:01:50 future kernel: [ 204.739936] cfg80211: All devices are disconnected, going to restore regulatory settings
Jan 20 12:01:50 future kernel: [ 204.739944] cfg80211: Restoring regulatory settings
Jan 20 12:01:50 future kernel: [ 204.739950] cfg80211: Calling CRDA to update world regulatory domain
Jan 20 12:01:50 future kernel: [ 204.744523] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
Jan 20 12:01:50 future kernel: [ 204.747619] cfg80211: World regulatory domain updated:
Jan 20 12:01:50 future kernel: [ 204.747624] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 20 12:01:50 future kernel: [ 204.747628] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
......

Adapter

03:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)

Tried "nohwcrypt=1" solution .. with no effect.

Changed in debian:
status: Unknown → New
Alan Jenkins (aj504) wrote :

Has also been reported in debian bugzilla.

Has also been reported for Ubuntu 12.04 on ubuntu forums
http://ubuntuforums.org/showthread.php?t=2027947&p=12506198#post12506198

(but then there seem to be a couple of other people it works for, so who knows :(.

I have the same sort of problem with this laptop on Ubuntu 13.04 and Lubuntu 12.10 (i386). nohwcrypt=1 doesn't seem to help. So I'm probably going to buy a better supported wireless card, like the Intel one mentioned in the forum thread.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
D C Manison (malwodyn) wrote :

I've been experiencing similar problems, and like Alan Jenkins am running Ubuntu 13.04 having upgraded two days ago from 12.10. It is possibly connected with a rather weak signal on the wireless router - and strong signals from other (public) routers in the area

John Doe (gehkacken02) wrote :

Same problem with Mint 14 and Mint 15 on Acer Aspire V3-571G.

rikonen (rikonen) wrote :

I'm having same problem with Acer Aspire V3-571 and Linux Mint 13 Maya. I also saw that restarting from the sleep causes dificulties to reconnect the network, in that case rebooting is best way to get ride of the problem :(
Here system info:
uname -a
Linux aspire 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
lspci | grep Network
03:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)

Henry (qpa-henry) wrote :

Exact same issue with multiple WAPs in multiple locations.

Dell XPS13 (sputnik)
Ubuntu 12.04

I see this within the syslog when the issue occurs

Jul 8 16:54:30 mymachine NetworkManager[1088]: <info> (wlan0): roamed from BSSID AA:BB:CC:DD:EE:FF (MySSID) to (none) ((none))

azovl (azovl) wrote :

Same issues, Acer Aspire V5-551G. When setting up the brightness (the button Fn), the computer starts to slow down. WiFi approximately every 2 minutes disappears, we have to do physical reconnect the cable, and is endless.

Douglas Humphris (douglas-u) wrote :
Download full text (8.3 KiB)

Same issues with Dell XPS13, Ubuntu 13.04

Wireless drops very frequently and can only be re-established with reboot. I see this in my syslog:

Jul 19 09:34:52 L322X kernel: [ 188.499846] iwlwifi 0000:01:00.0: fail to flush all tx fifo queues
Jul 19 09:34:54 L322X kernel: [ 190.500268] iwlwifi 0000:01:00.0: Error sending REPLY_ADD_STA: time out after 2000ms.
Jul 19 09:34:54 L322X kernel: [ 190.500282] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 44
Jul 19 09:34:54 L322X kernel: [ 190.500293] wlan0: failed to remove key (0, c4:3d:c7:44:2c:9c) from hardware (-110)
Jul 19 09:34:56 L322X kernel: [ 192.496891] iwlwifi 0000:01:00.0: Error sending REPLY_QOS_PARAM: time out after 2000ms.
Jul 19 09:34:56 L322X kernel: [ 192.496906] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 45
Jul 19 09:34:56 L322X kernel: [ 192.496913] iwlwifi 0000:01:00.0: Failed to update QoS
Jul 19 09:34:58 L322X wpa_supplicant[1506]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c4:3d:c7:44:2c:9c reason=4
Jul 19 09:34:58 L322X kernel: [ 194.493076] iwlwifi 0000:01:00.0: Error sending REPLY_RXON: time out after 2000ms.
Jul 19 09:34:58 L322X kernel: [ 194.493089] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 46
Jul 19 09:34:58 L322X kernel: [ 194.493096] iwlwifi 0000:01:00.0: Error clearing ASSOC_MSK on BSS (-110)
Jul 19 09:35:00 L322X kernel: [ 196.493551] iwlwifi 0000:01:00.0: Error sending REPLY_ADD_STA: time out after 2000ms.
Jul 19 09:35:00 L322X kernel: [ 196.493566] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 47
Jul 19 09:35:00 L322X kernel: [ 196.493577] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-110)
Jul 19 09:35:00 L322X kernel: [ 196.493881] cfg80211: Calling CRDA to update world regulatory domain
Jul 19 09:35:02 L322X kernel: [ 198.489946] iwlwifi 0000:01:00.0: Error sending REPLY_RXON: time out after 2000ms.
Jul 19 09:35:02 L322X kernel: [ 198.489960] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 48
Jul 19 09:35:02 L322X kernel: [ 198.489968] iwlwifi 0000:01:00.0: Error clearing ASSOC_MSK on BSS (-110)
Jul 19 09:35:04 L322X kernel: [ 200.494382] iwlwifi 0000:01:00.0: fail to flush all tx fifo queues
Jul 19 09:35:06 L322X kernel: [ 202.490782] iwlwifi 0000:01:00.0: Error sending POWER_TABLE_CMD: time out after 2000ms.
Jul 19 09:35:06 L322X kernel: [ 202.490797] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 49
Jul 19 09:35:06 L322X kernel: [ 202.490807] iwlwifi 0000:01:00.0: set power fail, ret = -110
Jul 19 09:35:08 L322X kernel: [ 204.487216] iwlwifi 0000:01:00.0: Error sending REPLY_RXON: time out after 2000ms.
Jul 19 09:35:08 L322X kernel: [ 204.487230] iwlwifi 0000:01:00.0: Current CMD queue read_ptr 43 write_ptr 50
Jul 19 09:35:08 L322X kernel: [ 204.487238] iwlwifi 0000:01:00.0: Error clearing ASSOC_MSK on BSS (-110)
Jul 19 09:35:10 L322X wpa_supplicant[1506]: wlan0: Failed to initiate AP scan
Jul 19 09:35:10 L322X NetworkManager[1016]: <info> (wlan0): roamed from BSSID C4:3D:C7:44:2C:9C (MySSID) to (none) ((none))
Jul 19 09:35:10 L322X NetworkManager[1016]: <info> (wlan0): supplicant interface state: completed -> disconnecte...

Read more...

Changed in linux (Ubuntu):
status: Confirmed → Invalid
GreyGeek (greygeek77) wrote :

I have been running Kubuntu 12.04 since its release and this problem has plauged my installation on my Acer Aspire V3-771G laptop. It does not appear to be load related.
I am running the 3.8.0-27-generic kernel. I have tried the 3.2 and 3.5 kernels.
The problem affects my wireless chip, AR9462, AND it also affects my ethernet chip, AR8151.
The disconnect/reconnect is random. Sometimes the reconnect is almost instantly, sometimes almost a minute can go by.
I have tried WICD but the problem persisted, so I went back to the plasma-network-manager.
I have played with settings of the ath9k PARMS vars. No joy.
The atl1c module has no PARMS to set.
The Win7 side runs both wireless and cable just fine.

Oh, if I use suspend then the network-manager doesn't re-enable. I have to change the "managed=false" to "managed=true" in the ifupdown section of /etc/NetworkManager/NetworkMagager.conf to re-enable the plasma-network-manager's ability to join and manage networks.

GreyGeek, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the official Ubuntu documentation:
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices
Ubuntu Community: https://wiki.ubuntu.com/ReportingBugs

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Nils Sabelstrom (nilssab) wrote :

Was this bug ever moved to a ubuntu bug as Christopher M suggested?
I have the same (or at least similar) problem on a Acer V5-171 with Atheros AR9462.
I didn't know what the best practice was so I made a new bug reported and made it a duplicate for the time being.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324353

Using 14.04 TT
workarounds that didn't work for me:
disable ipv6
add options to ath9k and reboot: nohwcrypt=1 blink=1 enable_diversity=1 btcoex_enable=1 (added one by one)

I read about changing power options to FULL, which I didn't manage to figure out how to do in 14.04
Problems were existent in Ubuntu 13.04 as well.

Nils Sabelstrom (nilssab) wrote :

Sorry, my mistake.
I can confirm that Atheros AR9462 in Acer V5-171 is working in Ubuntu 14.04

(it was a DHCP server issue)

Changed in linuxmint:
assignee: nobody → me_sudeep (sudeepshetty4all)
Changed in linuxmint:
status: New → Confirmed
Changed in linuxmint:
assignee: me_sudeep (sudeepshetty4all) → Rishabh Ksheerasagar (rishi-ksheerasagar)
Changed in linuxmint:
assignee: Rishabh Ksheerasagar (rishi-ksheerasagar) → me_sudeep (sudeepshetty4all)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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