Topic: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Hi crunchbang users,

This is my story. I'll try to explain all details. 
My english is not so good at the moment but I think you will understand the main purpose of this thread.

This is my first post here in the crunchbang community.
A few months ago I was skeptical about change from windows to linux.
I was using Windows 7 ultimate but everybody knows that linux beat windows for sure.
In the past few weeks I learn al lot about linux and
>>>>  I'm very happy that I found crunchbang. <<<<<

First

I have an Asus K60iJ, I installed CB crunchbang-10-20111125-amd64 a few days ago, I'm impressed how fast and stable my laptop is now.
After the installation I test everything and worked flawlessly out of the box.

In windows the internet speed I get is 300kB/s .

In CB my internet speed start from 70kB/s stable but aftter a few minutes is only 26kB/s and after a few minutes from that, all my traffic stop suddenly, but I'm still connected to the internet.  I notice that behavior with diff servers location.

Can somebody point me in the right direction what could be happen?
Could be maybe the wireless drivers? ( I did'nt install any drivers because all works perfectly)
Do i need to install other drivers?
Or can I change something in the system to imporve the perfomance of my internet traffic?


I install vmware workstation and install windows 7 ultimate to see if  in windows 7 as a virtual guest happen the same issue, but not.  It works ok.  the internet speed get the maximum, the 300 kB/s.


I google and read a lot about this but the only thing I found is this (specific to my system)
http://forums.debian.net/viewtopic.php?f=30&t=72231

I did not have any installation issue at all. But I think that can be just tweaking the wireless setting a bit.

Second

In the site http://kmuto.jp/debian/hcl/

I run this code on terminal  'lspci -n' , copy and paste the result in the driver site and get this result.

http://minus.com/mbcGRvA1lf#1o


I'll apprecciate if you read this and try to help me. 

thanks

Last edited by gunt (2012-01-30 21:41:51)

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Easy peasy. Open the file manager Thunar as root:

gksudo thunar

Create a file named ath9k.conf in /etc/modprobe.d, just navigate to the directory, it's under File System. Open the file and paste this into it:

options ath9k nohwcrypt=1

Save, reboot.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

ooow!!!

that was a fast response, or should I say inmediately....

I'll try that

thanks el_koraco

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

It works!

Can you tell me what function does this line?   options ath9k nohwcrypt=1

It prevents my connection to be encrypted?

thanks

Last edited by gunt (2012-01-31 01:26:49)

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

No, it's a known bug with some versions of the ath9k open source driver for your Atheros wireless card. The nohwcrypt option is low level driver stuff, nothing to do with encryption. No worries.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Perfect, more info to my brain database!

thanks

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Back to the same thing! 

The connection was working great but again it get stuck. 

I need to change something else.

any ideas el_koraco.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

I surf the net fast and stable but if I open more than 10 windows it get stuck and I need to disconnected and connected the wifi to surf again.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

After you have experienced the problem, and before you restart the network, run

dmesg| tail -n 80

in a terminal window.
This will display the last 80 lines of the 'kernel message buffer'
Check for error messages.
If you can not find any, increase the number.
If it is all gibberish to you, post the output in the forum.

Last edited by xaos52 (2012-02-05 19:24:48)

If you poke the bear it is going to come after you.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

^do as the doctor perscribes. There's no documented problem with ath9k like the one you're describing, not that I know of anyway. Seems to be a DNS issue. We'll look into it. Post output of

cat /etc/resolv.conf
apt-cache policy resolvconf

along the dmesg trace.

Last edited by el_koraco (2012-02-05 20:08:06)

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Ok guys 

this is the first output.  The output show some erros and firmware bug ACPi bios

dmesg| tail -n 100
[ 7350.742803] bridge-wlan0: device is wireless, enabling SMAC
[ 7350.742807] bridge-wlan0: up
[ 7350.742814] bridge-wlan0: attached
[ 7350.942662] userif-6: sent link down event.
[ 7350.942667] userif-6: sent link up event.
[ 7350.942687] userif-3: sent link down event.
[ 7350.942691] userif-3: sent link up event.
[ 7350.942709] userif-0: sent link down event.
[ 7350.942713] userif-0: sent link up event.
[ 7395.897537] wlan0: deauthenticating from 74:2f:68:66:aa:5d by local choice (reason=3)
[ 7395.946575] cfg80211: Calling CRDA to update world regulatory domain
[ 7395.965200] bridge-wlan0: disabling the bridge
[ 7395.984124] bridge-wlan0: down
[ 7395.984135] bridge-wlan0: detached
[ 7396.164970] userif-6: sent link down event.
[ 7396.164975] userif-6: sent link up event.
[ 7396.165051] userif-3: sent link down event.
[ 7396.165056] userif-3: sent link up event.
[ 7396.165375] userif-0: sent link down event.
[ 7396.165379] userif-0: sent link up event.
[ 7684.568106] usb 2-4: new high speed USB device number 4 using ehci_hcd
[ 7684.701138] usb 2-4: New USB device found, idVendor=0781, idProduct=5530
[ 7684.701144] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7684.701148] usb 2-4: Product: Cruzer
[ 7684.701151] usb 2-4: Manufacturer: SanDisk
[ 7684.701154] usb 2-4: SerialNumber: 20051739900F0AB25436
[ 7684.701808] scsi6 : usb-storage 2-4:1.0
[ 7685.701217] scsi 6:0:0:0: Direct-Access     SanDisk  Cruzer           1.19 PQ: 0 ANSI: 5
[ 7685.702346] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 7685.704164] sd 6:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 7685.705354] sd 6:0:0:0: [sdb] Write Protect is off
[ 7685.705360] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 7685.705364] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 7685.712812] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 7685.716602]  sdb: sdb1
[ 7685.720598] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 7685.720604] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 7686.604898] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 7904.910422] wlan0: authenticate with 74:2f:68:66:aa:5d (try 1)
[ 7904.952224] wlan0: authenticated
[ 7904.952249] wlan0: associate with 74:2f:68:66:aa:5d (try 1)
[ 7905.152077] wlan0: associate with 74:2f:68:66:aa:5d (try 2)
[ 7905.352092] wlan0: associate with 74:2f:68:66:aa:5d (try 3)
[ 7905.552075] wlan0: association with 74:2f:68:66:aa:5d timed out
[ 7913.618479] wlan0: authenticate with 74:2f:68:66:aa:5d (try 1)
[ 7913.646220] wlan0: authenticated
[ 7913.646246] wlan0: associate with 74:2f:68:66:aa:5d (try 1)
[ 7913.670072] wlan0: RX AssocResp from 74:2f:68:66:aa:5d (capab=0x431 status=0 aid=1)
[ 7913.670079] wlan0: associated
[ 7916.225193] /dev/vmnet: open called by PID 1518 (vmnet-bridge)
[ 7916.225214] /dev/vmnet: hub 0 does not exist, allocating memory.
[ 7916.225247] /dev/vmnet: port on hub 0 successfully opened
[ 7916.225265] bridge-wlan0: device is wireless, enabling SMAC
[ 7916.225272] bridge-wlan0: up
[ 7916.225280] bridge-wlan0: attached
[ 7916.425415] userif-3: sent link down event.
[ 7916.425420] userif-3: sent link up event.
[ 7916.426101] userif-0: sent link down event.
[ 7916.426104] userif-0: sent link up event.
[ 7916.426216] userif-6: sent link down event.
[ 7916.426221] userif-6: sent link up event.
[ 7958.973095] userif-6: sent link down event.
[ 7958.973101] userif-6: sent link up event.
[ 7958.973581] userif-3: sent link down event.
[ 7958.973586] userif-3: sent link up event.
[ 7958.973619] userif-0: sent link down event.
[ 7958.973624] userif-0: sent link up event.
[ 8278.943088] usb 2-4: USB disconnect, device number 4
[ 8851.374871] ath: Failed to stop TX DMA!
[ 8899.168104] usb 6-2: new full speed USB device number 2 using uhci_hcd
[ 8899.288081] usb 6-2: device descriptor read/64, error -71
[ 8899.516104] usb 6-2: device descriptor read/64, error -71
[ 8899.732111] usb 6-2: new full speed USB device number 3 using uhci_hcd
[ 8899.856063] usb 6-2: device descriptor read/64, error -71
[ 8900.084083] usb 6-2: device descriptor read/64, error -71
[ 8900.300072] usb 6-2: new full speed USB device number 4 using uhci_hcd
[ 8900.716107] usb 6-2: device not accepting address 4, error -71
[ 8900.828092] usb 6-2: new full speed USB device number 5 using uhci_hcd
[ 8901.244094] usb 6-2: device not accepting address 5, error -71
[ 8901.244124] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 8903.592126] usb 6-2: new full speed USB device number 6 using uhci_hcd
[ 8903.712121] usb 6-2: device descriptor read/64, error -71
[ 8903.936102] usb 6-2: device descriptor read/64, error -71
[ 8904.152119] usb 6-2: new full speed USB device number 7 using uhci_hcd
[ 8904.272126] usb 6-2: device descriptor read/64, error -71
[ 8904.496085] usb 6-2: device descriptor read/64, error -71
[ 8904.712068] usb 6-2: new full speed USB device number 8 using uhci_hcd
[ 8905.120111] usb 6-2: device not accepting address 8, error -71
[ 8905.232123] usb 6-2: new full speed USB device number 9 using uhci_hcd
[ 8905.640475] usb 6-2: device not accepting address 9, error -71
[ 8905.640507] hub 6-0:1.0: unable to enumerate USB device on port 2
[ 8911.314232] ath: Failed to stop TX DMA!
[10354.351808] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[10354.351907] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[10428.913070] keyboard: can't emulate rawmode for keycode 240
[10428.913090] keyboard: can't emulate rawmode for keycode 240
[10564.234829] keyboard: can't emulate rawmode for keycode 240
[10564.234847] keyboard: can't emulate rawmode for keycode 240
[12043.002180] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[12043.002281] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Seems like you are running #! in a VM, which adds a level of complexity.
Is it possible to run it on its own, just to see if the errors are reproduced, and, if they are, for easier debugging.
While it is running on its own, and preferrably after you experienced the problem,
Post output of following commands:
(you can copy/paste the commands into a terminal window, press enter for the last command)

