You are not logged in.

#1 2012-01-25 18:26:36

Drumm
Member
Registered: 2011-11-24
Posts: 5

ath9k and 3.2.1-2

This is half a warning (though a little late) and half a beckon for any help by more experienced Linux guru's.

I'll first point to this bug report: https://bugzilla.kernel.org/show_bug.cgi?id=42583
I'm not quite sure where the main description came from, but I am having the kernel panic issue described in the comments. I would agree that Ath9k is causing this, as that is what I am using. However, it seems to be caused by WPA2(I think tsk is used in conjunction with it on my router)
I switched the router to open, and I haven't since had a kernel panic. It may be caused by WEP, but I haven't yet attempted to check this. I use netcfg to connect to the router, either from the command line (To manually switch between WPA2 and Open) or on boot (My default network, which is normally open)

Anybody else having similar issues?

-Drumm

Offline

#2 2012-01-26 23:04:27

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: ath9k and 3.2.1-2

My problems don't seem as severe as yours, but I also have issues with the ath9k driver. I get very high numbers of Tx excessive retries and Invalid misc. The problem seems to be much worse when using WPA2, especially the WPA2 enterprise with AES and Protected EAP setup that my university wireless network uses.

Sometimes the slow down can be so severe that I can barely load webpages. At other times it is just a mild inconvenience. Though the problem has been around for several kernel versions now it did seem to get worse with 3.2.1-2.

The errors are worse when using WPA2 as compared to WEP of open connections.

Offline

#3 2012-01-27 07:08:58

lyman
Member
From: China
Registered: 2008-01-13
Posts: 20
Website

Re: ath9k and 3.2.1-2

yeah I am having a similar issue. however, my laptop seems only kernel panic when power cable if off. so I am having the power cable plugged all the time these days.


arch x86_64 on Dell E7450

Offline

#4 2012-01-27 10:14:44

leftism
Member
Registered: 2011-11-28
Posts: 11

Re: ath9k and 3.2.1-2

I have a ar9285 based network card and i used netcfg at first , but my wifi was very unstable and slow. So i searched on google and found a post about the same problem, and was suggested to try wicd instead of netcfg , and it really helped me. Now my connection is stable and fast.

Sorry for my english

Last edited by leftism (2012-01-27 10:15:52)

Offline

#5 2012-01-27 18:35:49

ajaxas
Member
Registered: 2009-02-23
Posts: 65
Website

Re: ath9k and 3.2.1-2

@leftism
Funny. I've been using wicd since I first installed archlinux on my notebook, but I've always wanted to switch to netcfg (I like everything config-based, not GUIs).
Yesterday I tried to, netcfg threw some errors at me and... that's it. I stayed with wicd.

Btw, I've got ar9285 too, do you get a working 802.11n connection? I get only 802.11g i.e. 54Mbit/s.

Offline

#6 2012-01-28 16:08:55

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: ath9k and 3.2.1-2

with the kernel 3.2.2-2, wireless (Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)) in Samsung N210 was working. after the recent downgrade to 3.2.2-1 it sees the wireless network but fails to connect.tried with dhcpcd/dhclient (fails to fetch the ip address).

Offline

#7 2012-01-28 21:53:55

gsk
Member
Registered: 2012-01-28
Posts: 1

Re: ath9k and 3.2.1-2

I have the same wireless card and problem as kgas.
Does anyone know how can i get it to work?

Funny thing is that when I boot from arch installation usb
and type these commands:
ifconfig wlan0 up
iwconfig wlan0 essid myessid key mykey
iwconfig wlan0 channel auto

and then
dhclient wlan0

it works perfect.

But when I install Arch on hard drive and than type these commands it doesn't work.
I tried a number of things to make it connected (wicd etc.) but everytime i get same error: can't obtain ip.

Offline

#8 2012-01-30 09:53:17

n125
Member
Registered: 2011-12-30
Posts: 38

Re: ath9k and 3.2.1-2

I am experiencing the same problem as Lexworth.

