Skip to contentSkip to conversation

ar9220/9223 failure

ath9k-devel Malcolm Gillies 3 participants 4 messages Mar 13, 2010 – Dec 14, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I just bought a no-name ar9220/ar9223 dual-band mini-pci card, which ath9k fails to load:

[   20.111549] ath9k: probe of 0000:02:02.0 failed with error -22

Any suggestions?

The card looks like one of these:

http://www.aliexpress.com/product-gs/284675837-Atheros-AR9223-AR9220-AGN-Mini-PCI-Wireless-antenna-wholesalers.html

lspci output:

02:02.0 Network controller: Atheros Communications Inc. Device 0029 (rev 01)

I'm running kernel 2.6.32 and compat-wireless-2.6.32.8

dmesg output is as follows

[   14.746495] ath9k 0000:02:02.0: PCI INT A -> Link[LNKC] -> GSI 11
(level, low) -> IRQ 11
[   14.781627] ath9k: UNDEFINED -> AWAKE
[   14.781687] ath9k: serialize_regmode is 0
[   16.335777] ath9k: Read Magic = 0xA55A
[   16.335781] ath9k: need_swap = False.
[   16.335787] ath9k: Eeprom VER: 14, REV: 19
[   16.335791] ath9k: Initialize ANI
[   16.335800] ath9k: Setting OfdmErrBase = 0x00bffe0c
[   16.335804] ath9k: Setting cckErrBase = 0x00bfff38
[   16.335808] ath9k: Enable MIB counters
[   16.335825] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335828] ath9k: PWDCLKIND: 1
[   16.335831] ath9k: final ini VAL: 5a508000
[   16.335834] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335837] ath9k: PWDCLKIND: 1
[   16.335840] ath9k: final ini VAL: 5a508000
[   16.335843] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335846] ath9k: PWDCLKIND: 1
[   16.335849] ath9k: final ini VAL: 5a508000
[   16.335852] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335855] ath9k: PWDCLKIND: 1
[   16.335858] ath9k: final ini VAL: 5a508000
[   16.335861] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335865] ath9k: PWDCLKIND: 1
[   16.335867] ath9k: final ini VAL: 5a508000
[   16.336609] ath9k: Rate:  1Mbps, ratecode: 27
[   16.336612] ath9k: Rate:  2Mbps, ratecode: 26
[   16.336615] ath9k: Rate:  5Mbps, ratecode: 25
[   16.336619] ath9k: Rate: 11Mbps, ratecode: 24
[   16.336622] ath9k: Rate:  6Mbps, ratecode: 11
[   16.336625] ath9k: Rate:  9Mbps, ratecode: 15
[   16.336628] ath9k: Rate: 12Mbps, ratecode: 10
[   16.336632] ath9k: Rate: 18Mbps, ratecode: 14
[   16.336635] ath9k: Rate: 24Mbps, ratecode:  9
[   16.336638] ath9k: Rate: 36Mbps, ratecode: 13
[   16.336641] ath9k: Rate: 48Mbps, ratecode:  8
[   16.336645] ath9k: Rate: 54Mbps, ratecode: 12
[   16.336648] ath9k: Rate:  6Mbps, ratecode: 11
[   16.336652] ath9k: Rate:  9Mbps, ratecode: 15
[   16.336655] ath9k: Rate: 12Mbps, ratecode: 10
[   16.336658] ath9k: Rate: 18Mbps, ratecode: 14
[   16.336661] ath9k: Rate: 24Mbps, ratecode:  9
[   16.336664] ath9k: Rate: 36Mbps, ratecode: 13
[   16.336668] ath9k: Rate: 48Mbps, ratecode:  8
[   16.336671] ath9k: Rate: 54Mbps, ratecode: 12
[   16.336675] ath9k: Setup TX queue: 9
[   16.336678] ath9k: Set queue properties for: 9
[   16.336682] ath9k: Setup TX queue: 8
[   16.336685] ath9k: Set queue properties for: 8
[   16.336690] ath9k: Set queue properties for: 8
[   16.336693] ath9k: Reset TX queue: 8
[   16.336706] ath9k: tx ok 0x0 err 0x0 desc 0x100 eol 0x100 urn 0x0
[   16.336714] ath9k: Setup TX queue: 0
[   16.336717] ath9k: Set queue properties for: 0
[   16.336720] ath9k: Setup TX queue: 1
[   16.336723] ath9k: Set queue properties for: 1
[   16.336726] ath9k: Setup TX queue: 2
[   16.336729] ath9k: Set queue properties for: 2
[   16.336732] ath9k: Setup TX queue: 3
[   16.336735] ath9k: Set queue properties for: 3
[   16.336745] ath: EEPROM regdomain: 0x28d
[   16.336747] ath: EEPROM indicates we should expect a direct regpair map
[   16.336751] ath: invalid regulatory domain/country code 0x28d
[   16.336754] ath: Invalid EEPROM contents
#1 lore raw

Try compat-wireless-2.6.33.

My kernel is 2.6.31 and compat-wireless-2.6.33, with D-link DWA547(AR9223). ath9k really works, but some problem in mesh type. One of the MPs could find another, but others couldnot find anyone.

I'm trying to fix it, any idea?? Thanks.

Malcolm Gillies <[email protected]>
???: ath9k-devel-bounces at lists.ath9k.org
2010-03-13 13:26

