ath9k driver issue after installing virtualbox4.1.12

Bug #981723 reported by Sasa Paporovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbox
Fix Released
Unknown
linux (Ubuntu)
Incomplete
Medium
Unassigned
linux (openSUSE)
Unknown
Medium

Bug Description

I am on Ubuntu12.04 64bit updated to 14.4.2012

An simple installation of virtualbox 4.1.12 causes ath9k driver problems.

The speed of the wireless internetconnectin is dropping <100kbit from 700kbit at maximum.

This change is permanent.

I have also reported this a longer time ago to opensuse bugtracker.

---------------------------------------------------------------
On opensuse was no bughandling on this.

On virtualbox bugtracker they do not beliefe that this is a conclusive bug.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-generic 3.2.0.23.25
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: user 2836 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe7f4000 irq 16'
   Mixer name : 'Realtek ALC889'
   Components : 'HDA:10ec0889,14627596,00100004'
   Controls : 46
   Simple ctrls : 22
Date: Sat Apr 14 18:30:50 2012
HibernationDevice: RESUME=UUID=138839c4-e434-4a2c-8e79-6725810b51e8
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64+mac (20120328)
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7596
ProcEnviron:
 PATH=(custom, no username)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=00ec9d51-a52f-4879-b208-5bf9136b7e49 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-23-generic N/A
 linux-backports-modules-3.2.0-23-generic N/A
 linux-firmware 1.79
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/03/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.8
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 760GM -E51 (MS-7596)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.8:bd09/03/2010:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7596:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rn760GM-E51(MS-7596):rvr1.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr1.0:
dmi.product.name: MS-7596
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

I´ve switched from kernel head kernel-desktop-3.0.0-4.1.x86_64 to kernel kernel-desktop-3.0.0-38.1.x86_64 from tumbleweed, which causes some problmes.
Virtalbox(the ..38.1 module for VB4.1 was also installed) was not able to start any guest and I get a break in my internet connection after some minutes(ath9k for my TPLINK),, so whatever you´ve done to kernel-desktop-3.0.0-38.1.x86_64 it is not recommend.
I´ve switched back(multi kernel system) to kernel-desktop-3.0.0-4.1.x86_64 and all worls again very smooth.

Some logs will be attached, when you missing something, please contact me.

The packages:

user@linux-9aw6:~> rpm -qa | grep kernel
kernel-desktop-3.0.0-4.1.x86_64
kernel-default-debuginfo-3.0.0-4.1.x86_64
kernel-xen-debuginfo-3.0.0-4.1.x86_64
kerneloops-applet-0.12-41.1.x86_64
kernel-desktop-devel-debuginfo-3.0.0-4.1.x86_64
kernel-xen-devel-3.0.0-4.1.x86_64
kernel-syms-3.0.0-4.1.x86_64
kerneloops-0.12-41.1.x86_64
kernel-xen-devel-debuginfo-3.0.0-4.1.x86_64
kerneloops-debugsource-0.12-41.1.x86_64
kernel-desktop-debugsource-3.0.0-4.1.x86_64
kerneloops-debuginfo-0.12-41.1.x86_64
nfs-kernel-server-1.2.3-27.1.x86_64
kernel-desktop-debuginfo-3.0.0-4.1.x86_64
kernel-xen-3.0.0-4.1.x86_64
kernel-default-3.0.0-4.1.x86_64
patterns-openSUSE-devel_kernel-11.4-6.9.1.x86_64
kernel-default-devel-debuginfo-3.0.0-4.1.x86_64
kernel-firmware-20110709-42.1.noarch
kernel-desktop-3.0.0-38.1.x86_64
kernel-default-devel-3.0.0-4.1.x86_64
kerneloops-applet-debuginfo-0.12-41.1.x86_64
kernel-devel-3.0.0-4.1.noarch
kernel-desktop-devel-3.0.0-4.1.x86_64
kernel-xen-debugsource-3.0.0-4.1.x86_64
kernel-source-3.0.0-4.1.noarch
kernel-default-debugsource-3.0.0-4.1.x86_64
user@linux-9aw6:~> rpm -qa | grep virtualbox
virtualbox-host-kmp-desktop-4.1.0_k3.0.0_5-2.4.x86_64
virtualbox-qt-debuginfo-4.1.0-2.4.x86_64
virtualbox-qt-4.1.0-9.1.x86_64
virtualbox-4.1.0-9.1.x86_64
virtualbox-debuginfo-4.1.0-2.4.x86_64
virtualbox-host-kmp-desktop-debuginfo-4.1.0_k3.0.0_5-2.4.x86_64
virtualbox-debugsource-4.1.0-2.4.x86_64

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Created an attachment (id=443318)
localmessages, messages, warn, yast2 folder

Revision history for this message
In , Jslaby-h (jslaby-h) wrote :

Sorry, virtualbox is not supported with tumbleweed.

Regarding ath9k issue. Could you attach (uncompressed) dmesg output?

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