uname -a
lspci -knn | grep -i net -A2 
lsusb
egrep -v "^$|^#" /etc/network/interfaces
egrep -v "^$|^#" /etc/resolv.conf
egrep -v "^$|^#" /etc/hosts
cat /etc/udev/rules.d/70-persistent-net.rules
ip a
ip route
ip n
ip addr
rfkill list
lsmod
dmesg | egrep 'net|eth|sky|sis|via|3c3|3c5|e100|8139|8169|acx|air|ath|atl|ar9|carl|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt3|rt6|rt7|tg3|ssb|wl|b43|b44|ori|pri|p5|zd|ndis|wmi|ns8|FW'
cat /var/lib/NetworkManager/NetworkManager.state
cat /etc/NetworkManager/NetworkManager.conf
nm-tool
iwconfig
iwlist chan
sudo iwlist scan
sudo cat /var/log/syslog | egrep 'rtl|firmware|wlan|wpa|eth' | tail -n 75

I also suggest you try the bleeding edge compat-wireless.
See this page: http://linuxwireless.org/en/users/Drive … ireless%29
Let us know if you need more help with that.

Last edited by xaos52 (2012-02-07 11:42:02)

If you poke the bear it is going to come after you.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

I'm running # on its own not in a vm.
Cruchbang is the primary and only OS i use.