???
ath9k-devel at lists.ath9k.org
??

??
[ath9k-devel] ar9220/9223 failure

Hi,

I just bought a no-name ar9220/ar9223 dual-band mini-pci card, which ath9k fails to load:

[   20.111549] ath9k: probe of 0000:02:02.0 failed with error -22

Any suggestions?

The card looks like one of these:

http://www.aliexpress.com/product-gs/284675837-Atheros-AR9223-AR9220-AGN-Mini-PCI-Wireless-antenna-wholesalers.html

lspci output:

02:02.0 Network controller: Atheros Communications Inc. Device 0029 (rev
01)

I'm running kernel 2.6.32 and compat-wireless-2.6.32.8

dmesg output is as follows

[   14.746495] ath9k 0000:02:02.0: PCI INT A -> Link[LNKC] -> GSI 11
(level, low) -> IRQ 11
[   14.781627] ath9k: UNDEFINED -> AWAKE
[   14.781687] ath9k: serialize_regmode is 0
[   16.335777] ath9k: Read Magic = 0xA55A
[   16.335781] ath9k: need_swap = False.
[   16.335787] ath9k: Eeprom VER: 14, REV: 19
[   16.335791] ath9k: Initialize ANI
[   16.335800] ath9k: Setting OfdmErrBase = 0x00bffe0c
[   16.335804] ath9k: Setting cckErrBase = 0x00bfff38
[   16.335808] ath9k: Enable MIB counters
[   16.335825] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335828] ath9k: PWDCLKIND: 1
[   16.335831] ath9k: final ini VAL: 5a508000
[   16.335834] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335837] ath9k: PWDCLKIND: 1
[   16.335840] ath9k: final ini VAL: 5a508000
[   16.335843] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335846] ath9k: PWDCLKIND: 1
[   16.335849] ath9k: final ini VAL: 5a508000
[   16.335852] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335855] ath9k: PWDCLKIND: 1
[   16.335858] ath9k: final ini VAL: 5a508000
[   16.335861] ath9k: ini VAL: 5a508000  EEPROM: 13
[   16.335865] ath9k: PWDCLKIND: 1
[   16.335867] ath9k: final ini VAL: 5a508000
[   16.336609] ath9k: Rate:  1Mbps, ratecode: 27
[   16.336612] ath9k: Rate:  2Mbps, ratecode: 26
[   16.336615] ath9k: Rate:  5Mbps, ratecode: 25
[   16.336619] ath9k: Rate: 11Mbps, ratecode: 24
[   16.336622] ath9k: Rate:  6Mbps, ratecode: 11
[   16.336625] ath9k: Rate:  9Mbps, ratecode: 15
[   16.336628] ath9k: Rate: 12Mbps, ratecode: 10
[   16.336632] ath9k: Rate: 18Mbps, ratecode: 14
[   16.336635] ath9k: Rate: 24Mbps, ratecode:  9
[   16.336638] ath9k: Rate: 36Mbps, ratecode: 13
[   16.336641] ath9k: Rate: 48Mbps, ratecode:  8
[   16.336645] ath9k: Rate: 54Mbps, ratecode: 12
[   16.336648] ath9k: Rate:  6Mbps, ratecode: 11
[   16.336652] ath9k: Rate:  9Mbps, ratecode: 15
[   16.336655] ath9k: Rate: 12Mbps, ratecode: 10
[   16.336658] ath9k: Rate: 18Mbps, ratecode: 14
[   16.336661] ath9k: Rate: 24Mbps, ratecode:  9
[   16.336664] ath9k: Rate: 36Mbps, ratecode: 13
[   16.336668] ath9k: Rate: 48Mbps, ratecode:  8
[   16.336671] ath9k: Rate: 54Mbps, ratecode: 12
[   16.336675] ath9k: Setup TX queue: 9
[   16.336678] ath9k: Set queue properties for: 9
[   16.336682] ath9k: Setup TX queue: 8
[   16.336685] ath9k: Set queue properties for: 8
[   16.336690] ath9k: Set queue properties for: 8
[   16.336693] ath9k: Reset TX queue: 8
[   16.336706] ath9k: tx ok 0x0 err 0x0 desc 0x100 eol 0x100 urn 0x0
[   16.336714] ath9k: Setup TX queue: 0
[   16.336717] ath9k: Set queue properties for: 0
[   16.336720] ath9k: Setup TX queue: 1
[   16.336723] ath9k: Set queue properties for: 1
[   16.336726] ath9k: Setup TX queue: 2
[   16.336729] ath9k: Set queue properties for: 2
[   16.336732] ath9k: Setup TX queue: 3
[   16.336735] ath9k: Set queue properties for: 3
[   16.336745] ath: EEPROM regdomain: 0x28d
[   16.336747] ath: EEPROM indicates we should expect a direct regpair map
[   16.336751] ath: invalid regulatory domain/country code 0x28d
[   16.336754] ath: Invalid EEPROM contents

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100315/fa28209d/attachment.htm

#2 lore raw
Quoted 1 line · wang.biao5 at zte.com.cn wrote:

Try compat-wireless-2.6.33.

Thanks for the suggestion.

I see the same error with compat-wireless-2010-03-12.

cheers,

Malcolm

#3 lore raw
In reply to Malcolm Gillies

Try to recompile ath0k driver by turnning on the option like "allow system overrides domain/country code". Not sure on the language tho.