I don't have any issue with connecting to my WPA2-protected network, using networkmanager, but the speeds I get are either extremely slow or far below normal and unstable. Much of the time, I can't even synchronize my package databases without timing out. I also have a large number of Tx excessive retries and Invalid miscs (but I don't know what these parameters represent). I have an AR9285 adapter and am running the ath9k module. I hate to say it, but this is frustrating me to the point where I have to boot into Windows just to get something done online.

Occasionally, my speeds will be normal, but this occurrence seems random.

I can't remember when I started having problems with wireless speed. I want to say around the time of the switch to kmod, but I'm not sure. I also recently had problems with IPv6 being loaded and slowing my wireless speed, but I solved that by blacklisting it.

Offline

#9 2012-01-30 11:13:09

DarksideEE7
Member
From: Arkansas, United States
Registered: 2009-06-06
Posts: 356

Re: ath9k and 3.2.1-2

I'm having trouble with my wireless spamming syslog-ng logs....I actually wouldn't have noticed if /var didn't completely fill up.  I have an Atheros AR9285 wireless chipset with WPA2-PSK AES encrypted network.  I'm guessing AES has something to do with it, but I'm not sure. 
Here is the output of /var/log/everthing.log
http://pastebin.com/jrwmk0Tr
Kernel 3.2.2-1
I'm going to switch back to TKIP and see if that prevents the errors.  I'm also using wicd and don't experience any other problems other than the occasional failed attempt to very AP association after authenticating.  I only see one TX error in my router admin page (ddwrt on a Linksys E3000).

Strangely iwconfig showed my connection at 5.5 Mb/s when it's normally 65 Mb/s.  After reconnecting I'm back to 65 Mb/s.

Last edited by DarksideEE7 (2012-01-30 11:26:19)

Offline

#10 2012-01-30 23:11:26

fraantik
Member
Registered: 2011-01-02
Posts: 10

Re: ath9k and 3.2.1-2

Confirmed. You cannot communicate threw wifi with WEP (you are able to "connect" and get IP address, but not communicate). Open wifi work. Thanks.

Offline

#11 2012-01-31 14:25:01

ajaxas
Member
Registered: 2009-02-23
Posts: 65
Website

Re: ath9k and 3.2.1-2

gsk wrote:

I have the same wireless card and problem as kgas.
Does anyone know how can i get it to work?

Funny thing is that when I boot from arch installation usb
and type these commands:
ifconfig wlan0 up
iwconfig wlan0 essid myessid key mykey
iwconfig wlan0 channel auto

and then
dhclient wlan0

it works perfect.

But when I install Arch on hard drive and than type these commands it doesn't work.
I tried a number of things to make it connected (wicd etc.) but everytime i get same error: can't obtain ip.

[ajaxas@r2d2 ~]$ pacman -Qo iwconfig
/usr/sbin/iwconfig is owned by wireless_tools 29-6
[ajaxas@r2d2 ~]$ pacman -Qo ifconfig
/sbin/ifconfig is owned by net-tools 1.60.20110819cvs-3

Check if you have wireless_tools and net-tools packages installed.
Also, NB: https://wiki.archlinux.org/index.php/Wi … _available

Last edited by ajaxas (2012-01-31 14:26:14)

Offline

#12 2012-01-31 14:29:09

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

Re: ath9k and 3.2.1-2

It's a driver bug. Try the patch here: http://thread.gmane.org/gmane.linux.ker … ocus=84626

Or search this forum for a workaround.

Offline

#13 2012-02-01 19:08:55

Zenettii
Member
From: London
Registered: 2011-06-26
Posts: 5
Website

Re: ath9k and 3.2.1-2

Wow, i was beginning to think I broke my wireless card in my laptop, I even reinstalled the entire OS with another just to test it and I had most missed fortunes.
THis is a big ouch, its one of the most successful wifi drivers for Linux ;(


When one person suffers from a delusion, it is called insanity.
When many people suffer from a delusion it is called religion - Robert Pirsig

Offline

#14 2012-02-03 21:47:13

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: ath9k and 3.2.1-2

I'll just add that I also have the AR9285 network card, and it has been acting all sorts of messed up the past few weeks. Currently running the latest kernel and I am using a WPA2 with AES encryption wireless connection.


~trc

Offline

#15 2012-02-03 22:28:35

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: ath9k and 3.2.1-2

I've looked all over the internet for a solution to the shoddy wireless performance with this driver. Many half solutions appear to exist that help the reception issues but not exactly solve them. You can try disabling ip6, starting the driver with the nohwcrypt=1 (no hardware encryption) option, turning off power management. Most of these seem to help some while doing nothing for others who try them.

The biggest problem, for me at least, appears to be localized to performance on large WPA2 networks that use encryption like AES or protected EAP. On personal WPA2 networks, and WEP or open networks, performance is excellent.

Reading the linux wireless webpage (http://linuxwireless.org/en/users/Drive … 28ath9k%29) for this driver does not give any indication that there are problems with it. It appears to be one of the better supported open source drivers. I'm sure they are aware of the issues but I can't find any information from whoever may be developing this driver that it is being worked on.

Offline

#16 2012-02-03 22:40:38

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: ath9k and 3.2.1-2

My home network is WPA2 with AES and I don't have any other options for WPA2 (other than AES and also TKIP)


~trc

Offline

#17 2012-02-04 10:34:00

Glinx
Member
Registered: 2010-10-12
Posts: 26

Re: ath9k and 3.2.1-2

My best findings after another day of perfect time wasting (WPA2 AES);

wicd with “iwconfig wlan0 power off” (networkmanager wouldnt throttle-down for me) - This slows conection down to 54mb again and nothing in modprobe.d

Offline

#18 2012-02-08 12:18:06

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: ath9k and 3.2.1-2

the issue still persists with the current kernel upgrade(3.2.5-1-ARCH)

wicd error log. (the case is same with dhcpd/dhclinet)

2012/02/08 15:01:59 :: Running DHCP with hostname *****
2012/02/08 15:01:59 :: dhcpcd[3869]: version 5.2.12 starting
2012/02/08 15:01:59 :: dhcpcd[3869]: wlan0: broadcasting for a lease
2012/02/08 15:02:29 :: dhcpcd[3869]: timed out
2012/02/08 15:02:29 :: DHCP connection failed
2012/02/08 15:02:29 :: exiting connection thread
2012/02/08 15:02:29 :: Sending connection attempt result dhcp_failed

Offline

#19 2012-02-08 12:34:47

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

Re: ath9k and 3.2.1-2

Of course it persists, 3.2.5 added only one patch. This phenomenon of people expecting the next version will magically fix their problems is another thing that fascinates me.

There are two patches: http://thread.gmane.org/gmane.linux.ker … eral/84982. Until you see those two in the changelog of a kernel release, there's no point in "I still see this" messages, because of course you will still see it.

Now, you don't necessarily need to know there are patches available. But what you can very do is much check the changelog of each kernel, search it for your relevant hardware to see if there's something related to it in there.

Last edited by Gusar (2012-02-08 12:40:02)

Offline

#20 2012-02-08 14:39:15

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: ath9k and 3.2.1-2

I just tried compat-wireless-patched and works well. The only thing in this netbook, it took more than 45 minutes to compile.

Offline

#21 2012-02-11 07:34:23

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: ath9k and 3.2.1-2

The compat wireless patched doesnt do a thing for me, as a workaround for the time being I am using the LTS kernel.

[troy@troy-pc ~]$ lspci | grep -i network
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

[troy@troy-pc ~]$ uname -r
3.0.20-1-lts

~trc

Offline

#22 2012-02-17 15:40:42

ajaxas
Member
Registered: 2009-02-23
Posts: 65
Website

Re: ath9k and 3.2.1-2

Gusar wrote:

There are two patches: http://thread.gmane.org/gmane.linux.ker … eral/84982. Until you see those two in the changelog of a kernel release, there's no point in "I still see this" messages, because of course you will still see it.

Backported to 3.2.7, expect it soon: https://lkml.org/lkml/2012/2/16/521

Edit: oops!

Last edited by ajaxas (2012-02-18 03:00:14)

Offline

#23 2012-02-19 10:15:13

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: ath9k and 3.2.1-2

Interesting, I have AR9285 on HP G62-407DX using netcfg and nothing out of the ordinary...
Pertinent modules: rfkill, cfg80211, mac80211, ath, ath9k_hw, ath9k_common, ath9k
3.2.2-1-ARCH

WPA2-PSK AES : ok
open hotspot : ok


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

#24 2012-02-25 12:10:37

MarxKnowswine
Member
Registered: 2011-09-06
Posts: 3

Re: ath9k and 3.2.1-2

Hi guys
I still have the same problem even though I'm actually at 3.2.7-1-ARCH

I post you the portion of kernel.log concerning my last kernel panic (last night).

Feb 25 00:37:04 kida kernel: [ 3432.953629] ath: Failed to stop TX DMA, queues=0x005!
Feb 25 00:37:04 kida kernel: [ 3432.971889] ath: Failed to stop TX DMA, queues=0x005!
Feb 25 00:37:04 kida kernel: [ 3432.986040] ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00006b30
Feb 25 00:37:04 kida kernel: [ 3432.986122] ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Feb 25 00:37:04 kida kernel: [ 3432.990403] cfg80211: Calling CRDA for country: AW
Feb 25 00:37:06 kida kernel: [ 3434.898895] wlan0: authenticate with 00:1d:7e:9e:c0:74 (try 1)
Feb 25 00:37:06 kida kernel: [ 3434.900890] wlan0: authenticated
Feb 25 00:37:06 kida kernel: [ 3434.901043] wlan0: associate with 00:1d:7e:9e:c0:74 (try 1)
Feb 25 00:37:06 kida kernel: [ 3434.908909] wlan0: RX ReassocResp from 00:1d:7e:9e:c0:74 (capab=0x401 status=0 aid=7)
Feb 25 00:37:06 kida kernel: [ 3434.908915] wlan0: associated
Feb 25 00:37:13 kida kernel: [ 3442.047207] wlan0: deauthenticating from 00:1d:7e:9e:c0:74 by local choice (reason=3)
Feb 25 00:37:13 kida kernel: [ 3442.081707] cfg80211: Calling CRDA to update world regulatory domain
Feb 25 00:37:13 kida kernel: [ 3442.156674] BUG: unable to handle kernel paging request at 240a0fea
Feb 25 00:37:13 kida kernel: [ 3442.156752] IP: [<c01e1b88>] put_page+0x8/0x40
Feb 25 00:37:13 kida kernel: [ 3442.156807] *pde = 00000000 
Feb 25 00:37:13 kida kernel: [ 3442.156842] Oops: 0000 [#1] PREEMPT SMP 
Feb 25 00:37:13 kida kernel: [ 3442.156895] Modules linked in: ath9k(-) ath9k_common ath9k_hw ath mac80211 cfg80211 snd_hda_codec_idt btusb bluetooth arc4 uvcvideo appletouch joydev videodev media snd_hda_intel i915 snd_hda_codec snd_pcm i2c_algo_bit iTCO_wdt drm_kms_helper iTCO_vendor_support snd_page_alloc sky2 firewire_ohci intel_agp applesmc drm snd_hwdep snd_timer snd soundcore firewire_core intel_gtt processor button ac video battery evdev input_polldev i2c_i801 agpgart rfkill i2c_core crc_itu_t pcspkr apple_bl hid_apple usbhid hid ext4 crc16 jbd2 mbcache sr_mod cdrom sd_mod pata_acpi ata_piix libata uhci_hcd scsi_mod ehci_hcd usbcore usb_common [last unloaded: cfg80211]
Feb 25 00:37:13 kida kernel: [ 3442.157717] 
Feb 25 00:37:13 kida kernel: [ 3442.157735] Pid: 2610, comm: modprobe Not tainted 3.2.7-1-ARCH #1 Apple Inc. MacBook2,1/Mac-F4208CAA
Feb 25 00:37:13 kida kernel: [ 3442.157828] EIP: 0060:[<c01e1b88>] EFLAGS: 00010202 CPU: 1
Feb 25 00:37:13 kida kernel: [ 3442.157879] EIP is at put_page+0x8/0x40
Feb 25 00:37:13 kida kernel: [ 3442.157915] EAX: 240a0fea EBX: 00000001 ECX: f4a51f40 EDX: 00000000
Feb 25 00:37:13 kida kernel: [ 3442.157971] ESI: f2ccf3c0 EDI: 00000000 EBP: ea4e9e2c ESP: ea4e9e2c
Feb 25 00:37:13 kida kernel: [ 3442.158027]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Feb 25 00:37:13 kida kernel: [ 3442.158076] Process modprobe (pid: 2610, ti=ea4e8000 task=f0351ea0 task.ti=ea4e8000)
Feb 25 00:37:13 kida kernel: [ 3442.158144] Stack:
Feb 25 00:37:13 kida kernel: [ 3442.158165]  ea4e9e3c c03c551c f2ccf3c0 f2ccf3c0 ea4e9e48 c03c5577 f03113e0 ea4e9e60
Feb 25 00:37:13 kida kernel: [ 3442.158272]  c03c561b f6bb81c0 f03113e0 f2ccf3c0 00000000 ea4e9e88 f886ff1e f015c340
Feb 25 00:37:13 kida kernel: [ 3442.158378]  f015c340 f48fc000 f015da14 f015d180 f015d180 f015c340 f8be0000 ea4e9e98
Feb 25 00:37:13 kida kernel: [ 3442.158484] Call Trace:
Feb 25 00:37:13 kida kernel: [ 3442.158513]  [<c03c551c>] skb_release_data+0x6c/0xb0
Feb 25 00:37:13 kida kernel: [ 3442.158561]  [<c03c5577>] __kfree_skb+0x17/0x90
Feb 25 00:37:13 kida kernel: [ 3442.158603]  [<c03c561b>] consume_skb+0x2b/0xb0
Feb 25 00:37:13 kida kernel: [ 3442.158649]  [<f886ff1e>] ath_rx_cleanup+0x7e/0xd0 [ath9k]
Feb 25 00:37:13 kida kernel: [ 3442.158705]  [<f886c5b0>] ath9k_deinit_device+0x40/0x60 [ath9k]
Feb 25 00:37:13 kida kernel: [ 3442.158760]  [<f8877514>] ath_pci_remove+0x44/0x80 [ath9k]
Feb 25 00:37:13 kida kernel: [ 3442.158813]  [<c02f5338>] pci_device_remove+0x38/0xf0
Feb 25 00:37:13 kida kernel: [ 3442.158862]  [<c0382a8b>] __device_release_driver+0x5b/0xb0
Feb 25 00:37:13 kida kernel: [ 3442.158913]  [<c03830af>] driver_detach+0x8f/0xa0
Feb 25 00:37:13 kida kernel: [ 3442.158958]  [<c0382963>] bus_remove_driver+0x63/0xa0
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c0383728>] driver_unregister+0x48/0x80
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c02f56a2>] pci_unregister_driver+0x32/0x90
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<f8877b62>] ath_pci_exit+0x12/0x20 [ath9k]
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<f8877f0b>] ath9k_exit+0x17/0x35 [ath9k]
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c04a9e5d>] ? mutex_unlock+0xd/0x10
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c0181fe5>] sys_delete_module+0x135/0x250
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c02215b4>] ? filp_close+0x54/0x80
Feb 25 00:37:13 kida kernel: [ 3442.159694]  [<c04abddf>] sysenter_do_call+0x12/0x28
Feb 25 00:37:13 kida kernel: [ 3442.159694] Code: 13 1e c0 8d 4d fc c7 45 fc 00 00 00 00 e8 01 ff ff ff 8b 45 fc 64 01 05 f8 37 69 c0 c9 c3 90 8d 74 26 00 55 89 e5 3e 8d 74 26 00 <f7> 00 00 c0 00 00 75 17 8b 50 10 f0 ff 48 10 0f 94 c2 84 d2 75 
Feb 25 00:37:13 kida kernel: [ 3442.159694] EIP: [<c01e1b88>] put_page+0x8/0x40 SS:ESP 0068:ea4e9e2c
Feb 25 00:37:13 kida kernel: [ 3442.159694] CR2: 00000000240a0fea
Feb 25 00:37:13 kida kernel: [ 3442.188749] ---[ end trace 89d944a5b3d54e89 ]---

However I have to say that it occurs ONLY if my power cable is off. And sincerely, I'm not able to reproduce it. Sometimes it happens just two minutes after the boot, and sometimes after 30 minutes.

Thanks for your help

Offline

#25 2012-02-25 13:22:48

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

Re: ath9k and 3.2.1-2

That's unrelated to this issue, it's a genuine driver crash. You should report it to the linux-wireless mailing list.

Offline

Board footer

Powered by FluxBB