I installed vmware and installed win7 virtual machine and I'm experienced error with this vm.
One error for example is that when I power on the vm it show me an error that the vm hard disk need to be defragemented, so I restart the vm  and it work great.

Do you think that the vm can cause this problem with #?

I think that the way I connect to the internet could cause this kind of problem.
This is the way  I connect to the internet. 

The internet conection I use is through a windows machine with virtual router enable.
With this software http://virtualrouter.codeplex.com/

The windwows machine connect to the internet with this device  Yota Jingle
http://www.yota.ru/en/devices/download/

Maybe an incompatibility?

This is the output.

             
             
             uname -a
Linux ludw 2.6.39-bpo.2-amd64 #1 SMP Tue Jul 26 10:35:23 UTC 2011 x86_64 GNU/Linux
      
      
       lspci -knn | grep -i net -A2 
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
    Subsystem: AzureWave Device [1a3b:1089]
    Kernel driver in use: ath9k
03:00.0 Ethernet controller [0200]: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet [1969:1026] (rev b0)
    Subsystem: ASUSTeK Computer Inc. Device [1043:14f5]
    Kernel driver in use: ATL1E
   
   
   lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 064e:a116 Suyin Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


          egrep -v "^$|^#" /etc/network/interfaces
auto lo
iface lo inet loopback
      
      
       egrep -v "^$|^#" /etc/resolv.conf
