ath5k (AR5001) does not work after resume and fails with "ath5k phy0: gain calibration timeout"
https://bugzilla.kernel.org/show_bug.cgi?id=16436
John W. Linville <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Wireless |cpufreq
AssignedTo|networking_wireless@kernel- |[email protected]
|bugs.osdl.org |
Product|Networking |Power Management--- Comment #35 from John W. Linville <[email protected]> 2011-04-27 19:19:25 --- Reassigning on the basis of comment 30...
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Thomas Andersen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #36 from Thomas Andersen <[email protected]> 2011-06-23 18:41:29 --- I'm on 2.6.38.8-32.fc15.x86_64 and I can reproduce it pretty consistently. I just need to compile/distcheck a few modules in gnome and it dies. I'm guessing either high cpu or high temp does it.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
--- Comment #37 from Thomas Andersen <[email protected]> 2011-06-23 18:43:32 --- hw:
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
(sorry - hit send too soon)
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Zhang Rui <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #38 from Zhang Rui <[email protected]> 2012-01-18 02:13:47 --- It's great that kernel bugzilla is back.
can you please verify if the problem still exists in the latest upstream kernel?
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #39 from [email protected] 2012-05-05 10:36:27 --- I still have it on a vanilla 32bit SMP 3.3.3 with AR5414 .
I upgrade kernels very often and I first started noticing the problem with 3.3 series (3.3.2, to be precise).
I've had these kernels in 3.2/3.3 series:
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.2.11
3.3.2
3.3.3
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
--- Comment #40 from [email protected] 2012-05-05 10:39:31 --- Hmm, come to think of it, maybe it's a different bug - I don't suspend/resume at all. My driver just stops working once in a while.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
--- Comment #41 from Stoian Ivanov <[email protected]> 2012-05-07 21:54:22 --- Created an attachment (id=73219)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73219)
The problem is still there for Linux 3.3.4
This is a grep from my message log done with
tail -n 80000 /var/log/messages | fgrep -a -e 'ath5k' -e 'May 6 06:18:28' -e 'syslog-ng starting up' | head -n 1300 > ath5k.log
it shows that the problem is still there for Linux 3.3.4
this is a desktop install no suspend/resume features enabled just cpufreq infrastructure
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Stoian Ivanov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #42 from Stoian Ivanov <[email protected]> 2012-05-07 22:11:41 --- (In reply to comment #41)
Quoted 1 line
Created an attachment (id=73219)
--> (https://bugzilla.kernel.org/attachment.cgi?id=73219) [details]
Quoted 11 lines
The problem is still there for Linux 3.3.4
This is a grep from my message log done with
tail -n 80000
/var/log/messages| fgrep -a -e 'ath5k' -e 'May 6 06:18:28' -e 'syslog-ng starting up' | head -n 1300 > ath5k.logit shows that the problem is still there for Linux 3.3.4
this is a desktop install no suspend/resume features enabled just cpufreq infrastructure
Here is lspci -v
04:06.0 Ethernet controller: Atheros Communications Inc. AR2413/AR2414 Wireless Network Adapter [AR5005G(S) 802.11bg] (rev 01)
Subsystem: Atheros Communications Inc. Compex Wireless 802.11 b/g
MiniPCI Adapter, Rev A1 [WLM54G]
Flags: bus master, medium devsel, latency 168, IRQ 20 Memory at fdce0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ath5k
and ./ath_info 0xfdce0000
-==Device Information==-
MAC Revision: 2413 (0x78) Device type: 2
2GHz PHY Revision: 2413 (0x56)
/============== EEPROM Information =============\
| EEPROM Version: 5.3 | EEPROM Size: 16 kbit | | EEMAP: 2 | Reg. Domain: 0x809C | |================= Capabilities ================| | 802.11a Support: no | Turbo-A disabled: no | | 802.11b Support: yes | Turbo-G disabled: yes | | 802.11g Support: yes | 2GHz XR disabled: no | | RFKill Support: no | 5GHz XR disabled: no | | 32kHz Crystal: no | |
\===============================================/
/=========================================================\
| Calibration data common for all modes | |=========================================================| | CCK/OFDM gain delta: 1 | | CCK/OFDM power delta: 251 | | Scaled CCK delta: 5 | | 2GHz Antenna gain: 1 | | 5GHz Antenna gain: 0 | | Turbo 2W maximum dBm: 38 | | Target power start: 0x17c | | EAR Start: 0x1d6 |
\=========================================================/
/=========================================================\
| Calibration data for 802.11b operation | |=========================================================| | I power: 0x00 | Q power: 0x00 | | Use fixed bias: 0x00 | Max turbo power: 0x00 | | Max XR power: 0x00 | Switch Settling Time: 0x23 | | Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 | | TX end to XPA Off: 0x00 | TX end to XPA On: 0x07 | | 62db Threshold: 0x1c | XLNA gain: 0x0c | | XPD: 0x01 | XPD gain: 0x0a | | I gain: 0x00 | Tx/Rx margin: 0x19 | | False detect backoff: 0x00 | Noise Floor Threshold: -1 | | ADC desired size: -38 | PGA desired size: -80 | |=========================================================| | Antenna control 0: 0x00 | Antenna control 1: 0x02 | | Antenna control 2: 0x25 | Antenna control 3: 0x25 | | Antenna control 4: 0x21 | Antenna control 5: 0x21 | | Antenna control 6: 0x01 | Antenna control 7: 0x26 | | Antenna control 8: 0x26 | Antenna control 9: 0x22 | | Antenna control 10: 0x22 | Antenna control 11: 0x00 | |=========================================================| | Octave Band 0: 0 | db 0: 0 | | Octave Band 1: 3 | db 1: 5 | | Octave Band 2: 0 | db 2: 0 | | Octave Band 3: 0 | db 3: 0 | \=========================================================/ /============== Per rate power calibration ===========\ | Freq | 1Mbit/s | 2Mbit/s | 5.5Mbit/s | 11Mbit/s | |======|============|==========|===========|==========| | 2412 | 19.01 | 19.01 | 19.01 | 19.01 | |======|============|==========|===========|==========| | 2484 | 19.01 | 19.01 | 19.01 | 19.01 | \=====================================================/ /====================== Per channel power calibration ===================\ | Freq | pwr_i | pwr_0 | pwr_1 | pwr_2 | pwr_3 | | | pddac_i | pddac_0 | pddac_1 | pddac_2 | pddac_3 | |======|=========|=============|=============|=============|=============| | 2412 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 7 | 16 | 37 | 75 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 22.00 | 25.00 | | | 12 | 22 | 41 | 69 | 101 | |======|=========|=============|=============|=============|=============| | 2472 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 9 | 19 | 44 | 89 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.50 | 22.50 | 25.00 | | | 14 | 25 | 47 | 79 | 111 |
\========================================================================/
/=========================================================\
| Calibration data for 802.11g operation | |=========================================================| | I power: 0x00 | Q power: 0x10 | | Use fixed bias: 0x01 | Max turbo power: 0x26 | | Max XR power: 0x26 | Switch Settling Time: 0x31 | | Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 | | TX end to XPA Off: 0x00 | TX end to XPA On: 0x0e | | 62db Threshold: 0x1c | XLNA gain: 0x0c | | XPD: 0x01 | XPD gain: 0x0a | | I gain: 0x00 | Tx/Rx margin: 0x19 | | False detect backoff: 0x00 | Noise Floor Threshold: -1 | | ADC desired size: -38 | PGA desired size: -80 | |=========================================================| | Antenna control 0: 0x00 | Antenna control 1: 0x02 | | Antenna control 2: 0x25 | Antenna control 3: 0x25 | | Antenna control 4: 0x21 | Antenna control 5: 0x21 | | Antenna control 6: 0x01 | Antenna control 7: 0x26 | | Antenna control 8: 0x26 | Antenna control 9: 0x22 | | Antenna control 10: 0x22 | Antenna control 11: 0x02 | |=========================================================| | Octave Band 0: 0 | db 0: 0 | | Octave Band 1: 3 | db 1: 5 | | Octave Band 2: 0 | db 2: 0 | | Octave Band 3: 0 | db 3: 0 | \=========================================================/ /==================== Turbo mode infos ===================\ | Switch Settling time: 0x62 | Tx/Rx margin: 0x19 | | Tx/Rx attenuation: 0x1c | ADC desired size: -32 | | PGA desired size: -80 | | \=========================================================/ /============== Per rate power calibration ===========\ | Freq | 6-24Mbit/s | 36Mbit/s | 48Mbit/s | 54Mbit/s | |======|============|==========|===========|==========| | 2412 | 19.00 | 18.00 | 17.00 | 16.00 | |======|============|==========|===========|==========| | 2437 | 19.00 | 18.00 | 17.00 | 16.00 | |======|============|==========|===========|==========| | 2462 | 19.00 | 18.00 | 17.00 | 16.00 | \=====================================================/ /====================== Per channel power calibration ===================\ | Freq | pwr_i | pwr_0 | pwr_1 | pwr_2 | pwr_3 | | | pddac_i | pddac_0 | pddac_1 | pddac_2 | pddac_3 | |======|=========|=============|=============|=============|=============| | 2412 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 6 | 12 | 31 | 68 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 21.50 | 24.00 | | | 11 | 20 | 35 | 61 | 86 | |======|=========|=============|=============|=============|=============| | 2437 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 1 | 11 | 29 | 68 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.50 | 21.50 | 24.50 | | | 12 | 22 | 37 | 62 | 94 | |======|=========|=============|=============|=============|=============| | 2472 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 3 | 11 | 29 | 66 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 22.00 | 24.50 | | | 11 | 22 | 38 | 65 | 97 |
\========================================================================/
GPIO registers: CR 0x00000003, DO 0x00000001, DI 0x00000011STA_ID0: 74:ea:3a:d9:a5:c4STA_ID1: 0x1000c4a5, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT: 48, TU: 0x1a5c0030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x1a5bffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x1a7fffff (+2359247)
TIMER3: 0x00000031, ATIM: 49, TU: 0x1a5c0031 (+1)
TSF: 0x000000696c13457e, TSFTU: 1233, TU: 0x1a5b04d1
BEACON: 0x00000000LAST_TSTP: 0x6c12e19b
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Kernel Version|2.6.36 |3.3.4
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
--- Comment #43 from Stoian Ivanov <[email protected]> 2012-05-14 22:46:45 --- Managed to grabb a ath_info with "broken" state of the driver. This is with cpufreq completely disabled from menuconfig.
sdr@hristo ~/tmp/ath_info $ cat info_in_error.log
-==Device Information==-
MAC Revision: 2413 (0x78) Device type: 2
2GHz PHY Revision: 2413 (0x56)
/============== EEPROM Information =============\
| EEPROM Version: 5.3 | EEPROM Size: 16 kbit | | EEMAP: 2 | Reg. Domain: 0x809C | |================= Capabilities ================| | 802.11a Support: no | Turbo-A disabled: no | | 802.11b Support: yes | Turbo-G disabled: yes | | 802.11g Support: yes | 2GHz XR disabled: no | | RFKill Support: no | 5GHz XR disabled: no | | 32kHz Crystal: no | |
\===============================================/
/=========================================================\
| Calibration data common for all modes | |=========================================================| | CCK/OFDM gain delta: 1 | | CCK/OFDM power delta: 251 | | Scaled CCK delta: 5 | | 2GHz Antenna gain: 1 | | 5GHz Antenna gain: 0 | | Turbo 2W maximum dBm: 38 | | Target power start: 0x17c | | EAR Start: 0x1d6 |
\=========================================================/
/=========================================================\
| Calibration data for 802.11b operation | |=========================================================| | I power: 0x00 | Q power: 0x00 | | Use fixed bias: 0x00 | Max turbo power: 0x00 | | Max XR power: 0x00 | Switch Settling Time: 0x23 | | Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 | | TX end to XPA Off: 0x00 | TX end to XPA On: 0x07 | | 62db Threshold: 0x1c | XLNA gain: 0x0c | | XPD: 0x01 | XPD gain: 0x0a | | I gain: 0x00 | Tx/Rx margin: 0x19 | | False detect backoff: 0x00 | Noise Floor Threshold: -1 | | ADC desired size: -38 | PGA desired size: -80 | |=========================================================| | Antenna control 0: 0x00 | Antenna control 1: 0x02 | | Antenna control 2: 0x25 | Antenna control 3: 0x25 | | Antenna control 4: 0x21 | Antenna control 5: 0x21 | | Antenna control 6: 0x01 | Antenna control 7: 0x26 | | Antenna control 8: 0x26 | Antenna control 9: 0x22 | | Antenna control 10: 0x22 | Antenna control 11: 0x00 | |=========================================================| | Octave Band 0: 0 | db 0: 0 | | Octave Band 1: 3 | db 1: 5 | | Octave Band 2: 0 | db 2: 0 | | Octave Band 3: 0 | db 3: 0 | \=========================================================/ /============== Per rate power calibration ===========\ | Freq | 1Mbit/s | 2Mbit/s | 5.5Mbit/s | 11Mbit/s | |======|============|==========|===========|==========| | 2412 | 19.01 | 19.01 | 19.01 | 19.01 | |======|============|==========|===========|==========| | 2484 | 19.01 | 19.01 | 19.01 | 19.01 | \=====================================================/ /====================== Per channel power calibration ===================\ | Freq | pwr_i | pwr_0 | pwr_1 | pwr_2 | pwr_3 | | | pddac_i | pddac_0 | pddac_1 | pddac_2 | pddac_3 | |======|=========|=============|=============|=============|=============| | 2412 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 7 | 16 | 37 | 75 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 22.00 | 25.00 | | | 12 | 22 | 41 | 69 | 101 | |======|=========|=============|=============|=============|=============| | 2472 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 9 | 19 | 44 | 89 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.50 | 22.50 | 25.00 | | | 14 | 25 | 47 | 79 | 111 |
\========================================================================/
/=========================================================\
| Calibration data for 802.11g operation | |=========================================================| | I power: 0x00 | Q power: 0x10 | | Use fixed bias: 0x01 | Max turbo power: 0x26 | | Max XR power: 0x26 | Switch Settling Time: 0x31 | | Tx/Rx attenuation: 0x1c | TX end to XLNA On: 0x00 | | TX end to XPA Off: 0x00 | TX end to XPA On: 0x0e | | 62db Threshold: 0x1c | XLNA gain: 0x0c | | XPD: 0x01 | XPD gain: 0x0a | | I gain: 0x00 | Tx/Rx margin: 0x19 | | False detect backoff: 0x00 | Noise Floor Threshold: -1 | | ADC desired size: -38 | PGA desired size: -80 | |=========================================================| | Antenna control 0: 0x00 | Antenna control 1: 0x02 | | Antenna control 2: 0x25 | Antenna control 3: 0x25 | | Antenna control 4: 0x21 | Antenna control 5: 0x21 | | Antenna control 6: 0x01 | Antenna control 7: 0x26 | | Antenna control 8: 0x26 | Antenna control 9: 0x22 | | Antenna control 10: 0x22 | Antenna control 11: 0x02 | |=========================================================| | Octave Band 0: 0 | db 0: 0 | | Octave Band 1: 3 | db 1: 5 | | Octave Band 2: 0 | db 2: 0 | | Octave Band 3: 0 | db 3: 0 | \=========================================================/ /==================== Turbo mode infos ===================\ | Switch Settling time: 0x62 | Tx/Rx margin: 0x19 | | Tx/Rx attenuation: 0x1c | ADC desired size: -32 | | PGA desired size: -80 | | \=========================================================/ /============== Per rate power calibration ===========\ | Freq | 6-24Mbit/s | 36Mbit/s | 48Mbit/s | 54Mbit/s | |======|============|==========|===========|==========| | 2412 | 19.00 | 18.00 | 17.00 | 16.00 | |======|============|==========|===========|==========| | 2437 | 19.00 | 18.00 | 17.00 | 16.00 | |======|============|==========|===========|==========| | 2462 | 19.00 | 18.00 | 17.00 | 16.00 | \=====================================================/ /====================== Per channel power calibration ===================\ | Freq | pwr_i | pwr_0 | pwr_1 | pwr_2 | pwr_3 | | | pddac_i | pddac_0 | pddac_1 | pddac_2 | pddac_3 | |======|=========|=============|=============|=============|=============| | 2412 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 6 | 12 | 31 | 68 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 21.50 | 24.00 | | | 11 | 20 | 35 | 61 | 86 | |======|=========|=============|=============|=============|=============| | 2437 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 1 | 11 | 29 | 68 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.50 | 21.50 | 24.50 | | | 12 | 22 | 37 | 62 | 94 | |======|=========|=============|=============|=============|=============| | 2472 | | | | | | |------|---------|-------------|-------------|-------------|-------------| | | 0 | 4.00 | 8.50 | 13.00 | 0.00 | | | 3 | 11 | 29 | 66 | 0 | |------|---------|-------------|-------------|-------------|-------------| | | 10 | 14.00 | 18.00 | 22.00 | 24.50 | | | 11 | 22 | 38 | 65 | 97 |
\========================================================================/
GPIO registers: CR 0x00000003, DO 0x00000001, DI 0x00000011STA_ID0: 74:ea:3a:d9:a5:c4STA_ID1: 0x1000c4a5, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT: 48, TU: 0x00010030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x0000ffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x003fffff (+4128719)
TIMER3: 0x00000031, ATIM: 49, TU: 0x00010031 (+1)
TSF: 0x00000000001e0162, TSFTU: 1920, TU: 0x00000780
BEACON: 0x00000000LAST_TSTP: 0xda8c7183
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Kernel Version|3.3.4 |3.4Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=16436
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|cpufreq |Wireless
AssignedTo|[email protected] |networking_wireless@kernel-
| |bugs.osdl.org
Product|Power Management |NetworkingSignature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.