All of lore.kernel.org
 help / color / mirror / Atom feed
From: bing_chou <bing_chou@bandrich.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] insmod ath9k error
Date: Mon, 8 Apr 2013 19:59:40 +0800	[thread overview]
Message-ID: <000301ce3450$8d55edd0$a801c970$@com> (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 

             reply	other threads:[~2013-04-08 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 11:59 bing_chou [this message]
2013-04-08 18:36 ` [ath9k-devel] insmod ath9k error 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301ce3450$8d55edd0$a801c970$@com' \
    --to=bing_chou@bandrich.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.