I attach dmesg output the next time I have a crashed network.-> I´am on kernel 3.0.0-10 now, which works better than ...the original reported here.-> But htere are still problems.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Created an attachment (id=447967)
got a dmesg output

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

I am now on kernel 3.0.3-41 default.But it is the same with every kernel.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

*** Bug 681122 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jslaby-h (jslaby-h) wrote :

(In reply to comment #4)
> Created an attachment (id=447967) [details]
> got a dmesg output

Ok, thanks. It's clear now what it does:
ath: Unable to reset channel (2462 MHz), reset status -5
ath: Unable to reset channel (2462 MHz), reset status -5
ath: Could not kill baseband RX
ath: Unable to reset channel (2412 MHz), reset status -5

It's still unclear to me why it happens though.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

o.K,
I´ve prevent myself until now(and would like to do it further),
but would it help to do something from this stuff:

http://linuxwireless.org/en/users/Drivers/ath9k/debug

If yes or you have some other stuff in mind, can you give me a workflow for what to do?

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Created an attachment (id=448727)
I´ve also sometimes problems on sytem start - no network

Revision history for this message
In , Jslaby-h (jslaby-h) wrote :

(In reply to comment #8)
> o.K,
> I´ve prevent myself until now(and would like to do it further),
> but would it help to do something from this stuff:
>
> http://linuxwireless.org/en/users/Drivers/ath9k/debug
>
> If yes or you have some other stuff in mind, can you give me a workflow for
> what to do?

Ideally, if you could reproduce with kernel-vanilla:
http://download.opensuse.org/repositories/Kernel:/vanilla/standard/
and report to upstream developers either via bugzill.kernel.org (after kernel.org is turned back to life) or directly via atheros list: <email address hidden>

Revision history for this message
In , Jslaby-h (jslaby-h) wrote :

*** Bug 681082 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jslaby-h (jslaby-h) wrote :

Closed due to lack of response.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Oh, have not recognized that you have closed this.

I have had time today to do it and the technikal equipment -> for several month I could not install openSUSE.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

This bug is back on openSUSE12.1 with kernel 3.1.0 in full hight, like it was on kernel 2.37.1 or 2.37.6. -> Very bad.

------------------------------------------------------------------------------

So what I´ve done is to set debugging for ath9k on in openSUSE 12.1 with /usr/scr/linux ~ make menuconfig

like it is described on :

http://linuxwireless.org/en/users/Drivers/ath9k/debug

-------------------------------------------------------------------------------

It was catastrophic for my wireless connection -> after a newstart with vanilla kernel3.1.0 wireless connection breaks completely on start.

-------------------------------------------------------------------------------

Another newstart with desktop kernel3.1.0 has the same consequences.->no wireless on start.

-------------------------------------------------------------------------------

I would like to keep it on this bugtacker for now until it is a little bit more clearer what it could be -> hope this is o.k for you.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Created an attachment (id=464112)
kernel3.1.0 vanilla logs - in full debugging mode - messages, warn , many more

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Created an attachment (id=464114)
kernel3.1.0 desktop logs - full debugging mode - messagge, warn, many more

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Ahaha,
I´ve located it, well ... better.

I´ve installed openSUSE12.1 now for several times.

In principle this bug is a bug for ath9k by itself, because it is unstable also on fedora15, fedora16, ubuntu11.4 and ubuntu11.10(I´ve all seen an bare hardware) and -this is the point- without virtualbox installations!

BUT: When I do virtulabox installations(don´t know why I did not see that before!?), the stability of ath9k decreases dramatically, such to a state were wireless network is useless.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

The think is:

It´s mostly up to virtualbox developers to handle this, because they have old hard bugs there which affect also the windows platform. This shows that it is a problem which their network implementation and not so of any kernel.

Beside of this also the kernel should not allow a program to corrupt the whole network.

Revision history for this message
In , Sasa Paporovic (melchiaros) wrote :

Any suggestions? I´am standing a bit in the rain with this.

Revision history for this message
In , Megavolte (megavolte) wrote :
Download full text (10.8 KiB)

I have a similar problem in opensuse 12.1, kernel 3.1, cards usb wifi TP-link tl-wn821n

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 002 Device 005: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]
Bus 004 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser

Logs:

kernel: [ 8346.408039] ath: Chip reset failed
kernel: [ 8346.408052] ath: Unable to reset channel (2412 Mhz) reset status -22
kernel: [ 8346.408058] ath: Unable to set channel
kernel: [ 8355.708128] ath: Unable to remove station entry for: f4:ec:38:e6:88:3c
kernel: [ 9363.655059] ath: Chip reset failed
kernel: [ 9363.655075] ath: Unable to reset channel (2417 Mhz) reset status -22
kernel: [ 9363.655082] ath: Unable to set channel

and udev logs:

udevd[468]: seq 1946 queued, 'remove' 'leds'
udevd[468]: passed 170 bytes to netlink monitor 0x622210
udevd[7894]: seq 1946 running
udevd[7894]: no db file to read /run/udev/data/+leds:ath9k_htc-phy0: No such file or directory
kernel: [ 3181.755304] wlan0: deauthenticating from f4:ec:38:e6:88:3c by local choice (reason=3)
udevd[7894]: passed -1 bytes to netlink monitor 0x622690
udevd[468]: seq 1946 done with 0
udevd[7894]: seq 1946 processed with 0
kernel: [ 3181.765682] ath: Failed to wakeup in 500us
kernel: [ 3181.766842] cfg80211: Calling CRDA to update world regulatory domain
udevd[468]: seq 1947 queued, 'change' 'platform'
udevd[468]: passed 175 bytes to netlink monitor 0x622210
udevd[7894]: seq 1947 running
udevd[7894]: device 0x622300 has devpath '/devices/platform/regulatory.0'
udevd[7894]: no db file to read /run/udev/data/+platform:regulatory.0: No such file or directory
udevd[7894]: device 0x625040 has devpath '/devices/platform'
udevd[7894]: RUN '/sbin/modprobe -bv $env{MODALIAS}' /lib/udev/rules.d/80-drivers.rules:5
udevd[7894]: RUN '/sbin/crda' /lib/udev/rules.d/85-regulatory.rules:5
udevd[15516]: starting '/sbin/modprobe -bv platform:regulatory'
kernel: [ 3181.888636] ath: Failed to wakeup in 500us
udevd[468]: seq 1948 queued, 'remove' 'queues'
udevd[468]: seq 1948 forked new worker [15521]
udevd[468]: seq 1949 queued, 'remove' 'queues'
udevd[15521]: seq 1948 running
udevd[15521]: no db file to read /run/udev/data/+queues:rx-0: No such file or directory
udevd[15521]: passed -1 bytes to netlink monitor 0x626a40
udevd[15521]: seq 1948 processed with 0
udevd[468]: seq 1949 forked new worker [15522]
udevd[468]: seq 1948 done with 0
udevd[468]: seq 1950 queued, 'remove' 'queues'
udevd[468]: passed 174 bytes to netlink monitor 0x622210
udevd[468]: seq 1951 queued, 'remove' 'queues'
udevd[468]: seq 1951 forked new worker [15523]
udevd[468]: seq 1952 queued, 'remove' 'queues'
udevd[15523]: seq 1951 running
udevd[468]: seq 1952 forked new worker [15524]
udevd[15523]: no db file to read /run/udev/data/+queues:tx-1: No such file or directory
udevd[468]: seq 1953 queued, 'remove' 'net'
udevd[15521]: seq 1950 running
udevd[15521]: no db file to read /run/udev/da...

Revision history for this message
In , Megavolte (megavolte) wrote :

I'm boot new liveDVD Kubuntu, wifi work no problem.

Revision history for this message
In , Ciro-iriarte (ciro-iriarte) wrote :

ath9k behaves better after upgrading to kernel 3.x from stock kernel in OS 11.4. After resuming laptop it stops working, but it's usable after "modprobe -r ath9k" and "modprobe ath9k"

Revision history for this message
In , Megavolte (megavolte) wrote :

I'm upgrade opensuse 11.4 to 12.1 kernel 3.1. Wifi works, but after some time usb wifi adapter is disabled. I have to take out and insert it again.

Revision history for this message
Sasa Paporovic (melchiaros) wrote :
description: updated
description: updated
affects: linux → virtualbox
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Sasa Paporovic (melchiaros) wrote :
Changed in linux (openSUSE):
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in virtualbox:
status: Unknown → New
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc3-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Changed in virtualbox:
status: New → Fix Released
Revision history for this message
In , Machen-i (machen-i) wrote :

Is this wifi module a USB gadget ?

Revision history for this message
In , Megavolte (megavolte) wrote :

Yes.

Changed in linux (openSUSE):
status: Confirmed → Incomplete
Revision history for this message
petar (petars-70) wrote :

This is problem of driver or firmware or hardware device. I have TL-WN722N and have same terrible experience. I used it as AP on debian 6. After problem tried latest hostapd and latest compat-wireless(self compiled) but no luck. Looks like tplink have problem with wifi devices because their router(1043) loosing wifi conection too after about 24 hours.

Revision history for this message
petar (petars-70) wrote :

message that i get when wifi stops: ath: phy1: unable to remove station entry for: <mac address removed>

and with DWA-140 no problem after 2 weeks work but range is worst

Revision history for this message
In , Machen-i (machen-i) wrote :

Sorry for very late response. I've recently got a Atheros USB module to test. This one is working fine to me with the kernel v3.8, ath9k_htc.

So I don't see the issue happen to me. Would you like to duplicate it for me. I'd like to see what to dig. :)

Revision history for this message
In , Jcheung (jcheung) wrote :

Hi Evgeny, since openSUSE 12.3 is out, can you retest on the latest version to see if problem still exist or not ?

Revision history for this message
In , Jcheung (jcheung) wrote :

I closed for noresponse as no update from user since comment#25 for almost a year.

openSUSE 12.3 is out and kernel version is 3.7, please test on latest version and fire a new bugzilla then.

Changed in linux (openSUSE):
status: Incomplete → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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