#20472: Seg fault while loading ath5k on mikrotik rb411
----------------------------+-----------------------------------
 Reporter:  gimbus109@…     |      Owner:  developers
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:  Barrier Breaker 14.07
Component:  kernel          |    Version:  Barrier Breaker 14.07
 Keywords:  ath5k segfault  |
----------------------------+-----------------------------------
 Fresh install on RB411.
 Wifi card: TP-Link TL-WN662AG

 {{{
 root@OpenWrt:~# cat /etc/openwrt_release
 DISTRIB_ID="OpenWrt"
 DISTRIB_RELEASE="14.07"
 DISTRIB_REVISION="r42625"
 DISTRIB_CODENAME="barrier_breaker"
 DISTRIB_TARGET="ar71xx/generic"
 DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker 14.07"
 DISTRIB_TAINTS=""
 root@OpenWrt:~#lspci
   00:12.0 Ethernet controller: Qualcomm Atheros AR5413/AR5414 Wireless
 Network Adapter [AR5006X(S) 802.11abg] (rev 01)
 root@OpenWrt:~# opkg install kmod-ath5k
 Installing kmod-ath5k (3.10.49+2014-05-22-1) to root...
 Downloading
 
http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/mikrotik/packages/base
 /kmod-ath5k_3.10.49+2014-05-22-1_ar71xx.ipk.
 Installing kmod-ath (3.10.49+2014-05-22-1) to root...
 Downloading
 
http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/mikrotik/packages/base
 /kmod-ath_3.10.49+2014-05-22-1_ar71xx.ipk.
 Configuring kmod-ath.
 Configuring kmod-ath5k.

 root@OpenWrt:~# modprobe ath5k
 [  168.050000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
 [  168.050000] ath5k 0000:00:12.0: registered as 'phy0'
 [  168.060000] Data bus error, epc == 80c8bf00, ra == 80c8befc
 [  168.060000] Oops[#1]:
 [  168.060000] CPU: 0 PID: 969 Comm: modprobe Not tainted 3.10.49 #5
 [  168.060000] task: 818690c0 ti: 80c02000 task.ti: 80c02000
 [  168.060000] $ 0   : 00000000 0000006e deadc0de 00000000
 [  168.060000] $ 4   : b0000000 00000000 0000000c 00040000
 [  168.060000] $ 8   : 00000000 80064910 74657265 64206173
 [  168.060000] $12   : 00000000 00000001 00000000 3d2b7063
 [  168.060000] $16   : 80c19440 000000a5 00000000 00000000
 [  168.060000] $20   : b0000000 81817800 00000000 00000017
 [  168.060000] $24   : 00000003 80191d70
 [  168.060000] $28   : 80c02000 80c03bb0 00000124 80c8befc
 [  168.060000] Hi    : 00000000
 [  168.060000] Lo    : 88974000
 [  168.060000] epc   : 80c8bf00 ath5k_hw_phy_init+0x1960/0x1a30 [ath5k]
 [  168.060000]     Not tainted
 [  168.060000] ra    : 80c8befc ath5k_hw_phy_init+0x195c/0x1a30 [ath5k]
 [  168.060000] Status: 1000d403 KERNEL EXL IE
 [  168.060000] Cause : 1080001c
 [  168.060000] PrId  : 00019374 (MIPS 24Kc)
 [  168.060000] Modules linked in: ath5k(+) mac80211 ath pppoe ppp_async
 ipw2100 iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 libh
 [  168.060000] Process modprobe (pid: 969, threadinfo=80c02000,
 task=818690c0, tls=77a84440)
 [  168.060000] Stack : 4d3d7063 69004445 56494345 80334680 80c19440
 000000a5 81817800 00000000
           b0000000 80c8c2c0 80c03c28 80c18ac0 00000000 801c41d8 80c19440
 000000a5
           00000000 00000000 b0000000 80c8d4cc 00000008 801f8a00 80c19338
 80c03c88
           80c9f3c0 80c19440 80c18ac0 00000000 b0000000 80c9f574 00000000
 00000017
           00000124 80c91900 80c18ac0 800ffc88 80c18120 ffffffe0 80ca08ac
 80c19440
 ...
 [  168.060000] Call Trace:
 [  168.060000] [<80c8bf00>] ath5k_hw_phy_init+0x1960/0x1a30 [ath5k]
 [  168.060000] [<80c8d4cc>] ath5k_hw_init+0xbc/0x6e8 [ath5k]
 [  168.060000] [<80c91900>] ath5k_init_ah+0x180/0xb14 [ath5k]
 [  168.060000] [<80c98030>] ath5k_debug_printtxbuf+0x5c0/0x648 [ath5k]
 [  168.060000]
 [  168.060000]
 Code: 0c0588cd  00822021  8e0401b8 <00409821> 0c0588cd  24844004  3c03ffc0
 00431824  14600004
 [  168.300000] ---[ end trace 410126a93ae59200 ]---
 Segmentation fault
 }}}

 Tried on self compiled minimal kernel/packages - same result.
 The same hw had been working OK under mikrotik routerOS.

--
Ticket URL: <https://dev.openwrt.org/ticket/20472>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to