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

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Feb 20 17:16:16 EST 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 - Chernobyl (pchernikhowsky)

----------
Booo!! It's still there - see below. The router didn't crash though - in fact, I never even noticed a blip (I was online working at the time), but something bad is still going on. So this is not the fix either. I'm starting to think this driver is hopeless until I switch to the 21.0x branch and the new kernel.

Model	UBNT-ERX-SFP
Architecture	MediaTek MT7621 ver:1 eco:3
Firmware Version	OpenWrt 19.07-SNAPSHOT r11306-c4a6851c72 / LuCI openwrt-19.07 branch git-21.036.67598-2936a19
Kernel Version	4.14.221
Uptime	4d 16h 34m 16s


Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.039911] ------------[ cut here ]------------
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.049315] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.065955] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.079985] Modules linked in: nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt i2c_gpio i2c_algo_pca i2c_algo_bit gpio_pca953x i2c_dev xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net 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
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.223523]  ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun leds_gpio gpio_button_hotplug
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.256659] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.221 #0
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.268951] Stack : 00000000 8fd72740 80580000 80072a6c 805a0000 80549e34 00000000 00000000
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.285756]         8051591c 8fc0ddc4 8fc3c99c 80582907 805106b0 00000001 8fc0dd68 5326163c
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.302558]         00000000 00000000 806e0000 000049a0 00000000 000000e6 00000008 00000000
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.319358]         00000000 80580000 0003ea93 70617773 00000000 805a0000 00000000 8054403c
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.336162]         80372440 00000140 00000002 8fd72740 00000008 8029af38 00000008 806e0008
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.352970]         ...
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.358003] Call Trace:
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.363061] [] show_stack+0x58/0x100
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.372095] [] dump_stack+0xa4/0xe0
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.380937] [] __warn+0xe0/0x138
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.389248] [] warn_slowpath_fmt+0x30/0x3c
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.399300] [] dev_watchdog+0x1ac/0x324
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.408846] [] call_timer_fn.isra.25+0x24/0x84
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.419580] [] run_timer_softirq+0x1bc/0x248
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.429971] [] __do_softirq+0x128/0x2ec
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.439509] [] irq_exit+0xac/0xc8
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.448019] [] plat_irq_dispatch+0xfc/0x138
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.458238] [] except_vec_vi_end+0xb8/0xc4
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.468281] [] r4k_wait_irqoff+0x1c/0x24
Sat Feb 20 11:16:20 2021 kern.warn kernel: [394842.478062] ---[ end trace 97a6b717df71c27c ]---
Sat Feb 20 11:16:20 2021 kern.err kernel: [394842.487430] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.499915] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.512050] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eec0000, max=0, ctx=2473, dtx=2473, fdx=2472, next=2473
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.533875] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f350000, max=0, calc=734, drx=735
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.557254] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Sat Feb 20 11:16:20 2021 kern.info kernel: [394842.577540] 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#comment9394

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