You are not logged in.

#26 2013-05-16 15:34:26

gilmoreja
Member
From: Florida
Registered: 2012-05-28
Posts: 74

Re: [SOLVED] ath9k Weak And Unstable Connection

hongster wrote:
elkoraco wrote:

This seems like the standard ath9k problem. Try this as root:

modprobe -r ath9k
modprobe ath9k nohwcrypt=1

If you get good results, you can make it permanent in /etc/modprobe.d/ath9k.conf with the contents:

options ath9k nohwcrypt=1

I have tried that but it does not work. I am still experiencing weak signal strength, and random dropping of connection. Right now my workaround is downgrading kernel to 3.7.3-1.

Instead of that, try this:

options ath9k noht=1

Time you enjoy wasting isn't wasted time.

Offline

#27 2013-05-17 07:02:53

leomao
Member
Registered: 2013-04-27
Posts: 18

Re: [SOLVED] ath9k Weak And Unstable Connection

gilmoreja wrote:

Instead of that, try this:

options ath9k noht=1

I tried to put it in /etc/modprobe.d/ath9k.conf, but dmesg said that there was not option named 'noht'

ath9k: Unknown parameter `noht'

does anyone know how to solve this problem without downgrade kernel to 3.7.3 ?

Last edited by leomao (2013-05-17 07:03:12)

Offline

#28 2013-05-17 07:12:04

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] ath9k Weak And Unstable Connection

gilmoreja wrote:
options ath9k noht=1

`modinfo` only reports the following parameters: debug, nohwcrypt, blink, btcox_enable, enable_diversity. There is no "noht" option.

Offline

#29 2013-05-17 14:40:35

gilmoreja
Member
From: Florida
Registered: 2012-05-28
Posts: 74

Re: [SOLVED] ath9k Weak And Unstable Connection

Ok, sorry for the confusion. I am using a wireless card that can use ath9k or carl9170. I'm currently using carl9170, but have to use the noht option with that module otherwise the adapter craps out periodically during instances of high throughput.

I made a mistake in just assuming that ath9k also had that option. My apologies.


Time you enjoy wasting isn't wasted time.

Offline

#30 2013-05-21 21:58:54

AbtZ
Member
Registered: 2008-05-30
Posts: 31

Re: [SOLVED] ath9k Weak And Unstable Connection

+1

I also have a Zenbook, and I'm suffering from the same problem -- very weak connectivity. I've tried the proposed solutions here in this thread and they don't work.

Offline

#31 2013-05-22 06:33:10

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] ath9k Weak And Unstable Connection

AbtZ wrote:

+1

I also have a Zenbook, and I'm suffering from the same problem -- very weak connectivity. I've tried the proposed solutions here in this thread and they don't work.

This is an upstream issue. The driver has to be patched. There is nothing much Arch can do about it.

Offline

#32 2013-05-27 17:29:35

AbtZ
Member
Registered: 2008-05-30
Posts: 31

Re: [SOLVED] ath9k Weak And Unstable Connection

hongster wrote:

This is an upstream issue. The driver has to be patched. There is nothing much Arch can do about it.

Understandable, but the unstable performance of the wifi card is truly annoying.

Has anyone here had problems where the wifi connection has simply died, and only a reboot would fix the problem? I get this sometimes, and dmesg spews out stuff like this:

[13784.395119] ath: phy0: Chip reset failed
[13784.395123] ath: phy0: Unable to reset hardware; reset status -22 (freq 2457 MHz)
[13785.702193] ath: phy0: RX failed to go idle in 10 ms RXSM=0xffffffff
[13785.833325] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13785.871868] ath: phy0: Failed to wakeup in 500us
[13787.153889] ath: phy0: RX failed to go idle in 10 ms RXSM=0xffffffff
[13787.282646] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13787.320693] ath: phy0: Failed to wakeup in 500us
[13788.461198] ath: phy0: RX failed to go idle in 10 ms RXSM=0xffffffff
[13788.574186] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13788.600547] ath: phy0: Failed to wakeup in 500us
[13789.543255] ath: phy0: Failed to stop TX DMA, queues=0x10f!
[13789.657651] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13789.657880] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[13790.797252] ath: phy0: Chip reset failed
[13790.797256] ath: phy0: Unable to reset channel, reset status -22
[13790.797709] ath: phy0: Unable to set channel
[13790.798309] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[13791.817502] ath: phy0: Failed to stop TX DMA, queues=0x10f!
[13791.931999] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff DMADBG_7=0xffffffff
[13791.932218] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up
[13793.074798] ath: phy0: Chip reset failed
[13793.074801] ath: phy0: Unable to reset channel, reset status -22
[13794.214830] ath: phy0: RX failed to go idle in 10 ms RXSM=0xffffffff

There's a patch  that seems to solve the problem. Has anyone tried it with Arch Linux?

Offline

#33 2013-05-28 03:29:56

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] ath9k Weak And Unstable Connection

@AbtZ Do you know of anyway to report these bugs to the relevant people to get it fix?

I have never encounter the DMA failed issue before. Have you tried unloading and reloading the ath9k module? It is not a perfect solution, but it eliminates the need to reboot the system.

Offline

#34 2013-05-28 09:45:37

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: [SOLVED] ath9k Weak And Unstable Connection

Has anyone here had problems where the wifi connection has simply died, and only a reboot would fix the problem? I get this sometimes, and dmesg spews out stuff like this

Yes, I have a similar problem on my laptop, although it has a ralink card, the connection can be fine for anything from a few minutes to a few hours, then the connection seems to die, it doesn't disconnect, it just seems to hang and I can't load any web pages, sometimes it comes right after a while, other times a reboot fixes it, and other times it doesn't, there are no error messages in dmesg that I can see.

This isn't an Arch problem because I also experienced this problem in Debian with kernel 3.8, I also installed an Ubuntu kernel 3.8, 3.10 rc2, a Siduction kernel 3.9, and the liquorix kernel 3.8, and had the same problem, kernel 3.7 (which I'm on now) is fine.

Offline

#35 2013-05-29 09:01:11

marcus
Member
Registered: 2012-09-26
Posts: 23

Re: [SOLVED] ath9k Weak And Unstable Connection

I also have a asus zenbook. With 3.10rc2 mainline kernel, the problem only exists after suspending to ram, not after a fresh boot.
I've been trying to reproduce the problem after rebooting, but no luck so far.
Hints appreciated.

-- marcus

Offline

#36 2013-05-29 11:36:11

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: [SOLVED] ath9k Weak And Unstable Connection

AR9462, very unstable connection under Arch and Windows.

need reconnect if web page can not open. It happends very randomly. Annoying.

Offline

#37 2013-05-31 10:13:04

marcus
Member
Registered: 2012-09-26
Posts: 23

Re: [SOLVED] ath9k Weak And Unstable Connection

AbtZ wrote:

There's a patch  that seems to solve the problem. Has anyone tried it with Arch Linux?

I've tried the patch. Didn't work for me (Kernel mainline 3.10rc3-1)

Offline

#38 2013-06-21 05:37:06

AbtZ
Member
Registered: 2008-05-30
Posts: 31

Re: [SOLVED] ath9k Weak And Unstable Connection

It seems the problems should be resolved (more or less) once a patch is included in the kernel:

https://bugzilla.kernel.org/show_bug.cgi?id=49201

Offline

#39 2013-06-21 06:16:34

leomao
Member
Registered: 2013-04-27
Posts: 18

Re: [SOLVED] ath9k Weak And Unstable Connection

Finally!
when will this patch be included in the kernel ?

Offline

#40 2013-06-22 04:44:45

AbtZ
Member
Registered: 2008-05-30
Posts: 31

Re: [SOLVED] ath9k Weak And Unstable Connection

Don't know. I remember reading a comment from someone complaining it wasn't in the rc2 of the 3.10 kernel, so we might have to wait until 3.11.

Meanwhile if anyone wants to try the patch here's a guide I found on how to compile a single module. It's for Ubuntu, but should be adaptable to Arch. Haven't tried it myself, though, so I can't promise it'll work.

Offline

#41 2013-06-22 05:46:34

leomao
Member
Registered: 2013-04-27
Posts: 18

Re: [SOLVED] ath9k Weak And Unstable Connection

OK
Thanks AbtZ !

Maybe this topic can be marked as solved ?

Last edited by leomao (2013-06-22 05:47:34)

Offline

#42 2013-06-22 07:02:33

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: [SOLVED] ath9k Weak And Unstable Connection

Well I managed to fix my wifi issue, it turns out it's a regression in the kernel affecting RT5390 & RT3290, I've applied the patch to kernel-ck 3.9 and it's been fine, the patch is here
https://patchwork.kernel.org/patch/2705091/

I don't know when this patch will make it into the mainline kernel.

Offline

#43 2013-06-22 07:09:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] ath9k Weak And Unstable Connection

guzz46 wrote:

Well I managed to fix my wifi issue, it turns out it's a regression in the kernel affecting RT5390 & RT3290, I've applied the patch to kernel-ck 3.9 and it's been fine, the patch is here
https://patchwork.kernel.org/patch/2705091/

I don't know when this patch will make it into the mainline kernel.

While I am glad you solved your problem, this is not even remotely the same issue as the rest of the discussion in the thread.  I'm not sure why you thought it would be relevant here...

Offline

#44 2013-06-22 07:34:24

guzz46
Member
From: New Zealand
Registered: 2009-06-18
Posts: 190

Re: [SOLVED] ath9k Weak And Unstable Connection

WonderWoofy wrote:
guzz46 wrote:

Well I managed to fix my wifi issue, it turns out it's a regression in the kernel affecting RT5390 & RT3290, I've applied the patch to kernel-ck 3.9 and it's been fine, the patch is here
https://patchwork.kernel.org/patch/2705091/

I don't know when this patch will make it into the mainline kernel.

While I am glad you solved your problem, this is not even remotely the same issue as the rest of the discussion in the thread.  I'm not sure why you thought it would be relevant here...

It may not be relevant to this particular issue, but it maybe relevant to someone reading this thread with a RT5390 or RT3290 thinking this issue affected more than just ath9k.

Offline

#45 2013-07-25 17:41:09

ailurarctos
Member
Registered: 2013-04-12
Posts: 1

Re: [SOLVED] ath9k Weak And Unstable Connection

It looks like this will be fixed in 3.11.

Applying the following patches to the 3.9 kernel worked for me, although I'm not sure if they are all necessary:

https://git.kernel.org/cgit/linux/kerne … 199612e758
https://git.kernel.org/cgit/linux/kerne … 780a69cf12
https://git.kernel.org/cgit/linux/kerne … 11a0f0a971
https://git.kernel.org/cgit/linux/kerne … 8f68b77adb
https://git.kernel.org/cgit/linux/kerne … b1f9e6fbd5

I haven't tested 3.10 yet. It looks like ef95e58d is there but not the others.

I was pleasantly surprised by how easy it is to compile a custom kernel on Arch by following https://wiki.archlinux.org/index.php/Ke … ild_System. If you're tired of being forced to sit right beside your wireless router it might be worth a shot. I imagine the 3.11 kernel will be available in Testing soon though.

Offline

#46 2013-09-29 13:06:49

dmnmsc
Member
Registered: 2013-09-29
Posts: 1

Re: [SOLVED] ath9k Weak And Unstable Connection

Hello, I have the same problem with my Atheros. Could you tell me how can I install these patches? And... will work with 3.10 Kernel? Thank you.

Offline

#47 2013-09-29 17:23:40

Nagy Balna
Member
From: Boston
Registered: 2011-12-06
Posts: 46

Re: [SOLVED] ath9k Weak And Unstable Connection

Everything is working in 3.11, which is in the official repos.  Just do a system update and the problem is gone.

Offline

#48 2013-10-01 03:41:33

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] ath9k Weak And Unstable Connection

I have also updated my kernel to 3.11.2-1, it is working fine now.

Offline

#49 2013-10-02 17:22:25

Nagy Balna
Member
From: Boston
Registered: 2011-12-06
Posts: 46

Re: [SOLVED] ath9k Weak And Unstable Connection

Can you mark this thread as solved?  Also, it's really nice to use my laptop more than 10 feet from my router.

Offline

#50 2013-10-03 02:58:04

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] ath9k Weak And Unstable Connection

Do I mark it as solved by simply adding "[SOLVED]" to the title?

Offline

Board footer

Powered by FluxBB