All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] insmod ath9k error
@ 2013-04-08 11:59 bing_chou
  2013-04-08 18:36 ` Adrian Chadd
       [not found] ` <201304090250.r392oJxq047751@spam1.bandrich.com>
  0 siblings, 2 replies; 5+ messages in thread
From: bing_chou @ 2013-04-08 11:59 UTC (permalink / raw)
  To: ath9k-devel

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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] insmod ath9k error
  2013-04-08 11:59 [ath9k-devel] insmod ath9k error bing_chou
@ 2013-04-08 18:36 ` Adrian Chadd
       [not found] ` <201304090250.r392oJxq047751@spam1.bandrich.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Adrian Chadd @ 2013-04-08 18:36 UTC (permalink / raw)
  To: ath9k-devel

Hi!

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

thanks,



adrian


On 8 April 2013 04:59, bing_chou <bing_chou@bandrich.com> wrote:
> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] insmod ath9k error
       [not found] ` <201304090250.r392oJxq047751@spam1.bandrich.com>
@ 2013-04-09  2:55   ` bing_chou
  2013-04-09  5:07     ` Adrian Chadd
  0 siblings, 1 reply; 5+ messages in thread
From: bing_chou @ 2013-04-09  2:55 UTC (permalink / raw)
  To: ath9k-devel

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: adrian.chadd@gmail.com [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


On 8 April 2013 04:59, bing_chou <bing_chou@bandrich.com> wrote:
> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] insmod ath9k error
  2013-04-09  2:55   ` bing_chou
@ 2013-04-09  5:07     ` Adrian Chadd
  2013-04-09  5:40       ` bing_chou
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Chadd @ 2013-04-09  5:07 UTC (permalink / raw)
  To: ath9k-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] insmod ath9k error
  2013-04-09  5:07     ` Adrian Chadd
@ 2013-04-09  5:40       ` bing_chou
  0 siblings, 0 replies; 5+ messages in thread
From: bing_chou @ 2013-04-09  5:40 UTC (permalink / raw)
  To: ath9k-devel

Hi Adrian

Because it is included in the branches of attitude_adjustment

-----Original Message-----
From: adrian.chadd@gmail.com [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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-09  5:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 11:59 [ath9k-devel] insmod ath9k error bing_chou
2013-04-08 18:36 ` Adrian Chadd
     [not found] ` <201304090250.r392oJxq047751@spam1.bandrich.com>
2013-04-09  2:55   ` bing_chou
2013-04-09  5:07     ` Adrian Chadd
2013-04-09  5:40       ` bing_chou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.