domain mshome.net
search mshome.net
nameserver 192.168.137.1



         egrep -v "^$|^#" /etc/hosts
127.0.0.1    localhost
127.0.1.1    ludw
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
             
             
             
              cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1969:0x1026 (ATL1E)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="90:e6:ba:5d:7c:6e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:0x002b (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="1c:4b:d6:1f:17:41", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x:0x (rtl8187)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:08:54:8d:fa:bb", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"


                 ip a
        
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 90:e6:ba:5d:7c:6e brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 1c:4b:d6:1f:17:41 brd ff:ff:ff:ff:ff:ff
    inet 192.168.137.12/24 brd 192.168.137.255 scope global wlan0
    inet6 2002:beb5:94e2:d:1e4b:d6ff:fe1f:1741/64 scope global dynamic 
       valid_lft 2591230sec preferred_lft 604030sec
    inet6 fec0::d:1e4b:d6ff:fe1f:1741/64 scope site dynamic 
       valid_lft 2591230sec preferred_lft 604030sec
    inet6 fe80::1e4b:d6ff:fe1f:1741/64 scope link 
       valid_lft forever preferred_lft forever
4: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 0e:99:01:4a:aa:64 brd ff:ff:ff:ff:ff:ff
5: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.111.1/24 brd 192.168.111.255 scope global vmnet1
    inet6 fe80::250:56ff:fec0:1/64 scope link 
       valid_lft forever preferred_lft forever
6: vmnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:02 brd ff:ff:ff:ff:ff:ff
    inet 192.168.206.1/24 brd 192.168.206.255 scope global vmnet2
    inet6 fe80::250:56ff:fec0:2/64 scope link 
       valid_lft forever preferred_lft forever
7: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
    inet 172.16.223.1/24 brd 172.16.223.255 scope global vmnet8
    inet6 fe80::250:56ff:fec0:8/64 scope link 
       valid_lft forever preferred_lft forever
        
        
         ip route
default via 192.168.137.1 dev wlan0  proto static 
172.16.223.0/24 dev vmnet8  proto kernel  scope link  src 172.16.223.1 
192.168.111.0/24 dev vmnet1  proto kernel  scope link  src 192.168.111.1 
192.168.137.0/24 dev wlan0  proto kernel  scope link  src 192.168.137.12  metric 2 
192.168.206.0/24 dev vmnet2  proto kernel  scope link  src 192.168.206.1 

          

                   
                   
                   ip n
fe80::9007:f6c8:9e9c:c1ca dev wlan0 lladdr 74:2f:68:66:aa:5d router STALE
192.168.137.1 dev wlan0 lladdr 74:2f:68:66:aa:5d REACHABLE
          
          
           ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 90:e6:ba:5d:7c:6e brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 1c:4b:d6:1f:17:41 brd ff:ff:ff:ff:ff:ff
    inet 192.168.137.12/24 brd 192.168.137.255 scope global wlan0
    inet6 2002:beb5:94e2:d:1e4b:d6ff:fe1f:1741/64 scope global dynamic 
       valid_lft 2591230sec preferred_lft 604030sec
    inet6 fec0::d:1e4b:d6ff:fe1f:1741/64 scope site dynamic 
       valid_lft 2591230sec preferred_lft 604030sec
    inet6 fe80::1e4b:d6ff:fe1f:1741/64 scope link 
       valid_lft forever preferred_lft forever
4: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 0e:99:01:4a:aa:64 brd ff:ff:ff:ff:ff:ff
5: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.111.1/24 brd 192.168.111.255 scope global vmnet1
    inet6 fe80::250:56ff:fec0:1/64 scope link 
       valid_lft forever preferred_lft forever
6: vmnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:02 brd ff:ff:ff:ff:ff:ff
    inet 192.168.206.1/24 brd 192.168.206.255 scope global vmnet2
    inet6 fe80::250:56ff:fec0:2/64 scope link 
       valid_lft forever preferred_lft forever
7: vmnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
    inet 172.16.223.1/24 brd 172.16.223.255 scope global vmnet8
    inet6 fe80::250:56ff:fec0:8/64 scope link 
       valid_lft forever preferred_lft forever
        
        
        
        rfkill list
