TL-WDR4310v1 crash by "data bus error" from ath9k
Username: Yousong Zhou
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1720
TL-WDR4310v1 running LEDE 17.01.5 with “kmod-mac80211 - 4.4.140+2017-01-31-5”
The trigger is yet unknown. It happens roughly once in 2 or 3 days.
/sys/kernel/debug/crashlog shows that the kernel runs perfectly fine before “the DMA failed to stop error”. Searching through the internet reveals that the DMA error already exist for a long time.
Is it possible “Data bus error” means the hardware malfunctioned and there is no way for the driver to recover, thus the oops and crash?
– Update
The device has 8 stations associated to 2.4Ghz channel, and 26 stations to 5Ghz
<4>[14291.045544] ICMPv6: process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.br-lan.base_reachable_time - use net.ipv6.neigh.br-lan.base_reachable_time_ms instead <4>[14291.105605] nr_pdflush_threads exported in /proc is scheduled for removal <3>[218801.560040] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400 <1>[223811.495342] Data bus error, epc == 87703774, ra == 87703774 <4>[223811.501097] Oops[#1]: <4>[223811.503502] CPU: 0 PID: 10421 Comm: kworker/u2:1 Not tainted 4.4.140 #0 <4>[223811.510308] Workqueue: phy1 0x8758531c [ath9k@87580000+0x16650] <4>[223811.516406] task: 87cb8510 ti: 87c46000 task.ti: 87c46000 <4>[223811.521963] $ 0 : 00000000 80450000 deadc0de 00000000 <4>[223811.527384] $ 4 : b0007000 00007000 00000003 00000000 <4>[223811.532814] $ 8 : 0022ee0f db7e7b0c e4924925 00000000 <4>[223811.538243] $12 : 000038fd ffffff94 00000001 00000000 <4>[223811.543664] $16 : 00002710 87ca6010 00000000 00007000 <4>[223811.549084] $20 : 00000003 00000000 00000034 00000003 <4>[223811.554505] $24 : 00000000 87581b58 <4>[223811.559927] $28 : 87c46000 87c47d58 b8815392 87703774 <4>[223811.565356] Hi : 00000000 <4>[223811.568366] Lo : 00002710 <4>[223811.571385] epc : 87703774 0x87703774 [ath9k_hw@87700000+0x51280] <4>[223811.577834] ra : 87703774 0x87703774 [ath9k_hw@87700000+0x51280] <4>[223811.584276] Status: 1100dc03 KERNEL EXL IE <4>[223811.588634] Cause : 0080001c (ExcCode 07) <4>[223811.592787] PrId : 0001974c (MIPS 74Kc) <4>[223811.596851] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY wireguard slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_udp_tunnel udp_tunnel tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common <4>[223811.718157] Process kworker/u2:1 (pid: 10421, threadinfo=87c46000, task=87cb8510, tls=00000000) <4>[223811.727063] Stack : 8706e858 87ca6410 877e1c54 87ca6038 87ca6410 87ca6010 00020000 00007000 <4>[223811.727063] 000001c0 1aa3616f 87ca6038 87703b44 ff93d460 ff92ff92 ff930000 00000000 <4>[223811.727063] 000186a0 87ca6410 8706e858 87ca6010 87ca6410 8706e858 00000000 87706c74 <4>[223811.727063] 87ca6410 00000088 803f0000 875878d0 8706de40 00000001 00036a43 1b3d9a8b <4>[223811.727063] 00000000 00036a43 1b3d9a8b 87ca6410 8706d460 8706e858 8706ddf8 8706de0c <4>[223811.727063] ... <4>[223811.763478] Call Trace:[<87703b44>] 0x87703b44 [ath9k_hw@87700000+0x51280] <4>[223811.770637] [<87706c74>] 0x87706c74 [ath9k_hw@87700000+0x51280] <4>[223811.776738] [<875878d0>] 0x875878d0 [ath9k@87580000+0x16650] <4>[223811.782596] [<875851e0>] 0x875851e0 [ath9k@87580000+0x16650] <4>[223811.788429] [<8009ff5c>] 0x8009ff5c <4>[223811.792074] [<87585340>] 0x87585340 [ath9k@87580000+0x16650] <4>[223811.797899] [<80066c50>] 0x80066c50 <4>[223811.801524] [<80093588>] 0x80093588 <4>[223811.805191] [<800943dc>] 0x800943dc <4>[223811.808820] [<80094100>] 0x80094100 <4>[223811.812446] [<80094100>] 0x80094100 <4>[223811.816072] [<800987fc>] 0x800987fc <4>[223811.819724] [<80098724>] 0x80098724 <4>[223811.823356] [<80060878>] 0x80060878 <4>[223811.826987] <4>[223811.828589] <4>[223811.828589] Code: 02202021 0040f809 00000000 <00541024> 10550008 24020001 0c06d92a 2404000a 1000fff4 <4>[223811.838888] ---[ end trace 83c6a0854e49a922 ]---
===================================