Skip to contentSkip to conversation

insmod ath9k error

ath9k-devel bing_chou 2 participants 5 messages Apr 8, 2013 – Apr 9, 2013 1 message not in the archive

lore
Share & tools
lore

bing_chou

author
#0 lore raw

Hi all

I got a error when insmod ath9k.ko and the ?art block? is null that it will show ?data bus error? below

root at OpenWrt:/# insmod ath9k

[  143.200000] Data bus error, epc == 83b83ed8, ra == 83b83ed8
[  143.200000] Oops[#1]:
[  143.200000] Cpu 0
[  143.200000] $ 0   : 00000000 00000061 deadc0de 00000000
[  143.200000] $ 4   : b8115f18 00015f18 00000007 00000004
[  143.200000] $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
[  143.200000] $12   : 7c7c3c7c 001e0041 00000001 7c7c7c3c
[  143.200000] $16   : 831d4000 00015f18 00000000 00000007
[  143.200000] $20   : 00000004 00000064 00000004 000003e8
[  143.200000] $24   : 00000000 8320d190
[  143.200000] $28   : 831d2000 831d3b68 00015f18 83b83ed8

I think it is caused by opt address , and then I modify the file of build_dir/linux-ar71xx_generic/compat-wireless-2012-09-07/drivers/net/wirele ss/ath/ath9k/ar9003_eeprom.h

From

Line 71 : #define AR9300_OTP_BASE 0x14000

Line 72 : #define AR9300_OTP_STATUS 0x15f18

Line 77 : #define AR9300_OTP_READ_DATA 0x15f1c

To

#define AR9300_OTP_BASE (AR_SREV_9340(ah) ? 0x30000 :
0x14000)

#define AR9300_OTP_STATUS (AR_SREV_9340(ah) ? 0x30018 :
0x15f18)

#define AR9300_OTP_READ_DATA (AR_SREV_9340(ah) ? 0x3001c :
0x15f1c)

But it still shows the error message below

[   12.320000] ath: phy0: Unable to initialize hardware; initialization

status: -5

[   12.320000] ath9k ar934x_wmac: failed to initialize device
[   12.330000] ath9k: probe of ar934x_wmac failed with error -5

Could someone please tell me how to fixed?

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130408/6cd2eecb/attachment.htm

#1 lore raw

Hi!

You need to tell us which version of the hardware you're using. Who knows at this point.

thanks,

adrian

Quoted 84 lines · bing_chou

Hi all

I got a error when insmod ath9k.ko and the ?art block? is null that it will show ?data bus error? below

root at OpenWrt:/# insmod ath9k

[  143.200000] Data bus error, epc == 83b83ed8, ra == 83b83ed8
[  143.200000] Oops[#1]:
[  143.200000] Cpu 0
[  143.200000] $ 0   : 00000000 00000061 deadc0de 00000000
[  143.200000] $ 4   : b8115f18 00015f18 00000007 00000004
[  143.200000] $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
[  143.200000] $12   : 7c7c3c7c 001e0041 00000001 7c7c7c3c
[  143.200000] $16   : 831d4000 00015f18 00000000 00000007
[  143.200000] $20   : 00000004 00000064 00000004 000003e8
[  143.200000] $24   : 00000000 8320d190
[  143.200000] $28   : 831d2000 831d3b68 00015f18 83b83ed8

I think it is caused by opt address , and then I modify the file of build_dir/linux-ar71xx_generic/compat-wireless-2012-09-07/drivers/net/wireless/ath/ath9k/ar9003_eeprom.h

From

Line 71 : #define AR9300_OTP_BASE 0x14000

Line 72 : #define AR9300_OTP_STATUS 0x15f18

Line 77 : #define AR9300_OTP_READ_DATA 0x15f1c

To

#define AR9300_OTP_BASE (AR_SREV_9340(ah) ? 0x30000 :
0x14000)