bash: rfkill: command not found
        
        
         lsmod
Module                  Size  Used by
vmnet                  42310  21 
vsock                  42588  0 
vmci                   63085  1 vsock
vmmon                  69922  0 
acpi_cpufreq           12849  1 
mperf                  12411  1 acpi_cpufreq
cpufreq_conservative    13147  0 
cpufreq_powersave      12454  0 
cpufreq_stats          12762  0 
cpufreq_userspace      12576  0 
parport_pc             22191  0 
ppdev                  12725  0 
lp                     17190  0 
parport                31650  3 parport_pc,ppdev,lp
bridge                 65614  0 
stp                    12392  1 bridge
bnep                   17424  2 
rfcomm                 32744  0 
bluetooth             107224  10 bnep,rfcomm
fuse                   61554  5 
ext2                   62796  1 
loop                   22479  0 
snd_hda_codec_via      52489  1 
joydev                 17138  0 
snd_hda_intel          25946  1 
snd_hda_codec          67865  2 snd_hda_codec_via,snd_hda_intel
snd_hwdep              13148  1 snd_hda_codec
arc4                   12458  2 
ecb                    12737  2 
i915                  329760  2 
ath9k                  71748  0 
uvcvideo               57386  0 
mac80211              181270  1 ath9k
videodev               66266  1 uvcvideo
ath9k_common           12732  1 ath9k
media                  18148  1 videodev
v4l2_compat_ioctl32    16575  1 videodev
asus_laptop            18147  0 
psmouse                55199  0 
serio_raw              12878  0 
drm_kms_helper         26950  1 i915
snd_pcm                67276  2 snd_hda_intel,snd_hda_codec
ath9k_hw              277119  2 ath9k,ath9k_common
snd_seq                44678  0 
snd_timer              22658  2 snd_pcm,snd_seq
drm                   166500  3 i915,drm_kms_helper
tpm_tis                13125  0 
tpm                    17756  1 tpm_tis
tpm_bios               12903  1 tpm
pcspkr                 12579  0 
evdev                  17475  14 
i2c_algo_bit           12834  1 i915
i2c_core               23766  5 i915,videodev,drm_kms_helper,drm,i2c_algo_bit
sparse_keymap          12760  1 asus_laptop
ath                    21306  2 ath9k,ath9k_hw
snd_seq_device         13155  1 snd_seq
snd                    52324  10 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore              13014  1 snd
ac                     12624  0 
video                  17553  1 i915
snd_page_alloc         12969  2 snd_hda_intel,snd_pcm
processor              27431  3 acpi_cpufreq
battery                13109  0 
cfg80211              126244  3 ath9k,mac80211,ath
button                 12895  1 i915
power_supply           13475  2 ac,battery
rfkill                 19014  4 bluetooth,asus_laptop,cfg80211
ext4                  313064  1 
mbcache                12930  2 ext2,ext4
jbd2                   65105  1 ext4
crc16                  12343  2 bluetooth,ext4
sha256_generic         16797  2 
cryptd                 14463  0 
aes_x86_64             16796  6 
aes_generic            37122  1 aes_x86_64
cbc                    12747  2 
dm_crypt               22257  1 
dm_mod                 62468  9 dm_crypt
sg                     25769  0 
sd_mod                 35644  3 
sr_mod                 21824  0 
crc_t10dif             12348  1 sd_mod
cdrom                  35134  1 sr_mod
ata_generic            12479  0 
uhci_hcd               26290  0 
ata_piix               25319  2 
ehci_hcd               39487  0 
libata                151572  2 ata_generic,ata_piix
thermal                17330  0 
scsi_mod              161557  4 sg,sd_mod,sr_mod,libata
usbcore               127203  4 uvcvideo,uhci_hcd,ehci_hcd
atl1e                  31635  0 
thermal_sys            17939  3 video,processor,thermal
            
            
             dmesg | egrep 'net|eth|sky|sis|via|3c3|3c5|e100|8139|8169|acx|air|ath|atl|ar9|carl|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt3|rt6|rt7|tg3|ssb|wl|b43|b44|ori|pri|p5|zd|ndis|wmi|ns8|FW'
