From mboxrd@z Thu Jan 1 00:00:00 1970 From: bing_chou Date: Tue, 9 Apr 2013 10:55:43 +0800 Subject: [ath9k-devel] insmod ath9k error In-Reply-To: <201304090250.r392oJxq047751@spam1.bandrich.com> References: <000301ce3450$8d55edd0$a801c970$@com> <201304090250.r392oJxq047751@spam1.bandrich.com> Message-ID: <001101ce34cd$ba329420$2e97bc60$@com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 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 >