Kernel warning + ethernet errors - 19.07.3 - still there on 19.07.9
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
Running on a newly installed (running for 3+ days) 19.07.3 build and when I looked at the kernel log, found the following:
[34464.091643] ------------[ cut here ]------------
[34464.096303] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
[34464.104588] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[34464.104597] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat 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_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323
[34464.175343] nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci
[34464.246127] xhci_mtk xhci_hcd ohci_platform ohci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common crc32c_generic
[34464.259663] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.180 #0
[34464.265730] Stack : 00000000 8ff6e840 80580000 800726fc 805b0000 80550510 00000000 00000000
[34464.274069] 8051be50 8fc0ddc4 8fc3c99c 8058a907 80516c40 00000001 8fc0dd68 ac07f5ad
[34464.282407] 00000000 00000000 806f0000 00006648 00000000 0000013a 00000005 00000000
[34464.290744] 00000000 80590000 0003f64f 00000000 00000000 805b0000 00000000 8054a5a0
[34464.299080] 80373590 00000140 00000002 8ff6e840 00000000 8029a9b8 00000008 806f0008
[34464.307418] ...
[34464.309856] Call Trace:
[34464.312320] [<8000c7b0>] show_stack+0x58/0x100
[34464.316758] [<804581e4>] dump_stack+0xa4/0xe0
[34464.321104] [<8002f608>] __warn+0xe0/0x138
[34464.325187] [<8002f690>] warn_slowpath_fmt+0x30/0x3c
[34464.330142] [<80373590>] dev_watchdog+0x1ac/0x324
[34464.334858] [<8008940c>] call_timer_fn.isra.25+0x24/0x84
[34464.340147] [<800896c8>] run_timer_softirq+0x1bc/0x248
[34464.345281] [<80476090>] __do_softirq+0x128/0x2ec
[34464.349980] [<80033fb4>] irq_exit+0xac/0xc8
[34464.354172] [<8024d890>] plat_irq_dispatch+0xfc/0x138
[34464.359205] [<80007588>] except_vec_vi_end+0xb8/0xc4
[34464.364164] [<80008f50>] r4k_wait_irqoff+0x1c/0x24
[34464.369060] ---[ end trace b259e1aa47dc1253 ]---
[34464.373689] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[34464.379842] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[34464.379857] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ebe0000, max=0, ctx=2089, dtx=2089, fdx=2088, next=2089
[34464.379869] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e770000, max=0, calc=2460, drx=2461
[34464.383954] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[34464.389240] mtk_soc_eth 1e100000.ethernet: PPE started
[72528.878735] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[100362.735600] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
[100366.098553] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[100366.104839] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[100366.104856] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0f120000, max=0, ctx=1358, dtx=1358, fdx=1357, next=1358
[100366.104868] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f300000, max=0, calc=3773, drx=3774
[100366.108768] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[100366.114512] mtk_soc_eth 1e100000.ethernet: PPE started
[101346.098666] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[101346.104941] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[101346.104957] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ea20000, max=0, ctx=2488, dtx=2488, fdx=2487, next=2488
[101346.104970] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e2b0000, max=0, calc=2064, drx=2065
[101346.108148] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[101346.113808] mtk_soc_eth 1e100000.ethernet: PPE started
[104822.111864] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[106981.069253] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[106981.075526] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[106981.075542] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e1a0000, max=0, ctx=3910, dtx=3910, fdx=3909, next=3910
[106981.075553] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f3d0000, max=0, calc=1056, drx=1057
[106981.079018] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[106981.084469] mtk_soc_eth 1e100000.ethernet: PPE started
[113817.720706] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
[143641.063091] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[143641.069363] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[143641.069379] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0f0a0000, max=0, ctx=3062, dtx=3062, fdx=3061, next=3062
[143641.069391] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d870000, max=0, calc=565, drx=566
[143641.072683] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[143641.078316] mtk_soc_eth 1e100000.ethernet: PPE started
[154811.064268] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[154811.070559] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[154811.070576] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e550000, max=0, ctx=717, dtx=717, fdx=716, next=717
[154811.070589] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0f3e0000, max=0, calc=1518, drx=1519
[154811.074108] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[154811.079996] mtk_soc_eth 1e100000.ethernet: PPE started
[155591.361211] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
The unit continues to function.
Proc Interrupts ERR is >2000 as well.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the reported kernel log entries for mtk_soc_eth on eth0, including the transmit timeouts, link changes, and Proc Interrupts ERR value. Compare behavior between OpenWrt 19.07.3 and 19.07.9; done requires identifying the cause of the recurring errors and confirming a fix or a documented reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100