168c:001c [Toshiba Satellite A210-1CF] ath5k phy0: gain calibration timeout

Bug #983025 reported by Sebastian Schlatow
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I sometimes lost the wifi-connection and I can't reconnect. Then I have to unload the ath5k kernel-module and suspend my laptop. Then I resume the session and load the ath5k. Then I can connect to the wifi-network. But often this connection get lost after a short time.

I tested it with mainline kernel v3.4-rc3-precise.
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc3-precise/
No "ath5k phy0: gain calibration timeout" message with this kernel version.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-23-generic 3.2.0-23.36
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-0ubuntu3
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: buzz-dee 2055 F.... pulseaudio
 /dev/snd/controlC0: buzz-dee 2055 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf8600000 irq 16'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:11c11040,11790001,00100200 HDA:10ec0268,1179ff0c,00100003'
   Controls : 17
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xf8010000 irq 46'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Mon Apr 16 14:18:27 2012
HibernationDevice: RESUME=UUID=0d3352ca-6a85-4f82-a581-3573ecb1471b
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120320)
MachineType: TOSHIBA Satellite A210
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-23-generic root=UUID=7f42be82-5def-4f1c-be8c-fda7338eb7c1 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:
 1: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/10/2008
dmi.bios.vendor: TOSHIBA
dmi.bios.version: V2.00
dmi.board.name: IALAA
dmi.board.vendor: TOSHIBA
dmi.board.version: 1.00
dmi.chassis.asset.tag: *
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnTOSHIBA:bvrV2.00:bd06/10/2008:svnTOSHIBA:pnSatelliteA210:pvrPSAELE-04T015GR:rvnTOSHIBA:rnIALAA:rvr1.00:cvnTOSHIBA:ct10:cvrN/A:
dmi.product.name: Satellite A210
dmi.product.version: PSAELE-04T015GR
dmi.sys.vendor: TOSHIBA

Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :
Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :
description: updated
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Sebastian Schlatow, thank you for reporting this and helping make Ubuntu better. 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.

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'.

Please let us know your results. Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-wifi needs-upstream-testing
tags: added: kernel-fixed-upstream
removed: needs-upstream-testing
Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :

I tested it with mainline kernel v3.4-rc3-precise.
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc3-precise/

No "ath5k phy0: gain calibration timeout" message with this kernel version.

~$ dmesg | grep ath
[ 11.056160] ath5k 0000:14:00.0: registered as 'phy0'
[ 11.605411] ath: EEPROM regdomain: 0x65
[ 11.605415] ath: EEPROM indicates we should expect a direct regpair map
[ 11.605420] ath: Country alpha2 being used: 00
[ 11.605422] ath: Regpair used: 0x65
[ 11.643112] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[ 3928.964056] ath5k_hw_get_isr: ISR: 0x00000001 IMR: 0x00000000
[ 4048.007322] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000

Revision history for this message
penalvch (penalvch) wrote :

Marking Triaged as mainline tested.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Changed in linux:
status: New → Invalid
description: updated
Revision history for this message
jcervilla (jcervilla) wrote :
Download full text (19.0 KiB)

