ath5k driver with WPA2 breaks on Lucid kernel 2.6.32-22

Bug #584780 reported by Plutocrat
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Seemed related to other bugs, but this is a new issue. Hardware is a Thinkpad R51e with Atheros chip:

  *-network
       description: Wireless interface
       product: Atheros AR5001X+ Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 2
       bus info: pci@0000:04:02.0
       logical name: wlan0
       version: 01
       serial: 00:16:ce:61:40:aa
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath5k ip=10.11.12.108 latency=168 maxlatency=28 mingnt=10 multicast=yes wireless=IEEE 802.11bg
       resources: irq:22 memory:a0300000-a030ffff

Driver worked fine in 9.10, and on new installation of 10.04. On upgrading kernel from 2.6.32-21 to 2.6.32-22, problems started to occur. Initial connection to WPA2 access point is fine on boot up. After around 1 hour, connection will drop and cannot be re-negotiated. Restarting network is ineffective. Change to wicd is ineffective. Rebooting is the only way to get a connection again.

Rebooting into kernel 2.6.32-21 also fixes the problem.

WORKAROUND: if using WPA/WPA2-personal security mode had to have the encryption on my router set to AES only.

Entries in logfiles around the time of the problem:
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 20 10:07:27 porky NetworkManager: <info> (wlan0): device state change: 6 -> 4 (reason 0)
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 20 10:07:27 porky NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0)
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0/wireless): connection 'Auto doughnut' has security, and secrets exist. No new secrets needed.
May 20 10:07:27 porky NetworkManager: <info> Config: added 'ssid' value 'doughnut'
May 20 10:07:27 porky NetworkManager: <info> Config: added 'scan_ssid' value '1'
May 20 10:07:27 porky NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK'
May 20 10:07:27 porky NetworkManager: <info> Config: added 'psk' value '<omitted>'
May 20 10:07:27 porky NetworkManager: nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
May 20 10:07:27 porky NetworkManager: nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
May 20 10:07:27 porky NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 20 10:07:27 porky NetworkManager: <info> Config: set interface ap_scan to 1
May 20 10:07:27 porky NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
May 20 10:08:27 porky NetworkManager: <info> Activation (wlan0/wireless): association took too long.
May 20 10:08:27 porky NetworkManager: <info> (wlan0): device state change: 5 -> 6 (reason 0)
May 20 10:08:27 porky NetworkManager: <info> Activation (wlan0/wireless): asking for new secrets
May 20 10:08:27 porky NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected
May 20 10:08:42 porky NetworkManager: <info> wlan0: link timed out.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: slave 1628 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'IXP'/'ATI IXP rev 2 with AD1981B at 0xa0003400, irq 17'
   Mixer name : 'Analog Devices AD1981B'
   Components : 'AC97a:41445374'
   Controls : 28
   Simple ctrls : 20
Card1.Amixer.info:
 Card hw:1 'Modem'/'ATI IXP Modem rev 2 at 0xa0003800, irq 17'
   Mixer name : 'Conexant id 23'
   Components : 'AC97m:43585423'
   Controls : 2
   Simple ctrls : 2
Card1.Codecs.codec97.0.mc97.1.1:
 1-1/0: Conexant id 23

 Extended modem ID: codec=1 LIN1
 Modem status : PRA(GPIO) PRB(res) PRC(ADC1) PRD(DAC1) PRE(ADC2) PRF(DAC2) PRG(HADC) PRH(HDAC)
 Line1 rate : 8000Hz
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 78HT06WW-1.01'
   Mixer name : 'ThinkPad EC 78HT06WW-1.01'
   Components : ''
   Controls : 2
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 14
   Mono: Playback 7 [50%] [on]
Date: Mon May 24 09:31:32 2010
HibernationDevice: RESUME=UUID=5e3e7ed8-9cb4-4d97-881f-942c83ff605b
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
Lsusb:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 15d9:0a4d Dexon
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=7395832c-75f6-4dce-8121-ad3446541b58 ro quiet splash
ProcEnviron:
 LANG=en_PH.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
WifiSyslog:
 May 24 08:39:25 porky kernel: [ 3519.276896] cfg80211: Found new beacon on frequency: 2472 MHz (Ch 13) on phy0
 May 24 09:21:33 porky kernel: [ 6047.092333] pcmcia: Detected deprecated PCMCIA ioctl usage from process: lshw.
 May 24 09:21:33 porky kernel: [ 6047.092339] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
 May 24 09:21:33 porky kernel: [ 6047.092342] pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
dmi.bios.date: 12/07/2006
dmi.bios.vendor: IBM
dmi.bios.version: 78ET71WW (1.61 )
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr78ET71WW(1.61):bd12/07/2006:svnIBM:pn:pvrThinkPadR51e:rvnIBM:rn:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.version: ThinkPad R51e
dmi.sys.vendor: IBM

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

Hi Plutocrat,

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
Revision history for this message
Shompol (shompol) wrote :

WORKAROUND FOUND!!!!!

http://ubuntuforums.org/showthread.php?t=1476275

<b>Quote:
Originally Posted by solobluejay View Post
if using WPA/WPA2-personal security mode had to have the encrpytion on my router set to AES only and connected no problem
</b>

I have two unrelated computers, both with Atheros card, stopped connecting after update. A simple router setting change gets it to work!

Now that the problem is identified, I hope they fix it.

2.6.32-23-generic
           *-network
                description: Wireless interface
                product: AR9285 Wireless Network Adapter (PCI-Express)
                vendor: Atheros Communications Inc.

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

Plutocrat, thank you for reporting this and helping make Ubuntu better. 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? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

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

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

Also, if you could 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.

description: updated
Changed in linux (Ubuntu):
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.