ath5k card disconnects after a while

Bug #759997 reported by henk0775
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.38-8-generic

I think that this happens because kernel can't change the regulatory domain of the module that is stuck in a unknown setting.
This is a regression, because it doesn't in linux 2.6.35

dmesg says this (the mac address is obliously obfuscated),
[ 214.763002] wlan0: authenticate with 00:0c:f6:xxx (try 1)
[ 214.780678] wlan0: authenticated
[ 214.780755] wlan0: associate with 00:0c:f6:xxx (try 1)
[ 214.847285] wlan0: RX AssocResp from 00:0c:f6:a3:03:c4 (capab=0x411 status=0 aid=3)
[ 214.847293] wlan0: associated
[ 214.848077] cfg80211: Calling CRDA for country: AT
[ 214.857172] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857180] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857183] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857187] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857190] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857194] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857197] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857201] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857204] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857207] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857210] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857214] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857217] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857220] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857223] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857227] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857230] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857233] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857236] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857240] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857243] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857246] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857249] cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857253] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857256] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
[ 214.857259] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
[ 214.857262] cfg80211: Disabling freq 2484 MHz
[ 214.857270] cfg80211: Regulatory domain changed to country: AT
[ 214.857272] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 214.857276] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 214.857279] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 214.857282] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 214.857285] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 219.388990] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 219.389001] cfg80211: Restoring regulatory settings
[ 219.389008] cfg80211: Calling CRDA to update world regulatory domain
[ 219.397837] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[ 219.397849] cfg80211: World regulatory domain updated:
[ 219.397852] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 219.397856] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 219.397860] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 219.397863] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 219.397866] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 219.397869] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 220.249456] wlan0: authenticate with 00:0c:f6:xxx (try 1)
[ 220.453207] wlan0: authenticate with 00:0c:f6:xxx (try 2)
[ 220.653242] wlan0: authenticate with 00:0c:f6:xxx (try 3)
[ 220.853353] wlan0: authentication with 00:0c:f6:xxx timed out

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
Regression: Yes
Reproducible: No
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
AcpiTables:
 Error: command ['gksu', '-D', 'Apport', '--', '/usr/share/apport/dump_acpi_tables.py'] failed with exit code 1: dump_acpi_tables('/sys/firmware/acpi/tables', sys.stdout)
   File "/usr/share/apport/dump_acpi_tables.py", line 43, in dump_acpi_tables
     tables = os.listdir(path)
 OSError: [Errno 2] No such file or directory: '/sys/firmware/acpi/tables'
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alex 1373 F.... pulseaudio
CRDA: Error: [Errno 2] File o directory non esistente
Card0.Amixer.info:
 Card hw:0 'IXP'/'ATI IXP rev 0 with ALC250 at 0xf0000400, irq 10'
   Mixer name : 'Realtek ALC250 rev 2'
   Components : 'AC97a:414c4752'
   Controls : 33
   Simple ctrls : 21
Card1.Amixer.info:
 Card hw:1 'Modem'/'ATI IXP Modem rev 1 at 0xf0000500, irq 10'
   Mixer name : 'Silicon Laboratory Si3036,8 rev 7'
   Components : 'AC97m:53494c27'
   Controls : 3
   Simple ctrls : 3
Card1.Codecs.codec97.0.mc97.1.1:
 1-1/0: Silicon Laboratory Si3036,8 rev 7

 Extended modem ID: codec=1 LIN1
 Modem status : GPIO MREF ADC1 DAC1 PRE(ADC2) PRF(DAC2) PRG(HADC) PRH(HDAC)
 Line1 rate : 8000Hz
CheckboxSubmission: d8986a9048eb2b67bf3aa0dc1e713af6
CheckboxSystem: b1865df84255b8716d3bcc269ff410d1
Date: Wed Apr 13 18:28:28 2011
Frequency: I don't know.
HibernationDevice: RESUME=UUID=ba46d418-8a2f-4912-9c0a-9efdb0fa32c9
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: TOSHIBA Satellite A60
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=it_IT:en
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=33b8e9ec-ca95-474b-a86d-f06e0f0c080c ro acpi=off quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.50
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-04-12 (1 days ago)
dmi.bios.date: 03/04/2005
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 1.90
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 8
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnTOSHIBA:bvrVersion1.90:bd03/04/2005:svnTOSHIBA:pnSatelliteA60:pvrPSA60E-09505UIT:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct8:cvrVersion1.0:
dmi.product.name: Satellite A60
dmi.product.version: PSA60E-09505UIT
dmi.sys.vendor: TOSHIBA

Revision history for this message
henk0775 (felici-alex-gmail) wrote :
Revision history for this message
henk0775 (felici-alex-gmail) wrote :

I want to say that I live in Italy, but the domain chosen is AT, Austria. I don't know why.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
edvar (edvar-f) wrote :