#define AR9300_OTP_STATUS (AR_SREV_9340(ah) ? 0x30018 :
0x15f18)

#define AR9300_OTP_READ_DATA (AR_SREV_9340(ah) ? 0x3001c :
0x15f1c)

But it still shows the error message below

[   12.320000] ath: phy0: Unable to initialize hardware; initialization

status: -5

[   12.320000] ath9k ar934x_wmac: failed to initialize device
[   12.330000] ath9k: probe of ar934x_wmac failed with error -5

Could someone please tell me how to fixed?

Thanks

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

author
#3 lore raw
In reply to a message not in the archive

Hi Adrian

Thanks for your answer

Our cpu is AR9341
check out svn version is svn://svn.openwrt.org/openwrt/branches/attitude_adjustment
rev: 36088

thanks

-----Original Message-----
From: [email protected] [mailto:adrian.chadd at gmail.com] On Behalf Of Adrian Chadd
Sent: Tuesday, April 09, 2013 2:36 AM
To: bing_chou
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] insmod ath9k error

Hi!

You need to tell us which version of the hardware you're using. Who knows at this point.

thanks,

adrian

Quoted 85 lines · bing_chou

Hi all

I got a error when insmod ath9k.ko and the ?art block? is null that it will show ?data bus error? below

root at OpenWrt:/# insmod ath9k

[  143.200000] Data bus error, epc == 83b83ed8, ra == 83b83ed8
[  143.200000] Oops[#1]:
[  143.200000] Cpu 0
[  143.200000] $ 0   : 00000000 00000061 deadc0de 00000000
[  143.200000] $ 4   : b8115f18 00015f18 00000007 00000004
[  143.200000] $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
[  143.200000] $12   : 7c7c3c7c 001e0041 00000001 7c7c7c3c
[  143.200000] $16   : 831d4000 00015f18 00000000 00000007
[  143.200000] $20   : 00000004 00000064 00000004 000003e8
[  143.200000] $24   : 00000000 8320d190
[  143.200000] $28   : 831d2000 831d3b68 00015f18 83b83ed8

I think it is caused by opt address , and then I modify the file of build_dir/linux-ar71xx_generic/compat-wireless-2012-09-07/drivers/net/ wireless/ath/ath9k/ar9003_eeprom.h

From

Line 71 : #define AR9300_OTP_BASE 0x14000

Line 72 : #define AR9300_OTP_STATUS 0x15f18

Line 77 : #define AR9300_OTP_READ_DATA 0x15f1c

To

#define AR9300_OTP_BASE (AR_SREV_9340(ah) ? 0x30000 :
0x14000)

#define AR9300_OTP_STATUS (AR_SREV_9340(ah) ? 0x30018 :
0x15f18)

#define AR9300_OTP_READ_DATA (AR_SREV_9340(ah) ? 0x3001c :
0x15f1c)

But it still shows the error message below

[   12.320000] ath: phy0: Unable to initialize hardware; initialization

status: -5

[   12.320000] ath9k ar934x_wmac: failed to initialize device
[   12.330000] ath9k: probe of ar934x_wmac failed with error -5

Could someone please tell me how to fixed?

Thanks

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

#4 lore raw

Ok. AR9341, so wasp.

OpenWRT runs fine on that. I know, i have a big stack of wasp boards at work. Some may even run openwrt.

Question though - why are you using a compat-wireless from Sep 2012?

Adrian

author
#5 lore raw

Hi Adrian

Because it is included in the branches of attitude_adjustment

-----Original Message-----
From: [email protected] [mailto:adrian.chadd at gmail.com] On Behalf Of Adrian Chadd
Sent: Tuesday, April 09, 2013 1:07 PM
To: bing_chou
Cc: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] insmod ath9k error

Ok. AR9341, so wasp.

OpenWRT runs fine on that. I know, i have a big stack of wasp boards at work. Some may even run openwrt.

Question though - why are you using a compat-wireless from Sep 2012?

Adrian