Skip to contentSkip to conversation

ath5k problem with 2.6.35

DISCUSSION Thomas Fjellstrom 3 participants 6 messages Aug 22, 2010 – Aug 24, 2010

lore
Share & tools
lore
#0 lore raw

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly on boot. I get the following messages in dmesg:

[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair map
[    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

That said, if I remove the ath5k module, and modprobe ath5k, it starts working.

[ 2976.411770] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 2976.411783] ath5k 0000:02:00.0: setting latency timer to 64
[ 2976.412767] ath5k 0000:02:00.0: registered as 'phy1'
[ 2976.912422] ath: EEPROM regdomain: 0x67
[ 2976.912424] ath: EEPROM indicates we should expect a direct regpair map
[ 2976.912427] ath: Country alpha2 being used: 00
[ 2976.912429] ath: Regpair used: 0x67
[ 2977.079190] ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Is this a known issue?

Signature · 2 lines
Thomas Fjellstrom
[email protected]
#1 lore raw
Quoted 2 lines · Thomas Fjellstrom

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly on boot. I get the following messages in dmesg:

Probably important, but I missed a couple lines:

Quoted 7 lines
[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ
17 [    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair map
[    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
   [    1.360589] phy0: Failed to initialize wep: -2
Quoted 7 lines
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

That said, if I remove the ath5k module, and modprobe ath5k, it starts working.

Quoted 7 lines
[ 2976.411770] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ
17 [ 2976.411783] ath5k 0000:02:00.0: setting latency timer to 64
[ 2976.412767] ath5k 0000:02:00.0: registered as 'phy1'
[ 2976.912422] ath: EEPROM regdomain: 0x67
[ 2976.912424] ath: EEPROM indicates we should expect a direct regpair map
[ 2976.912427] ath: Country alpha2 being used: 00
[ 2976.912429] ath: Regpair used: 0x67
   [ 2977.078747] phy1: Selected rate control algorithm 'minstrel'
Quoted 3 lines
[ 2977.079190] ath5k phy1: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Is this a known issue?

Thanks

Signature · 2 lines
Thomas Fjellstrom
[email protected]
#2 lore raw
Quoted 6 lines · Thomas Fjellstrom
Quoted 2 lines · Thomas Fjellstrom

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly on boot. I get the following messages in dmesg:

Probably important, but I missed a couple lines:

Quoted 11 lines
Quoted 7 lines
[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ
17 [    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair map
[    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
   [    1.360589] phy0: Failed to initialize wep: -2
Quoted 3 lines
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

Did you enable fips mode?

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#3 lore raw
Quoted 14 lines · John W. Linville
Quoted 13 lines · Thomas Fjellstrom
Quoted 2 lines · Thomas Fjellstrom

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly on boot. I get the following messages in dmesg:

Probably important, but I missed a couple lines:

Quoted 7 lines
[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ
17 [    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair map
[    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
Quoted 6 lines
Quoted 4 lines
   [    1.360589] phy0: Failed to initialize wep: -2
Quoted 3 lines
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

Did you enable fips mode?

Presuming the answer is yes, you need this patch (available in 2.6.36-rc1):

commit 3473187d2459a078e00e5fac8aafc30af69c57fa

Author: John W. Linville <[email protected]>
Date:   Wed Jul 7 15:07:49 2010 -0400

mac80211: remove wep dependency

The current mac80211 code assumes that WEP is always available. If WEP fails to initialize, ieee80211_register_hw will always fail.

In some cases (e.g. FIPS certification), the cryptography used by WEP is unavailable. However, in such cases there is no good reason why CCMP encryption (or even no link level encryption) cannot be used. So, this patch removes mac80211's assumption that WEP (and TKIP) will always be available for use.

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#4 lore raw
In reply to John W. Linville
Quoted 15 lines · John W. Linville
Quoted 14 lines · Thomas Fjellstrom
Quoted 4 lines · Thomas Fjellstrom

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly

on boot. I get the following messages in dmesg:

Probably important, but I missed a couple lines:

Quoted 8 lines
[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17 [    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair
map [    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
Quoted 7 lines
Quoted 5 lines
   [    1.360589] phy0: Failed to initialize wep: -2
Quoted 4 lines
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

Did you enable fips mode?

I don't even know what that is, so no. At least I didn't do it. if wicd did, then yes.

Quoted 1 line

John

Signature · 2 lines
Thomas Fjellstrom
[email protected]
#5 lore raw
Quoted 18 lines · Thomas Fjellstrom
Quoted 17 lines · John W. Linville
Quoted 16 lines · Thomas Fjellstrom
Quoted 4 lines · Thomas Fjellstrom

Hi, I'm running 2.6.35, and my wireless card fails to initialize properly

on boot. I get the following messages in dmesg:

Probably important, but I missed a couple lines:

Quoted 8 lines
[    0.866525] ath5k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17 [    0.866536] ath5k 0000:02:00.0: setting latency timer to 64
[    0.866571] ath5k 0000:02:00.0: registered as 'phy0'
[    1.358241] ath: EEPROM regdomain: 0x67
[    1.358242] ath: EEPROM indicates we should expect a direct regpair
map [    1.358245] ath: Country alpha2 being used: 00
[    1.358247] ath: Regpair used: 0x67
   [    1.360589] phy0: Failed to initialize wep: -2
Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
[    1.372021] ath5k phy0: can't register ieee80211 hw
[    1.372080] ath5k 0000:02:00.0: PCI INT A disabled
[    1.372084] ath5k: probe of 0000:02:00.0 failed with error -2

Did you enable fips mode?

I don't even know what that is, so no. At least I didn't do it. if wicd did, then yes.

In any case, wep failed to init for some reason and the prevents device registration. You need the patch I referenced earlier.

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.