[    0.000000]  BIOS-e820: 00000000000e1000 - 0000000000100000 (reserved)
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e1000
[    0.000000] PM: Registered nosave memory: 00000000000e1000 - 0000000000100000
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88013fc00000 s83840 r8192 d22656 u1048576
[    0.000000] pcpu-alloc: s83840 r8192 d22656 u1048576 alloc=1*2097152
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.011341] Initializing cgroup subsys net_cls
[    0.011407] CPU0: Thermal monitoring handled by SMI
[    0.008000] CPU1: Thermal monitoring handled by SMI
[    0.160282] print_constraints: dummy: 
[    0.562887] audit: initializing netlink socket (disabled)
[    0.578139] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
[    0.623378] Initializing network drop monitor service
[    0.852896] thermal LNXTHERM:00: registered as thermal_zone0
[    0.852900] ACPI: Thermal Zone [THRM] (49 C)
[    0.942113] ata_piix 0000:00:1f.5: SCR access via SIDPR is available but doesn't work
[   96.733890] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   96.733904] ath9k 0000:02:00.0: setting latency timer to 64
[   96.785390] ath: EEPROM regdomain: 0x60
[   96.785393] ath: EEPROM indicates we should expect a direct regpair map
[   96.785396] ath: Country alpha2 being used: 00
[   96.785398] ath: Regpair used: 0x60
[   96.846772] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[   96.847408] Registered led device: ath9k-phy0
[   97.490543] fbcon: inteldrmfb (fb0) is primary device
[   99.415206] Adding 7868412k swap on /dev/mapper/ludw-swap_1.  Priority:-1 extents:1 across:7868412k 
[  104.997659] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  110.535940] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  110.572693] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  115.211860] /dev/vmnet: open called by PID 1521 (vmnet-natd)
[  115.211871] /dev/vmnet: hub 1 does not exist, allocating memory.
[  115.211891] /dev/vmnet: port on hub 1 successfully opened
[  115.306133] /dev/vmnet: open called by PID 1522 (vmnet-netifup)
[  115.306149] /dev/vmnet: port on hub 1 successfully opened
[  115.597933] /dev/vmnet: open called by PID 1531 (vmnet-dhcpd)
[  115.597950] /dev/vmnet: port on hub 1 successfully opened
[  115.630611] /dev/vmnet: open called by PID 1535 (vmnet-natd)
[  115.630624] /dev/vmnet: hub 2 does not exist, allocating memory.
[  115.630645] /dev/vmnet: port on hub 2 successfully opened
[  115.633925] /dev/vmnet: open called by PID 1536 (vmnet-netifup)
[  115.633943] /dev/vmnet: port on hub 2 successfully opened
[  115.734604] /dev/vmnet: open called by PID 1540 (vmnet-dhcpd)
[  115.734622] /dev/vmnet: port on hub 2 successfully opened
[  115.742352] /dev/vmnet: open called by PID 1549 (vmnet-natd)
[  115.742366] /dev/vmnet: hub 8 does not exist, allocating memory.
[  115.742390] /dev/vmnet: port on hub 8 successfully opened
[  115.760488] /dev/vmnet: open called by PID 1550 (vmnet-netifup)
[  115.760506] /dev/vmnet: port on hub 8 successfully opened
[  115.858616] /dev/vmnet: open called by PID 1554 (vmnet-dhcpd)
[  115.858640] /dev/vmnet: port on hub 8 successfully opened
[  125.744078] vmnet2: no IPv6 routers present
[  125.944077] vmnet1: no IPv6 routers present
[  125.984077] vmnet8: no IPv6 routers present
[ 2704.837109] wlan0: authenticate with 74:2f:68:66:aa:5d (try 1)
[ 2704.839220] wlan0: authenticated
[ 2704.839250] wlan0: associate with 74:2f:68:66:aa:5d (try 1)
[ 2704.842682] wlan0: RX AssocResp from 74:2f:68:66:aa:5d (capab=0x431 status=0 aid=2)
[ 2704.842686] wlan0: associated
[ 2704.849873] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2704.876181] /dev/vmnet: open called by PID 1509 (vmnet-bridge)
[ 2704.876196] /dev/vmnet: hub 0 does not exist, allocating memory.
[ 2704.876217] /dev/vmnet: port on hub 0 successfully opened
[ 2704.876236] bridge-wlan0: device is wireless, enabling SMAC
[ 2704.876241] bridge-wlan0: up
[ 2704.876245] bridge-wlan0: attached
[ 2827.074234] ath: Failed to stop TX DMA!


        cat /var/lib/NetworkManager/NetworkManager.state

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
     
     
      cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
              
               nm-tool

