[FS#2628] Kernel warning / crash on ramips: eth0 (mtk_soc_eth): transmit queue 0 timed out

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Fri Mar 5 00:36:48 GMT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2628 - Kernel warning / crash on ramips: eth0 (mtk_soc_eth): transmit queue 0 timed out
User who did this - Thor Johansen (Thor)

----------
Problem still occurs with 19.07.7 on Mikrotik RB750gr3. I see these errors on my rsyslog server on a daily basis. They don't seem to cause a problem most of the time, but occasionally a router will become unresponsive and needs to be power cycled. I can't verify whether this error is also what causes the hangs, but given how many people are seeing this error message in connection with such hangs, it seems to be the likely culprit:

Feb 23 08:01:19 kernel: [26984.986368] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x
324
Feb 23 08:01:19 kernel: [26984.994619] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Feb 23 08:01:19 kernel: [26985.001559] Modules linked in: pppoe ppp_async pppox ppp_generic iptable_nat ipt_REJECT
 ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl 
xt_ecn xt_dscp xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CLASSIFY slhc nf_reject_ip
v4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_f
low_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt gpio_beep
er input_core xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netifa
ce ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport
Feb 23 08:01:19 kernel: [26985.072669]  ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink tun leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Feb 23 08:01:19 kernel: [26985.092424] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.221 #0
Feb 23 08:01:20 kernel: [26985.098489] Stack : 00000000 8ff1b240 80530000 80072a6c 80560000 804fcfa4 00000000 00000000
Feb 23 08:01:20 kernel: [26985.106829]         804ca4cc 8fc09dc4 8053673c 805362c7 804c5260 00000001 8fc09d68 ac07f5c4
Feb 23 08:01:20 kernel: [26985.115169]         00000000 00000000 80690000 000039b0 00000000 000000bd 00000008 00000000
Feb 23 08:01:20 kernel: [26985.123502]         00000000 80540000 00016908 00000000 00000000 80560000 00000000 804f8c30
Feb 23 08:01:20 kernel: [26985.131834]         80372b50 00000140 00000000 8ff1b240 00000000 8029af38 00000000 80690000
Feb 23 08:01:20 kernel: [26985.140165]         ...
Feb 23 08:01:20 kernel: [26985.142602] Call Trace:
Feb 23 08:01:20 kernel: [26985.145063] [] show_stack+0x58/0x100
Feb 23 08:01:20 kernel: [26985.149494] [] dump_stack+0xa4/0xe0
Feb 23 08:01:20 kernel: [26985.153840] [] __warn+0xe0/0x138
Feb 23 08:01:20 kernel: [26985.157917] [] warn_slowpath_fmt+0x30/0x3c
Feb 23 08:01:20 kernel: [26985.162867] [] dev_watchdog+0x1ac/0x324
Feb 23 08:01:20 kernel: [26985.167573] [] call_timer_fn.isra.25+0x24/0x84
Feb 23 08:01:20 kernel: [26985.172862] [] run_timer_softirq+0x1bc/0x248
Feb 23 08:01:20 kernel: [26985.177981] [] __do_softirq+0x128/0x2ec
Feb 23 08:01:20 kernel: [26985.182671] [] irq_exit+0xac/0xc8
Feb 23 08:01:20 kernel: [26985.186853] [] plat_irq_dispatch+0xfc/0x138
Feb 23 08:01:20 kernel: [26985.191883] [] except_vec_vi_end+0xb8/0xc4
Feb 23 08:01:20 kernel: [26985.196824] [] r4k_wait_irqoff+0x1c/0x24
Feb 23 08:01:20 kernel: [26985.201698] ---[ end trace 3a4bde47433ec4d2 ]---
Feb 23 08:01:20 kernel: [26985.206323] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Feb 23 08:01:20 kernel: [26985.212524] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Feb 23 08:01:20 kernel: [26985.218527] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eee0000, max=0, ctx=3157, dtx=3157, fdx=3156, next=3157
Feb 23 08:01:20 kernel: [26985.229388] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f380000, max=0, calc=3148, drx=3153
Feb 23 08:01:20 kernel: [26985.242005] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Feb 23 08:01:20 kernel: [26985.255979] mtk_soc_eth 1e100000.ethernet: PPE started
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=2628#comment9460

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list