PCI error on iwconfig wlan0 up
Hi,
I'm running a SR71C (AR9280+AR5133) from Ubiquiti on Ubiquiti's router station using the latest compat-wireless driver. On module load I get this identification string:
phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xb0000000, irq=48
Unfortunately, the driver crashes as soon as I try to enable the card (iwconfig wlan0 up). The kernel backtrace looks like this:
PCI error 1 at PCI addr 0x10009a10
Data bus error, epc == 83c45b5c, ra == 83c45b54
Oops[#1]:
Cpu 0
$ 0 : 00000000 00000000 deadc0de 00000000
$ 4 : b0008048 02000020 00000002 00000223
$ 8 : 00005848 83a4c750 00000000 00000000
$12 : 00000001 00000000 4acf889b 00000000
$16 : 83c0290c 00000223 83bb0000 0000014f
$20 : 83a4c1e0 83bb00e4 00000004 83bb0004
$24 : 00000010 83c0290c
$28 : 83f00000 83f01ce0 00000002 83c45b54
Hi : 0000000a
Lo : 17980000
epc : 83c45b5c ath9k_hw_reset+0xd64/0x1cbc [ath9k_hw]
Not tainted
ra : 83c45b54 ath9k_hw_reset+0xd5c/0x1cbc [ath9k_hw]
Status: 1000f403 KERNEL EXL IE
Cause : 1080001c
PrId : 00019374 (MIPS 24Kc)
Modules linked in: ath9k ath9k_hw pppoe pppox ppp_async ppp_generic slhc ath
mac80211 cfg80211 crc_ccitt arc4 aes_generic deflate ecb cbc button_hotplug
gpio_buttons input_polldev input_core leds_gpio [last unloaded: ath9k_hw]
Process ifconfig (pid: 687, threadinfo=83f00000, task=8389d200, tls=00000000)
Stack : 7fb66ff8 801f13b4 83804c00 00000000 00000000 83f01e20 83c156b0 00000001
00000000 20000000 83bb00e4 83a4c934 83bb0000 83c156b0 83a4c1e0
83a4c9d0
83f01d72 83f01d74 83f01d70 83c03550 00000000 00000015 802d4720 fffffffe
83a4c1e0 ffffff82 83a96ac0 00001043 83a96800 00000000 83bcc50c 83a96800
80094d4c 80094d4c 802d83b0 83a28c60 00000000 00008964 83a96800
83bdfae8
...
Call Trace:
[<83c45b5c>] ath9k_hw_reset+0xd64/0x1cbc [ath9k_hw]
[<83c03550>] ath_descdma_setup+0x2c8/0x19c4 [ath9k]
[<83bcc50c>] ieee80211_if_change_type+0xa74/0xfa4 [mac80211]I traced the error to the REG_SET_BIT call in ath9k/hw.c:ath9k_hw_override_ini()REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));
As I don't know what these registers are doing I tried a few things which might or might not help you:
* even only reading the register AR_DIAG_SW at that point makes it crash
* a few lines further up in ath9k_hw_process_ini() this very register was readable without invoking a kernel panic
I tried several of these cards on 2 different router station boards using different power supplies. I'm pretty sure it is not a hardware problem. Does anyone have an idea what the problem might be ?
Thanks in advance,
Marek
Quoted 7 lines · Marek Lindner
Hi,
I'm running a SR71C (AR9280+AR5133) from Ubiquiti on Ubiquiti's router station using the latest compat-wireless driver. On module load I get this identification string:
Quoted 7 lines
phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xb0000000, irq=48
Unfortunately, the driver crashes as soon as I try to enable the card (iwconfig wlan0 up). The kernel backtrace looks like this:
PCI error 1 at PCI addr
0x10009a10
Data bus error, epc ==83c45b5c, ra ==83c45b54
Not sure what these mean, I take it this is mips? May want to check with the arch list to see when/why these type of pci error / data bus errors crop up.
Luis
Quoted 55 lines
Oops[#1]:
Cpu 0$ 0 : 00000000 00000000 deadc0de 00000000 $ 4 : b0008048 02000020 00000002 00000223 $ 8 : 00005848 83a4c750 00000000 00000000 $12 : 00000001 00000000 4acf889b 00000000 $16 : 83c0290c 00000223 83bb0000 0000014f $20 : 83a4c1e0 83bb00e4 00000004 83bb0004 $24 : 00000010 83c0290c $28 : 83f00000 83f01ce0 00000002 83c45b54 Hi : 0000000a Lo : 17980000 epc : 83c45b5c ath9k_hw_reset+0xd64/0x1cbc [ath9k_hw] Not tainted ra : 83c45b54 ath9k_hw_reset+0xd5c/0x1cbc [ath9k_hw] Status: 1000f403 KERNEL EXL IE Cause : 1080001c PrId : 00019374 (MIPS 24Kc) Modules linked in: ath9k ath9k_hw pppoe pppox ppp_async ppp_generic slhc ath mac80211 cfg80211 crc_ccitt arc4 aes_generic deflate ecb cbc button_hotplug gpio_buttons input_polldev input_core leds_gpio [last unloaded: ath9k_hw] Process ifconfig (pid: 687, threadinfo=83f00000, task=8389d200, tls=00000000) Stack : 7fb66ff8 801f13b4 83804c00 00000000 00000000 83f01e20 83c156b0 00000001 00000000 20000000 83bb00e4 83a4c934 83bb0000 83c156b0 83a4c1e0 83a4c9d0 83f01d72 83f01d74 83f01d70 83c03550 00000000 00000015 802d4720 fffffffe 83a4c1e0 ffffff82 83a96ac0 00001043 83a96800 00000000 83bcc50c 83a96800 80094d4c 80094d4c 802d83b0 83a28c60 00000000 00008964 83a96800 83bdfae8 ... Call Trace: [<83c45b5c>] ath9k_hw_reset+0xd64/0x1cbc [ath9k_hw] [<83c03550>] ath_descdma_setup+0x2c8/0x19c4 [ath9k] [<83bcc50c>] ieee80211_if_change_type+0xa74/0xfa4 [mac80211]I traced the error to the
REG_SET_BITcall in ath9k/hw.c:ath9k_hw_override_ini()REG_SET_BIT(ah, AR_DIAG_SW, (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));As I don't know what these registers are doing I tried a few things which might or might not help you:
* even only reading the registerAR_DIAG_SWat that point makes it crash
* a few lines further up inath9k_hw_process_ini()this very register was readable without invoking a kernel panicI tried several of these cards on 2 different router station boards using different power supplies. I'm pretty sure it is not a hardware problem. Does anyone have an idea what the problem might be ?
Thanks in advance,
Marek
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 6 lines · On Wednesday 14 October 2009 02:28:09 Luis R. Rodriguez wrote:
Quoted 2 lines
PCI error 1 at PCI addr
0x10009a10
Data bus error, epc ==83c45b5c, ra ==83c45b54Not sure what these mean, I take it this is mips? May want to check with the arch list to see when/why these type of pci error / data bus
errors crop up.
Yes, it is mips.
Where or what is the list you mentioned ?
Regards,
Marek
Quoted 10 lines · Marek Lindner
Quoted 6 lines · On Wednesday 14 October 2009 02:28:09 Luis R. Rodriguez wrote:
Quoted 2 lines
PCI error 1 at PCI addr
0x10009a10
Data bus error, epc ==83c45b5c, ra ==83c45b54Not sure what these mean, I take it this is mips? May want to check with the arch list to see when/why these type of pci error / data bus
errors crop up.Yes, it is mips.
Where or what is the list you mentioned ?
The linux-mips-kernel list:
http://www.linux-mips.org/wiki/Net_Resources#Mailing_lists
Please CC linux-wireless. You may want to ask to the mips folks what that error means above. Then maybe we can take it from there.
Luis