I'm having the same problem however I'm using an Atheros ath9 wireless card. It works for a day and then next day I lose connectivity. The wifi card continues loaded with a static IP Address assigned to it but I cannot connect to anything.

I tried to whitelist ath_pci on /etc/modprobe.d/blacklist-ath_pci.conf but the problem still persists. Also yesterday I enabled the ubuntu backports on my software sources but so far no kernel updates.

I live in Australia and the domain is correct as far as the syslog messages are concerned:

tail /var/log/syslog
May 18 08:09:06 ed-linux kernel: [ 4029.970605] cfg80211: Regulatory domain changed to country: AU
May 18 08:09:06 ed-linux kernel: [ 4029.970607] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 18 08:09:06 ed-linux kernel: [ 4029.970611] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 18 08:09:06 ed-linux kernel: [ 4029.970614] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 18 08:09:06 ed-linux kernel: [ 4029.970618] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 18 08:09:06 ed-linux kernel: [ 4029.970622] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
May 18 08:09:06 ed-linux wpa_supplicant[1616]: WPA: Key negotiation completed with 00:24:36:ab:42:a9 [PTK=CCMP GTK=CCMP]
May 18 08:09:06 ed-linux wpa_supplicant[1616]: CTRL-EVENT-CONNECTED - Connection to 00:24:36:ab:42:a9 completed (reauth) [id=0 id_str=]
May 18 08:09:06 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: 4-way handshake -> group handshake
May 18 08:09:06 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: group handshake -> completed

lspci -k
05:01.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
        Subsystem: D-Link System Inc Device 3a6b
        Kernel driver in use: ath9k
        Kernel modules: ath9k

uname -a
Linux ed-linux 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011 i686 i686 i386 GNU/Linux

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"

Revision history for this message
edvar (edvar-f) wrote :
Download full text (12.6 KiB)

Some more log entries:

May 18 07:17:06 ed-linux wpa_supplicant[1616]: WPA: Key negotiation completed with 00:24:36:ab:42:a9 [PTK=CCMP GTK=CCMP]
May 18 07:17:06 ed-linux wpa_supplicant[1616]: CTRL-EVENT-CONNECTED - Connection to 00:24:36:ab:42:a9 completed (reauth) [id=0 id_str=]
May 18 07:17:06 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: 4-way handshake -> group handshake
May 18 07:17:06 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: group handshake -> completed
May 18 07:17:56 ed-linux wpa_supplicant[1616]: WPA: Group rekeying completed with 00:24:36:ab:42:a9 [GTK=CCMP]
May 18 07:17:56 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: completed -> group handshake
May 18 07:17:56 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: group handshake -> completed
May 18 07:23:01 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: completed -> group handshake
May 18 07:23:01 ed-linux wpa_supplicant[1616]: WPA: Group rekeying completed with 00:24:36:ab:42:a9 [GTK=CCMP]
May 18 07:23:01 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: group handshake -> completed
May 18 07:23:05 ed-linux wpa_supplicant[1616]: CTRL-EVENT-DISCONNECTED bssid=00:24:36:ab:42:a9 reason=0
May 18 07:23:05 ed-linux NetworkManager[1464]: <info> (wlan0): supplicant connection state: completed -> disconnected
May 18 07:23:05 ed-linux kernel: [ 1268.964164] cfg80211: All devices are disconnected, going to restore regulatory settings
May 18 07:23:05 ed-linux kernel: [ 1268.964170] cfg80211: Restoring regulatory settings
May 18 07:23:05 ed-linux kernel: [ 1268.964175] cfg80211: Calling CRDA to update world regulatory domain
May 18 07:23:05 ed-linux kernel: [ 1268.968140] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
May 18 07:23:05 ed-linux kernel: [ 1268.968144] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
May 18 07:23:05 ed-linux kernel: [ 1268.968147] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
May 18 07:23:05 ed-linux kernel: [ 1268.968149] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
May 18 07:23:05 ed-linux kernel: [ 1268.968151] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
May 18 07:23:05 ed-linux kernel: [ 1268.968154] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
May 18 07:23:05 ed-linux kernel: [ 1268.968156] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
May 18 07:23:05 ed-linux kernel: [ 1268.968158] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
May 18 07:23:05 ed-linux kernel: [ 1268.968161] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
May 18 07:23:05 ed-linux kernel: [ 1268.968163] cfg80211: 2402000 KHz - 2482000 KHz @ KHz), (N/A mBi, 2000 mBm)
May 18 07:23:05 ed-linux kernel: [ 1268.968165] cfg80211: Updating information on frequency 2437 MHz fo...

Revision history for this message
edvar (edvar-f) wrote :
Revision history for this message
penalvch (penalvch) wrote :

henk0775, 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 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.

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.