This bug affects me long time ago. It is related to the hot when cpu is at high percentage of use for a long time. There's no way to recover wifi connection. I shutdown the laptop and start it again. Here is my hardware description. If you need something more, I can provide it you:

    descripción: Notebook
    producto: TravelMate 5510 ()
    fabricante: Acer
    versión: V2.82
    serie: LXTJR0X024712086C01601
    anchura: 32 bits
    capacidades: smbios-2.4 dmi-2.4 smp-1.4 smp
    configuración: boot=normal chassis=notebook cpus=2 uuid=39653861-3164-6264-3761-0016D4CE15D4
  *-core
       descripción: Placa base
       producto: Navarro
       fabricante: Acer
       id físico: 0
       versión: N/A
       serie: LXTJR0X024712086C01601
     *-firmware
          descripción: BIOS
          fabricante: Acer
          id físico: 0
          versión: V2.82
          date: 03/15/2007
          tamaño: 109KiB
          capacidad: 960KiB
          capacidades: pci pcmcia pnp upgrade shadowing escd cdboot bootselect int5printscreen int9keyboard int17printer int10video acpi usb agp smartbattery biosbootspecification
     *-cpu:0
          descripción: CPU
          producto: AMD Turion(tm) 64 X2 Mobile Technology TL-56
          fabricante: Hynix Semiconductor (Hyundai Electronics)
          id físico: 4
          información del bus: cpu@0
          versión: 15.8.2
          ranura: Socket M2/S1G1
          tamaño: 800MHz
          capacidad: 1800MHz
          anchura: 64 bits
          reloj: 200MHz
          capacidades: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy cpufreq
        *-cache:0
             descripción: L2 caché
             id físico: 5
             ranura: L2 Cache
             tamaño: 1MiB
             capacidad: 1MiB
             capacidades: synchronous internal write-back
        *-cache:1
             descripción: Caché L1
             id físico: 0
             tamaño: 128KiB
        *-cache:2
             descripción: Caché L2
             id físico: 1
             tamaño: 512KiB
     *-memory
          descripción: Memoria de sistema
          id físico: a
          ranura: Placa de sistema o placa base
          tamaño: 4GiB
        *-bank:0
             descripción: DIMM DDR2 Síncrono
             id físico: 0
             ranura: S1
             tamaño: 2GiB
             anchura: 64 bits
        *-bank:1
             descripción: DIMM DDR2 Síncrono
             id físico: 1
             ranura: S2
             tamaño: 2GiB
             anchura: 64 bits
     *-cpu:1
          id físico: 1
          información del bus: cpu@1
          versión: 15.8.2
          tamaño: 800MHz
          capacidad: 800MHz
          capacidades: cpufreq
        *-cache:0
             descripción: Caché L1
             id físico: 0
             tamaño: 128KiB
        *-cache:1
             descripción: Caché L2
             id físico: 1
             tamaño: 512KiB
     *-pci:0
          descripción: Host bridge
          producto: RS480 Host Bridge
 ...

Revision history for this message
penalvch (penalvch) wrote :

jcervilla, please execute the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
penalvch (penalvch) wrote :

Sebastian Schlatow, as a potential workaround, could you please try the compat-wireless backport kernel noted in https://launchpad.net/ubuntu/+source/linux-backports-modules-3.2.0 ?

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

I have installed those packages. I don't know if I have to do anymore. I'm testing it with this installation and by now, it seems to work fine. To be sure I need some days, but i have a good feeling just now. It is incredible how it is supporting load. I'll tell you something.

Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :

I installed "linux-backports-modules-cw-3.3-precise-generic". No "ath5k phy0: gain calibration timeout".

~$ dmesg | grep ath
[ 9.817315] ath5k 0000:14:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 9.817328] ath5k 0000:14:00.0: setting latency timer to 64
[ 9.817411] ath5k 0000:14:00.0: registered as 'phy0'
[ 10.397277] ath: EEPROM regdomain: 0x65
[ 10.397281] ath: EEPROM indicates we should expect a direct regpair map
[ 10.397287] ath: Country alpha2 being used: 00
[ 10.397289] ath: Regpair used: 0x65
[ 10.476684] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

~$ uname -a
Linux buzz-dee-laptop 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

penalvch (penalvch)
description: updated
Changed in linux (Ubuntu):
importance: Medium → Low
status: Incomplete → Triaged
Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :
Download full text (4.7 KiB)

Sorry, that problem also exists in the linux-backports-modules.

~$ uname -a
Linux buzz-dee-laptop 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

~$ dmesg | grep ath
[ 9.817315] ath5k 0000:14:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 9.817328] ath5k 0000:14:00.0: setting latency timer to 64
[ 9.817411] ath5k 0000:14:00.0: registered as 'phy0'
[ 10.397277] ath: EEPROM regdomain: 0x65
[ 10.397281] ath: EEPROM indicates we should expect a direct regpair map
[ 10.397287] ath: Country alpha2 being used: 00
[ 10.397289] ath: Regpair used: 0x65
[ 10.476684] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[12227.748534] ath5k 0000:14:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[12227.748551] ath5k 0000:14:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf8200004)
[12227.748556] ath5k 0000:14:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x8)
[12227.748563] ath5k 0000:14:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[12837.066051] ath5k phy0: gain calibration timeout (2412MHz)
[12837.396068] ath5k phy0: calibration of channel 1 failed
[12839.970743] ath5k phy0: gain calibration timeout (2412MHz)
[12840.565260] ath5k phy0: gain calibration timeout (2417MHz)
[12841.164132] ath5k phy0: gain calibration timeout (2422MHz)
[12841.657339] ath5k phy0: gain calibration timeout (2427MHz)
[12842.146309] ath5k phy0: gain calibration timeout (2432MHz)
[12842.632622] ath5k phy0: gain calibration timeout (2437MHz)
[12843.234650] ath5k phy0: gain calibration timeout (2442MHz)
[12843.718672] ath5k phy0: gain calibration timeout (2447MHz)
[12844.314516] ath5k phy0: gain calibration timeout (2452MHz)
[12844.799420] ath5k phy0: gain calibration timeout (2457MHz)
[12845.283034] ath5k phy0: gain calibration timeout (2462MHz)
[12845.768027] ath5k phy0: gain calibration timeout (2467MHz)
[12846.225611] ath5k phy0: gain calibration timeout (2472MHz)
[12846.682932] ath5k phy0: gain calibration timeout (2412MHz)
[12851.686041] ath5k phy0: gain calibration timeout (2412MHz)
[12852.281321] ath5k phy0: gain calibration timeout (2417MHz)
[12852.877394] ath5k phy0: gain calibration timeout (2422MHz)
[12853.363283] ath5k phy0: gain calibration timeout (2427MHz)
[12853.957287] ath5k phy0: gain calibration timeout (2432MHz)
[12854.553355] ath5k phy0: gain calibration timeout (2437MHz)
[12855.039054] ath5k phy0: gain calibration timeout (2442MHz)
[12855.633532] ath5k phy0: gain calibration timeout (2447MHz)
[12856.237942] ath5k phy0: gain calibration timeout (2452MHz)
[12856.867259] ath5k phy0: gain calibration timeout (2457MHz)
[12857.501962] ath5k phy0: gain calibration timeout (2462MHz)
[12858.098592] ath5k phy0: gain calibration timeout (2467MHz)
[12858.550674] ath5k phy0: gain calibration timeout (2472MHz)
[12859.003382] ath5k phy0: gain calibration timeout (2412MHz)
[12859.470747] ath5k phy0: gain calibration timeout (2412MHz)
[12859.960119] ath5k phy0: gain calibration timeout (2417MHz)
[12860.454983] ath5k phy0: gain calibration timeout (2422MHz)
[12860.945527] ath5k phy0: gain calibration timeout (2427MHz)
[1...

Read more...

penalvch (penalvch)
description: updated
Revision history for this message
jcervilla (jcervilla) wrote :

Today I have been testing this again an seems that solution works fine. I have installed more backports packages, not only linux-backports-modules-cw-3.3-precise-generic. This are my packages:

dpkg -l | grep linux-backports
ii linux-backports-modules-cw-3.3-3.2.0-24-generic-pae 3.2.0-24.8 compat-wireless Linux modules for version 3.2.0 on x86
ii linux-backports-modules-cw-3.3-precise-generic-pae 3.2.0.24.26 Backported wireless drivers for generic-pae kernel image
ii linux-backports-modules-net-3.2.0-24-generic-pae 3.2.0-24.8 Linux ethernet modules for version 3.2.0 on x86
ii linux-backports-modules-net-precise-generic-pae 3.2.0.24.26 Backported ethernet drivers for generic kernel image.

Revision history for this message
penalvch (penalvch) wrote :

jcervilla, please stop making comments in this report. If you are having a problem in Ubuntu, please continue to make comments in the report you filed https://bugs.launchpad.net/ubuntu/+source/linux/+bug/995530 , or if a different problem, file a new bug as already requested of you in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/983025/comments/7 .

Thanks!

summary: - ath5k phy0: gain calibration timeout
+ [168c:001c] ath5k phy0: gain calibration timeout
Revision history for this message
penalvch (penalvch) wrote : Re: [168c:001c] ath5k phy0: gain calibration timeout

Marking Medium as per comment 3b .

Changed in linux (Ubuntu):
importance: Low → Medium
Revision history for this message
Sebastian Schlatow (buzz-dee) wrote :
Download full text (5.8 KiB)

I tried the following mainline kernel versions a few days and there was no "ath5k phy0: gain calibration timeout" message.:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.3-precise/
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.4-precise/

In mainline kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.5-precise/ I get the "ath5k phy0: gain calibration timeout" message and I lost the wifi-connection.

~$ dmesg | grep ath
[ 14.034277] ath5k 0000:14:00.0: registered as 'phy0'
[ 14.565049] ath: EEPROM regdomain: 0x65
[ 14.565053] ath: EEPROM indicates we should expect a direct regpair map
[ 14.565058] ath: Country alpha2 being used: 00
[ 14.565060] ath: Regpair used: 0x65
[ 14.903629] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[15003.008997] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[15363.006203] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[32763.008753] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[40083.002586] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[42963.003379] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[52923.006883] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[54123.006255] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[54603.008746] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[55203.007999] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[57183.008557] ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x00000000
[60486.862594] ath5k phy0: gain calibration timeout (2412MHz)
[60487.192863] ath5k phy0: calibration of channel 1 failed
[60489.966013] ath5k phy0: gain calibration timeout (2412MHz)
[60490.561516] ath5k phy0: gain calibration timeout (2417MHz)
[60491.157448] ath5k phy0: gain calibration timeout (2422MHz)
[60491.646579] ath5k phy0: gain calibration timeout (2427MHz)
[60492.132769] ath5k phy0: gain calibration timeout (2432MHz)
[60492.619133] ath5k phy0: gain calibration timeout (2437MHz)
[60493.103376] ath5k phy0: gain calibration timeout (2442MHz)
[60493.587244] ath5k phy0: gain calibration timeout (2447MHz)
[60494.071599] ath5k phy0: gain calibration timeout (2452MHz)
[60494.555405] ath5k phy0: gain calibration timeout (2457MHz)
[60495.042887] ath5k phy0: gain calibration timeout (2462MHz)
[60495.526887] ath5k phy0: gain calibration timeout (2467MHz)
[60495.980163] ath5k phy0: gain calibration timeout (2472MHz)
[60496.436114] ath5k phy0: gain calibration timeout (2412MHz)
[60501.443371] ath5k phy0: gain calibration timeout (2412MHz)
[60501.928313] ath5k phy0: gain calibration timeout (2417MHz)
[60502.415065] ath5k phy0: gain calibration timeout (2422MHz)
[60502.898951] ath5k phy0: gain calibration timeout (2427MHz)
[60503.493566] ath5k phy0: gain calibration timeout (2432MHz)
[60504.091098] ath5k phy0: gain calibration timeout (2437MHz)
[60504.685973] ath5k phy0: gain calibration timeout (2442MHz)
[60505.171245] ath5k phy0: gain calibration timeout (2447MHz)
[60505.765487] ath5k phy0: gain calibration timeout (2452MHz)
[60506.367604] ath5k phy0: gain calibration timeout (2457MHz)
[60506.961540] ath5k phy0: gain calibration timeout (2462MHz)
[60507.449769] ath5k phy0: gain calibration timeout (2467MHz)
[60507.903215] ath5k phy0: gain calibr...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Sebastian Schlatow, 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 just make a comment to this?

no longer affects: linux
summary: - [168c:001c] ath5k phy0: gain calibration timeout
+ 168c:001c [Toshiba Satellite A210-1CF] ath5k phy0: gain calibration
+ timeout
Changed in linux (Ubuntu):
status: Triaged → 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.