NetworkManager Tool

State: connected

- Device: wlan0  [Auto SG938UEJ3637SH] -----------------------------------------
  Type:              802.11 WiFi
  Driver:            ath9k
  State:             connected
  Default:           yes
  HW Address:        1C:4B:D6:1F:17:41

  Capabilities:
    Speed:           150 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    Candela:         Infra, 00:1D:7E:C1:17:24, Freq 2437 MHz, Rate 54 Mb/s, Strength 28 WPA
    *SG938UEJ3637SH: Infra, 74:2F:68:66:AA:5D, Freq 2457 MHz, Rate 54 Mb/s, Strength 61 WPA2

  IPv4 Settings:
    Address:         192.168.137.12
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.137.1

    DNS:             192.168.137.1


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            ATL1E
  State:             unavailable
  Default:           no
  HW Address:        90:E6:BA:5D:7C:6E

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


 iwconfig
 
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"SG938UEJ3637SH"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: 74:2F:68:66:AA:5D   
          Bit Rate=150 Mb/s   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:192  Invalid misc:331   Missed beacon:0

pan0      no wireless extensions.

vmnet1    no wireless extensions.

vmnet2    no wireless extensions.

vmnet8    no wireless extensions.


      

  iwlist chan
lo        no frequency information.

eth0      no frequency information.

wlan0     14 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz
          Current Frequency:2.457 GHz (Channel 10)

pan0      no frequency information.

vmnet1    no frequency information.

vmnet2    no frequency information.

vmnet8    no frequency information.

 sudo iwlist scan

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 74:2F:68:66:AA:5D
                    Channel:10
                    Frequency:2.457 GHz (Channel 10)
                    Quality=67/70  Signal level=-43 dBm  
                    Encryption key:on
                    ESSID:"SG938UEJ3637SH"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000051949b4d1
                    Extra: Last beacon: 28ms ago
                    IE: Unknown: 000E534739333855454A333633375348
                    IE: Unknown: 010482848B96
                    IE: Unknown: 03010A
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32088C129824B048606C
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 2D1A6E181EFF00000001000000000000000000000000000000000000
                    IE: Unknown: 3D160A070200000000000000000000000000000000000000
                    IE: Unknown: DD0600E04C020110
          Cell 02 - Address: 00:1D:7E:C1:17:24
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=23/70  Signal level=-87 dBm  
                    Encryption key:on
                    ESSID:"Candela"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000004872ae185
                    Extra: Last beacon: 712ms ago
                    IE: Unknown: 000743616E64656C61
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD090010180201F4000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

pan0      Interface doesn't support scanning.

vmnet1    Interface doesn't support scanning.

vmnet2    Interface doesn't support scanning.

vmnet8    Interface doesn't support scanning.

thank you very much

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

I am afraid it is a long standing bug in the ath9k driver, that has not been resolved yet, and that occurs under heavy load of the network interface.

This is the symptom:

[ 2827.074234] ath: Failed to stop TX DMA!

And a reboot is necessary to get wireless to work again.

Go to "search.gmane.org" and use the keywords  "ath: Failed to stop TX DMA" to see for yourself.

My advice is to use other hardware for your wireless needs until a solution is found, but, as I said, it is longstanding already.

If any one here knows of a better solution, please do not hesitate to step in.

If you poke the bear it is going to come after you.

Re: Asus K60iJx64 - Internet Connection speed slow and suddenly get stuck.

Thankyou Xaos52 for your time.

omg it is a long standing bug in the ath9k driver!!

I'm reading already all the threads about  Failed to stop TX DMA.
see if I find an alternative solution.

I'll try to use other wireless hardware.

I though another possibility.

I have a linksys router with a http://www.dd-wrt.com/site/index  software installed.

I want to connect that router to the windows machine that have the internet connection with Yota Jingle device and pass that connection to use the router as an ad-hoc network instead to use a virtual router.
So I will connect to the physical router.

Do you think is that possible?
Do you have an idea how to implement that?

Last edited by gunt (2012-02-07 21:14:37)