[Solved] Ath9k kernel panic and uboot 1.1.4

I am able to confirm a kernel panic problem when module ath9k is loaded on my fw150r v2 router. This router can be considered roughly the same as TL-WR741ND v2. The LAN wired ports are perfectly fine I'm trying to see if this router can be saved even though the wireless part may be faulty.

full logs (uboot,bootargs,hexdump,modprobe,lspci)

  • Can someone tell if this is a hardware issue?
Summary
[  108.797527] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[  108.815111] Data bus error, epc == 80d83828, ra == 80d83828
[  108.820711] Oops[#1]:
[  108.823001] CPU: 0 PID: 633 Comm: modprobe Not tainted 4.9.243 #0
[  108.829110] task: 81a53480 task.stack: 80c4a000
[  108.833645] $ 0   : 00000000 00000025 deadc0de 1f5b2000
[  108.838917] $ 4   : b0009860 00009860 00000001 00000000
[  108.844189] $ 8   : 00000000 00000000 fffffffb 80dd0e20
[  108.849461] $12   : 00000002 00000001 000000ff 00000017
[  108.854734] $16   : 00002710 80cd8010 00000005 00009860
[  108.860006] $20   : 00000001 00000000 00000001 00000000
[  108.865278] $24   : 00000011 80ce1b80                  
[  108.870550] $28   : 80c4a000 80c4b918 00000001 80d83828
[  108.875824] Hi    : 00000001
[  108.878707] Lo    : 398f4000
[  108.881611] epc   : 80d83828 0x80d83828 [ath9k_hw@80d80000+0x51020]
[  108.887901] ra    : 80d83828 0x80d83828 [ath9k_hw@80d80000+0x51020]
[  108.894177] Status: 1000f403 KERNEL EXL IE 
[  108.898400] Cause : 1080001c (ExcCode 07)
[  108.902421] PrId  : 00019374 (MIPS 24Kc)
[  108.906343] Modules linked in: ath9k(+) ath9k_common mac80211 ath9k_hw ath cfg80211 compat gpio_button_hotplug
[  108.916440] Process modprobe (pid: 633, threadinfo=80c4a000, task=81a53480, tls=77751dc0)
[  108.924626] Stack : 80cd8304 00000000 00000012 00000024 00000000 80cd8010 00009860 0000a2c4
[  108.933060]         00000000 00023f60 80cd830a 80d8ec24 00000024 80cd8010 80cd8304 00000004
[  108.941493]         000186a0 80d9822c 80cd8010 80cd8304 00000000 80d8ee3c 00000160 80d85370
[  108.949928]         80cd822c 80d9c55c 00000000 00000000 80cd8010 80cd8304 00000000 00000000
[  108.958361]         00023f60 81800964 00000001 00000000 00000001 80d87698 1e1e1c1a 00020002
[  108.966786]         ...
[  108.969245] Call Trace:[  108.971546] [<80d8ec24>] 0x80d8ec24 [ath9k_hw@80d80000+0x51020]
  • Is there a way to prevent ath9k from loading? Is adding "module_blacklist=ath9k" to bootargs in uboot followed by 'bootm xxxxxxxx' the right way? Is there a way to tell if there's any effect on kernel module loading?
  • uboot is 1.1.4 and there's no saveenv. Is mtdblock0 0xcf50 area safe to update as I see 15 bytes space at 0xd070.
Summary
root@(none):/# dd if=/dev/mtdblock0 bs=1 skip=65536 | hexdump -C
...
0000cef0  6f 6e 65 0a 00 ff ff ff  ff ff ff ff ff ff ff ff  |one.............|
0000cf00  00 00 00 00 00 01 fc 00  00 01 fe 00 00 02 00 00  |................|
0000cf10  00 12 00 00 00 3e 00 00  00 3f 00 00 81 00 00 00  |.....>...?......|
0000cf20  00 00 00 40 00 00 00 00  00 00 00 00 00 00 00 00  |...@............|
0000cf30  00 02 00 00 00 02 00 00  ff ff ff ff 00 00 00 00  |................|
0000cf40  62 6f 6f 74 61 72 67 73  3d 63 6f 6e 73 6f 6c 65  |bootargs=console|
0000cf50  3d 74 74 79 53 30 2c 31  31 35 32 30 30 20 72 6f  |=ttyS0,115200 ro|
0000cf60  6f 74 3d 33 31 3a 30 32  20 72 6f 6f 74 66 73 74  |ot=31:02 rootfst|
0000cf70  79 70 65 3d 6a 66 66 73  32 20 69 6e 69 74 3d 2f  |ype=jffs2 init=/|
0000cf80  73 62 69 6e 2f 69 6e 69  74 20 6d 74 64 70 61 72  |sbin/init mtdpar|
0000cf90  74 73 3d 61 72 37 32 34  30 2d 6e 6f 72 30 3a 32  |ts=ar7240-nor0:2|
0000cfa0  35 36 6b 28 75 2d 62 6f  6f 74 29 2c 36 34 6b 28  |56k(u-boot),64k(|
0000cfb0  75 2d 62 6f 6f 74 2d 65  6e 76 29 2c 32 37 35 32  |u-boot-env),2752|
0000cfc0  6b 28 72 6f 6f 74 66 73  29 2c 38 39 36 6b 28 75  |k(rootfs),896k(u|
0000cfd0  49 6d 61 67 65 29 2c 36  34 6b 28 4e 56 52 41 4d  |Image),64k(NVRAM|
0000cfe0  29 2c 36 34 6b 28 41 52  54 29 00 62 6f 6f 74 63  |),64k(ART).bootc|
0000cff0  6d 64 3d 62 6f 6f 74 6d  20 30 78 39 66 30 32 30  |md=bootm 0x9f020|
0000d000  30 30 30 00 62 6f 6f 74  64 65 6c 61 79 3d 31 00  |000.bootdelay=1.|
0000d010  62 61 75 64 72 61 74 65  3d 31 31 35 32 30 30 00  |baudrate=115200.|
0000d020  65 74 68 61 64 64 72 3d  30 78 30 30 3a 30 78 61  |ethaddr=0x00:0xa|
0000d030  61 3a 30 78 62 62 3a 30  78 63 63 3a 30 78 64 64  |a:0xbb:0xcc:0xdd|
0000d040  3a 30 78 65 65 00 69 70  61 64 64 72 3d 31 39 32  |:0xee.ipaddr=192|
0000d050  2e 31 36 38 2e 31 2e 31  32 33 00 73 65 72 76 65  |.168.1.123.serve|
0000d060  72 69 70 3d 31 39 32 2e  31 36 38 2e 31 2e 31 30  |rip=192.168.1.10|
0000d070  30 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |0...............|
0000d080  20 20 20 20 20 20 20 20  00 00 00 00 08 20 08 00  |        ..... ..|
0000d090  ff ff ff ff ff ff ff ff  ff ff 00 00 00 00 00 00  |................|
0000d0a0  00 00 00 1f 00 00 00 1c  00 00 00 1f 00 00 00 1e  |................|
0000d0b0  00 00 00 1f 00 00 00 1e  00 00 00 1f 00 00 00 1f  |................|
0000d0c0  00 00 00 1e 00 00 00 1f  00 00 00 1e 00 00 00 1f  |................|
0000d0d0  00 00 00 00 00 00 00 01  00 00 00 03 00 00 00 07  |................|
0000d0e0  00 00 00 0f 00 00 00 1f  00 00 00 3f 00 00 00 7f  |...........?....|
...

Thanks you.

Not able to find a way to block ath9k module from loading. I compile image from source removing wireless support and it's all good now.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.