LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-13-2011, 01:34 AM   #1
htedrom
Member
 
Registered: May 2005
Posts: 30

Rep: Reputation: 15
Arrow ath9k stuttering


Hi all,

usually the wireless on my laptop is fine except at the coffee shop where I study a lot. Get shoddy connection, but more troubling than that, sometimes I can't get an IP from the router at all while my friends are browsing away, and a reboot usually fixes it. Even more troubling is that sometimes i'll get little CPU "hiccups" when the connection is poor. They roughly correlate to these in dmesg:

[ 947.632309] ath9k: RX failed to go idle in 10 ms RXSM=0xdeadbeef
[ 954.851954] ath9k: timeout (100000 us) on reg 0x806c: 0xdeadbeef & 0x01f00000 != 0x00000000
[ 954.852125] ath9k: RX failed to go idle in 10 ms RXSM=0xdeadbeef

etc, etc.

when I get this hiccups it will stutter my music player regardless of its nice priority. I try unloading and loading ath9k but that doesn't change anything. Anyone have any ideas?

anewson@melvin:~$ uname -r
2.6.32-32-generic
anewson@melvin:~$ cat /etc/issue
Ubuntu 10.04.2 LTS \n \l
anewson@melvin:~$
 
Old 07-14-2011, 10:48 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello htedrom,

I'm no expert for Ubuntu, but if it was Windows I would say: check if there is any "Energy-Saving-Option" enabled for the Wlan-adapter. I don't know if Ubuntu comes with such options in their programs.

Edit: I have the same wireless-adapter in my laptop and I've looked in Win 7 (which I've also installed on the machine) there is an Energysavemode in Windows. Maybe it is really used in Linux as well.

Markus

Last edited by markush; 07-14-2011 at 10:58 AM. Reason: added more text
 
Old 07-18-2011, 08:21 PM   #3
htedrom
Member
 
Registered: May 2005
Posts: 30

Original Poster
Rep: Reputation: 15
hey markus,

there is a power management feature for the card, but I disabled it when the problem started.

Code:
wlan0     IEEE 802.11bgn  ESSID:"grind"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 5C:D9:98:5C:B5:0C   
          Bit Rate=11 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=50/70  Signal level=-60 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Last edited by htedrom; 07-18-2011 at 08:23 PM. Reason: CODE tags
 
Old 07-21-2011, 02:40 AM   #4
htedrom
Member
 
Registered: May 2005
Posts: 30

Original Poster
Rep: Reputation: 15
just an update: the CPU spikes are in the [phyX] process (where X=number that increases, I think when I unload/reload driver), which is a network layer or something? Not sure if that's any help.
 
  


Reply

Tags
ath9k, nic, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
thinkpad x61 ath9k headaches alphisb0t Linux - Laptop and Netbook 1 11-03-2010 07:23 AM
ath9k in centos 5.5 bradvan Linux - Hardware 11 06-17-2010 05:02 AM
ath9k + ar9280 oddness bobb.harley Linux - Networking 2 02-09-2010 06:54 AM
Slackware 13 wireless not working (ath9k) Cryophile Slackware 9 12-17-2009 06:10 PM
WG111T with new atheros kerneldriver ath9k barrios Linux - Networking 1 10-12-2009 01:53 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration