2008-12-22 05:32:13

by Soeren Sonnenburg

[permalink] [raw]
Subject: ath5k_pci: gain calibration timeout / unable to reset hardware -11

Hi,

I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
for some time but then suddenly messages like the ones below appear and
I have to *turn off* the machine to get it back working (even booting to
osx is not sufficient - osx won't have network when things go wrong as
they do after a couple of hours). Note that this happens with both
2.6.27 and .28.

Soeren


(things were working at first and then not and then the symptom occured)

$ dmesg | grep ath5k

ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath5k_pci 0000:03:00.0: setting latency timer to 64
ath5k_pci 0000:03:00.0: registered as 'phy0'
ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
ath5k_pci 0000:03:00.0: PCI INT A disabled
ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath5k_pci 0000:03:00.0: setting latency timer to 64
ath5k_pci 0000:03:00.0: registered as 'phy0'
ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
ath5k_pci 0000:03:00.0: PCI INT A disabled
ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath5k_pci 0000:03:00.0: setting latency timer to 64
ath5k_pci 0000:03:00.0: registered as 'phy0'
ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5270MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: gain calibration timeout (5765MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5765 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5270MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: gain calibration timeout (5765MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5765 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration failed (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (5245MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: noise floor calibration failed (5745MHz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k_pci 0000:03:00.0: PCI INT A disabled
ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath5k_pci 0000:03:00.0: setting latency timer to 64
ath5k_pci 0000:03:00.0: registered as 'phy0'
ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5270MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5245MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: noise floor calibration timeout (5815MHz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5245MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: noise floor calibration timeout (5815MHz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: can't reset hardware (-11)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (5240MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5240 Mhz)
ath5k phy0: gain calibration timeout (5245MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5315MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5315 Mhz)
ath5k phy0: noise floor calibration timeout (5320MHz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: gain calibration timeout (5805MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5805 Mhz)
ath5k phy0: gain calibration timeout (5810MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5810 Mhz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: gain calibration timeout (2417MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
ath5k phy0: gain calibration timeout (2422MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
ath5k phy0: gain calibration timeout (2427MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
ath5k phy0: gain calibration timeout (2432MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
ath5k phy0: gain calibration timeout (2437MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
ath5k phy0: gain calibration timeout (5245MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
ath5k phy0: gain calibration timeout (5250MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
ath5k phy0: gain calibration timeout (5255MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
ath5k phy0: gain calibration timeout (5260MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
ath5k phy0: gain calibration timeout (5265MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
ath5k phy0: gain calibration timeout (5320MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
ath5k phy0: gain calibration timeout (5745MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
ath5k phy0: gain calibration timeout (5750MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
ath5k phy0: gain calibration timeout (5755MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
ath5k phy0: gain calibration timeout (5760MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
ath5k phy0: gain calibration timeout (5810MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5810 Mhz)
ath5k phy0: gain calibration timeout (5815MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
ath5k phy0: gain calibration timeout (5820MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
ath5k phy0: gain calibration timeout (5825MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)
ath5k phy0: noise floor calibration timeout (2412MHz)


after a fresh reboot

$ dmesg | grep ath

ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ath5k_pci 0000:03:00.0: setting latency timer to 64
ath5k_pci 0000:03:00.0: registered as 'phy0'
ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: unable to reset hardware: -11
ath5k phy0: gain calibration timeout (2412MHz)
ath5k phy0: unable to reset hardware: -11


2008-12-22 20:54:05

by Bob Copeland

[permalink] [raw]
Subject: Re: ath5k_pci: gain calibration timeout / unable to reset hardware -11

On Mon, Dec 22, 2008 at 12:31 AM, Soeren Sonnenburg <[email protected]> wrote:
> Hi,
>
> I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
> for some time but then suddenly messages like the ones below appear and
> I have to *turn off* the machine to get it back working (even booting to
> osx is not sufficient - osx won't have network when things go wrong as
> they do after a couple of hours). Note that this happens with both
> 2.6.27 and .28.

Hi Soeren,

Thanks for the report. It is a known problem, with a bugzilla entry already:

http://bugzilla.kernel.org/show_bug.cgi?id=12080

--
Bob Copeland %% http://www.bobcopeland.com

2008-12-22 20:59:13

by Andrew Morton

[permalink] [raw]
Subject: Re: ath5k_pci: gain calibration timeout / unable to reset hardware -11

(cc linux-wireless)

On Mon, 22 Dec 2008 06:31:53 +0100
Soeren Sonnenburg <[email protected]> wrote:

> Hi,
>
> I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
> for some time but then suddenly messages like the ones below appear and
> I have to *turn off* the machine to get it back working (even booting to
> osx is not sufficient - osx won't have network when things go wrong as
> they do after a couple of hours). Note that this happens with both
> 2.6.27 and .28.
>
> Soeren
>
>
> (things were working at first and then not and then the symptom occured)
>
> $ dmesg | grep ath5k
>
> ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ath5k_pci 0000:03:00.0: setting latency timer to 64
> ath5k_pci 0000:03:00.0: registered as 'phy0'
> ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
> ath5k_pci 0000:03:00.0: PCI INT A disabled
> ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ath5k_pci 0000:03:00.0: setting latency timer to 64
> ath5k_pci 0000:03:00.0: registered as 'phy0'
> ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
> ath5k_pci 0000:03:00.0: PCI INT A disabled
> ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ath5k_pci 0000:03:00.0: setting latency timer to 64
> ath5k_pci 0000:03:00.0: registered as 'phy0'
> ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: can't reset hardware (-11)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5270MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: gain calibration timeout (5765MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5765 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: can't reset hardware (-11)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5270MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: gain calibration timeout (5765MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5765 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration failed (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (5245MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: noise floor calibration failed (5745MHz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k_pci 0000:03:00.0: PCI INT A disabled
> ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ath5k_pci 0000:03:00.0: setting latency timer to 64
> ath5k_pci 0000:03:00.0: registered as 'phy0'
> ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: can't reset hardware (-11)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5270MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5270 Mhz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5245MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: noise floor calibration timeout (5815MHz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5245MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: noise floor calibration timeout (5815MHz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: can't reset hardware (-11)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (5240MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5240 Mhz)
> ath5k phy0: gain calibration timeout (5245MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5315MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5315 Mhz)
> ath5k phy0: noise floor calibration timeout (5320MHz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: gain calibration timeout (5805MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5805 Mhz)
> ath5k phy0: gain calibration timeout (5810MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5810 Mhz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: gain calibration timeout (2417MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2417 Mhz)
> ath5k phy0: gain calibration timeout (2422MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2422 Mhz)
> ath5k phy0: gain calibration timeout (2427MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2427 Mhz)
> ath5k phy0: gain calibration timeout (2432MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2432 Mhz)
> ath5k phy0: gain calibration timeout (2437MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2437 Mhz)
> ath5k phy0: gain calibration timeout (5245MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5245 Mhz)
> ath5k phy0: gain calibration timeout (5250MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5250 Mhz)
> ath5k phy0: gain calibration timeout (5255MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5255 Mhz)
> ath5k phy0: gain calibration timeout (5260MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5260 Mhz)
> ath5k phy0: gain calibration timeout (5265MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5265 Mhz)
> ath5k phy0: gain calibration timeout (5320MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5320 Mhz)
> ath5k phy0: gain calibration timeout (5745MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5745 Mhz)
> ath5k phy0: gain calibration timeout (5750MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5750 Mhz)
> ath5k phy0: gain calibration timeout (5755MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5755 Mhz)
> ath5k phy0: gain calibration timeout (5760MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5760 Mhz)
> ath5k phy0: gain calibration timeout (5810MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5810 Mhz)
> ath5k phy0: gain calibration timeout (5815MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5815 Mhz)
> ath5k phy0: gain calibration timeout (5820MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5820 Mhz)
> ath5k phy0: gain calibration timeout (5825MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (5825 Mhz)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: ath5k_chan_set: unable to reset channel (2412 Mhz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
> ath5k phy0: noise floor calibration timeout (2412MHz)
>
>
> after a fresh reboot
>
> $ dmesg | grep ath
>
> ath5k_pci 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ath5k_pci 0000:03:00.0: setting latency timer to 64
> ath5k_pci 0000:03:00.0: registered as 'phy0'
> ath5k phy0: Atheros AR5424 chip found (MAC: 0xa3, PHY: 0x61)
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: unable to reset hardware: -11
> ath5k phy0: gain calibration timeout (2412MHz)
> ath5k phy0: unable to reset hardware: -11
>

2008-12-22 21:37:23

by Jiri Slaby

[permalink] [raw]
Subject: Re: ath5k_pci: gain calibration timeout / unable to reset hardware -11

On 12/22/2008 09:58 PM, Andrew Morton wrote:
> (cc linux-wireless)
>
> On Mon, 22 Dec 2008 06:31:53 +0100
> Soeren Sonnenburg <[email protected]> wrote:
>
>> Hi,
>>
>> I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
>> for some time but then suddenly messages like the ones below appear and
>> I have to *turn off* the machine to get it back working (even booting to
>> osx is not sufficient - osx won't have network when things go wrong as
>> they do after a couple of hours). Note that this happens with both
>> 2.6.27 and .28.

Does the _HW lockup_ happen even with 2.6.28? The lockup should be gone there
(with the messages still present).

2008-12-22 21:39:35

by Jiri Slaby

[permalink] [raw]
Subject: Re: ath5k_pci: gain calibration timeout / unable to reset hardware -11

On 12/22/2008 10:37 PM, Jiri Slaby wrote:
> On 12/22/2008 09:58 PM, Andrew Morton wrote:
>> (cc linux-wireless)
>>
>> On Mon, 22 Dec 2008 06:31:53 +0100
>> Soeren Sonnenburg <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
>>> for some time but then suddenly messages like the ones below appear and
>>> I have to *turn off* the machine to get it back working (even booting to
>>> osx is not sufficient - osx won't have network when things go wrong as
>>> they do after a couple of hours). Note that this happens with both
>>> 2.6.27 and .28.
>
> Does the _HW lockup_ happen even with 2.6.28? The lockup should be gone there
> (with the messages still present).

I see Bob already replied, ignore me, he knows better.

2008-12-22 21:50:33

by Bob Copeland

[permalink] [raw]
Subject: Re: [ath5k-devel] ath5k_pci: gain calibration timeout / unable to reset hardware -11

On Mon, Dec 22, 2008 at 4:39 PM, Jiri Slaby <[email protected]> wrote:
>>
>> Does the _HW lockup_ happen even with 2.6.28? The lockup should be gone there
>> (with the messages still present).
>
> I see Bob already replied, ignore me, he knows better.

I thought Felix's patch had gone into .28, but in fact it hasn't.
We should probably get it in or queue it for .28.1 -- it's a two
liner that will fix a lot of people's setups.

John, if you're reading, that's 23c401574b16cb2b6d2231ba405ebf85b8c87de5
in wireless-testing.

The lockup can still occur, but it's a lot less frequent with his patch.

--
Bob Copeland %% http://www.bobcopeland.com

2008-12-22 22:37:29

by Maxim Levitsky

[permalink] [raw]
Subject: Re: [ath5k-devel] ath5k_pci: gain calibration timeout / unable to reset hardware -11

On Mon, 2008-12-22 at 16:48 -0500, Bob Copeland wrote:
> On Mon, Dec 22, 2008 at 4:39 PM, Jiri Slaby <[email protected]> wrote:
> >>
> >> Does the _HW lockup_ happen even with 2.6.28? The lockup should be gone there
> >> (with the messages still present).
> >
> > I see Bob already replied, ignore me, he knows better.
>
> I thought Felix's patch had gone into .28, but in fact it hasn't.
> We should probably get it in or queue it for .28.1 -- it's a two
> liner that will fix a lot of people's setups.
>
> John, if you're reading, that's 23c401574b16cb2b6d2231ba405ebf85b8c87de5
> in wireless-testing.
>
> The lockup can still occur, but it's a lot less frequent with his patch.
>

Happens about 1 in 10 times on resume from ram.

Best regards,
Maxim Levitsky

2008-12-22 22:39:18

by Nick Kossifidis

[permalink] [raw]
Subject: Re: [ath5k-devel] ath5k_pci: gain calibration timeout / unable to reset hardware -11

2008/12/22 Bob Copeland <[email protected]>:
> On Mon, Dec 22, 2008 at 4:39 PM, Jiri Slaby <[email protected]> wrote:
>>>
>>> Does the _HW lockup_ happen even with 2.6.28? The lockup should be gone there
>>> (with the messages still present).
>>
>> I see Bob already replied, ignore me, he knows better.
>
> I thought Felix's patch had gone into .28, but in fact it hasn't.
> We should probably get it in or queue it for .28.1 -- it's a two
> liner that will fix a lot of people's setups.
>
> John, if you're reading, that's 23c401574b16cb2b6d2231ba405ebf85b8c87de5
> in wireless-testing.
>
> The lockup can still occur, but it's a lot less frequent with his patch.
>

Felix's patch is for Noise Floor calibration timeout which is
non-fatal, here we have a problem with gain offset calibration. If
gain offset calibration fails, we can't have i/q correction and we
can't tune to that channel propertly.

This is a known problem also reported on binary HAL ;-)
http://madwifi-project.org/ticket/1869

we miss something in rf/phy initialization i guess...

_____________________________________________
> ath5k-devel mailing list
> [email protected]
> https://lists.ath5k.org/mailman/listinfo/ath5k-devel
>



--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick

2008-12-23 08:43:18

by Soeren Sonnenburg

[permalink] [raw]
Subject: Re: ath5k_pci: gain calibration timeout / unable to reset hardware -11

On Mon, 2008-12-22 at 15:53 -0500, Bob Copeland wrote:
> On Mon, Dec 22, 2008 at 12:31 AM, Soeren Sonnenburg <[email protected]> wrote:
> > Hi,
> >
> > I was using the ath5k_pci driver on a macbook pro 1,1 and it is working
> > for some time but then suddenly messages like the ones below appear and
> > I have to *turn off* the machine to get it back working (even booting to
> > osx is not sufficient - osx won't have network when things go wrong as
> > they do after a couple of hours). Note that this happens with both
> > 2.6.27 and .28.
>
> Hi Soeren,
>
> Thanks for the report. It is a known problem, with a bugzilla entry already:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=12080

I remember to having had a similar problem with madwifi-ng at some
point. However, that disappeared and I also remember that other people
were still seeing it. That one could at least be easily fixed by using
just a single cpu-core. But I don't remember that it really required a
power down of the machine....

Soeren