OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Duce - 14.11.2020

FS#3450 - AC2100 MT7621 eth0 (mtk_soc_eth): transmit queue 0 timed out

Model Xiaomi Mi Router AC2100
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
Kernel Version 4.14.195

Random BUG, no step to reproduce it exactly
Impact : Outage for few seconds, connectivity lost
Full log attached.

Regards

   log.txt (72.9 KiB)
   dmesg.log (23.2 KiB)
Duce commented on 15.11.2020 12:43

Sun Nov 15 13:40:27 2020 kern.warn kernel: [34514.700764] ————[ cut here ]———— Sun Nov 15 13:40:27 2020 kern.warn kernel: [34514.705405] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 0x8038c0d0
Sun Nov 15 13:40:27 2020 kern.info kernel: [34514.712448] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Sun Nov 15 13:40:27 2020 kern.warn kernel: [34514.719382] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt7615e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 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 xt_CT slhc 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 iptable_mangle iptable_filter ip_tables crc_ccitt compat 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
Sun Nov 15 13:40:27 2020 kern.warn kernel: [34514.780880] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.195 #0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.786953] Stack : 00000000 00000000 00000000 87415340 00000000 00000000 00000000 00000000
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.795297] 00000000 00000000 00000000 00000000 00000000 00000001 87c09d60 1cc28223
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.803640] 87c09df8 00000000 00000000 00005840 00000038 8049c858 00000008 00000000
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.811972] 00000000 80550000 000bea50 00000000 87c09d40 00000000 00000000 8050aed8
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.820304] 8038c0d0 00000140 00000000 87415340 00000000 802ad210 00000000 806b0000
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.828636] ...
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.831071] Call Trace:
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.831112] [<8049c858>] 0x8049c858
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.837007] [<8038c0d0>] 0x8038c0d0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.840479] [<802ad210>] 0x802ad210
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.843950] [<8000c1a0>] 0x8000c1a0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.847419] [<8000c1a8>] 0x8000c1a8
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.850890] [<804856b4>] 0x804856b4
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.854360] [<80071ab0>] 0x80071ab0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.857830] [<8002e608>] 0x8002e608
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.861301] [<8038c0d0>] 0x8038c0d0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.864772] [<8002e690>] 0x8002e690
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.868241] [<8038c0d0>] 0x8038c0d0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.871712] [<80099a00>] 0x80099a00
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.875183] [<8038bf24>] 0x8038bf24
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.878653] [<80088568>] 0x80088568
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.882131] [<80088824>] 0x80088824
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.885608] [<80079158>] 0x80079158
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.889080] [<804a3658>] 0x804a3658
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.892553] [<80032fb4>] 0x80032fb4
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.896024] [<8025a5f0>] 0x8025a5f0
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.899494] [<80007488>] 0x80007488
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.902962]
Sun Nov 15 13:40:28 2020 kern.warn kernel: [34514.904558] —[ end trace 3a20dcaf232c6cbd ]— Sun Nov 15 13:40:28 2020 kern.err kernel: [34514.909167] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Sun Nov 15 13:40:28 2020 kern.info kernel: [34514.915361] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Sun Nov 15 13:40:28 2020 kern.info kernel: [34514.921374] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=072d0000, max=0, ctx=3353, dtx=3353, fdx=3232, next=3353
Sun Nov 15 13:40:28 2020 kern.info kernel: [34514.932219] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=05870000, max=0, calc=3447, drx=3474
Sun Nov 15 13:40:28 2020 kern.info kernel: [34514.946271] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Sun Nov 15 13:40:28 2020 kern.info kernel: [34514.959173] mtk_soc_eth 1e100000.ethernet: PPE started

db260179 commented on 16.11.2020 14:43

As it stands this openwrt version v19.07.4 still doesnt have this patch

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=34a96529041d4e9502c490c66f8af0154187c6d2

Added in the latest v19.07 branch - should be in the next stable release v19.07.5

And this patch - https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c8f8e59816eca49d776562d2d302bf990a87faf0

Helps this situation as well.

Duce commented on 16.11.2020 17:16

Thank you

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing