ath5k driver (AR2413): dropped packets, high latency

Bug #565892 reported by smlx
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Using the ath5k driver (AR2413 chip) on the lucid kernel I get high latencies and dropped packets. eg. Web pages load slowly if at all. I believe it is related to this bug in fedora: https://bugzilla.redhat.com/show_bug.cgi?id=506372

I tried installing linux-backports-modules-wireless-lucid-generic (linux-backports-modules-wireless-2.6.32-21-generic at the time of this report) and also tried loading ath5k with:

modprobe ath5k nohwcrypt=1
AND
modprobe ath5k nohwcrypt=0

Neither of these had any effect on the problem. However, installing the 2.6.33 kernel from the mainline ppa fixes the problem completely!
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33/

I will attach the results of pinging my router under both the 2.6.32 and 2.6.33 kernels for proof of the fix.

A backported patch for the lucid kernel would be great! :-)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: scottl 1559 F.... kmix
 /dev/snd/controlC0: scottl 1559 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe9300000 irq 22'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a002,00100101'
   Controls : 43
   Simple ctrls : 24
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xe5010000 irq 17'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
Date: Sun Apr 18 19:11:48 2010
HibernationDevice: RESUME=UUID=3d5ade3c-5b98-4b53-8040-51f5e201bc40
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
MachineType: Gigabyte Technology Co., Ltd. EP45-DS3
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=48631c15-5a8c-4695-8ef0-a258637d1b0b ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_AU.UTF-8
 LANGUAGE=
RelatedPackageVersions: linux-firmware 1.34
SourcePackage: linux
dmi.bios.date: 07/23/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F7
dmi.board.name: EP45-DS3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7:bd07/23/2008:svnGigabyteTechnologyCo.,Ltd.:pnEP45-DS3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP45-DS3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP45-DS3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
smlx (sml) wrote :
Revision history for this message
smlx (sml) wrote :

ping showing the bug under the 2.6.32 kernel

Revision history for this message
smlx (sml) wrote :

ping on 2.6.33 kernel - bug free!

Revision history for this message
smlx (sml) wrote :

Forgot to mention: this bug also affected me in Karmic, and was fixed by using the 2.6.33-rc4 kernel.

Revision history for this message
SimonP (peeters-simon) wrote :

having the same problem but installing linux-image-2.6.33-020633-generic_2.6.33-020633_i386.deb did make it even worse, now i even can't connect to the network, i really need to get this to work because it isn't my laptop (and the owner wants it back in about a week an he doesn't know anything about linux (under the hood i mean)

Revision history for this message
smlx (sml) wrote :

Interesting. I'm on amd64. I wonder does your laptop processor support 64-bit?

Revision history for this message
smlx (sml) wrote :

Also, are you sure the problem isn't higher up the stack? Can you see networks to connect to using iwlist scan ?

Revision history for this message
tessonec (tessonec) wrote :

I can confirm this bug on Lucid RC. I took a different path to circumvent the problem: I installed the madwifi module (yeah, I know, I know, but it was a pragmatic choice), and now the problem in gone.

I have the very same chipset as scomar.

I would try the mainline kernel one of these days. But I will also follow the development of this bug

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi scomar,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. 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. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
smlx (sml)
tags: removed: needs-upstream-testing
Revision history for this message
tessonec (tessonec) wrote :

I have tried the mainline kernel, 2.6.34rc7, but the problem persists... Do you have any idea what would be going on? Routing, IPV6, wrong module parameters for our chipset? I would like to test another thing,

Revision history for this message
exogenetic (exogenetic) wrote :

I have the exact same problem. Firefox had timeouts and extremely long hangs loading pages. I did not test other GUI apps. However, I could use the terminal to run updates (apt-get).

By chance, I found this behavior was linked to wireless security. Once I removed all my wireless security, web browsing worked normally. I tried using both WEP 128 bit encryption, and WPA2. I had the same issue both times, pages (namely ubuntu.com) would not load or would hang somewhere along the way.

PERHAPS THE ORIGINAL AUTHOR MIGHT KNOW A BETTER PACKAGE HINT, AS I AM NOT TECH SAVVY ENOUGH TO
SUGGEST THE CORRECT ONE.

Excerpt from my lspci -vnn output:

09:04.0 Ethernet controller [0200]: Atheros Communications Inc. AR2413 802.11bg NIC [168c:001a] (rev 01)
 Subsystem: Askey Computer Corp. Device [144f:7094]
 Flags: bus master, medium devsel, latency 168, IRQ 22
 Memory at c0110000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath5k
 Kernel modules: ath5k

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
exogenetic (exogenetic) wrote :

I'd like to add one more comment to the above. When my wireless access point was set to use WEP or WPA2, in both cases, I had an incident where my processor kept running at 100 percent when it tried to load a page. It stayed at 100 percent even after closing Firefox. Whatever it was, it did not show up on the process list on the system monitor. It could only be stopped by either logging out or restarting. This, along with the other issues mention above, vanished when using an unsecured connection.

Revision history for this message
exogenetic (exogenetic) wrote :

I forgot one more detail that might be useful. I could log in to the router and change the security settings using AR2413 wireless.

Revision history for this message
Francisco Castillo (panchokoster) wrote :

I am having the same issue on my 32 bit laptop, everything was ok until karmic. i am still using jaunty because of it.

Revision history for this message
plrca2 (plrca2) wrote :

I seem to be having the same issues as exogenetic. I've got the same card too. With encryption, either wep or wpa, the card drops packets. Without encryption, things work fine. This card used to work fine with the old madwifi drivers.
Using kernel 2.6.33.5-lucid doesn't solve the problem.

Revision history for this message
penalvch (penalvch) wrote :

sml, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.