Mtk_soc_eth watchdog timeout after r11573

I know this doesn't help much, but I've been running 20 days without issues, having both 100mbit and gigabit devices.

Well. What patches applied?

I see high amounts of interrupt errors when checking /proc/interrupts. Most likely from the wifi chips. Is this of any relevance? On my r7800 I don't have any errors ...

I tried several times compile and flash kernel 5.4 firmware for rampis MT7621, network and switcher never work. Ping to router always timeout. Now still keep stay on 19.07-SNAPSHOT branch with kernel 4.14.176.

When flashing a 5.4 build, did you make sure you did NOT keep settings?

Network and switch always not working no mater keep settings or reset to factory settings.

Thanks, it does help me a lot, as I need to stay on 4.14 / 19.07.x base, and these patches seem to stabilize the router.

I have a specific issues that just surfaced when switching from a Netgear CM600 to a CM1000 cable modem. The router just constantly reboots on the CM1000, so I suspect it is using Pause frames and causes the router to crash and reboot. So the FC off patch would likely help, right?

Anyone know how to turn of Flow control on port 5 on an existing deployment?
I can't deploy a new build until several weeks from now, but would love to be able to run a cli command or edit a setting to turn off FC so that unit can run with the CM1000.

I have 16+ days of uptime on 5.4.35, and have no kernel errors whatsoever. (Dlink 860L). And one leg of the router still has flow control enabled (all gigabit).

After 20 days of error-free uptime, today I upgraded to 5.4.42, lets see if it continues to be stable.

Any news on HW offload?

Hi, all again :frowning:
OpenWrt GCC 7.5.0 r11093-f99b1d1
with PR "ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default "
7 Day

[650848.993965] ------------[ cut here ]------------
[650848.998716] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
[650849.007055] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[650849.014079] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib 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 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda 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 sg ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[650849.084514]  nf_reject_ipv6 msdos vfat fat autofs4 nls_utf8 nls_koi8_r nls_iso8859_1 nls_cp866 nls_cp852 nls_cp850 nls_cp437 nls_cp1251 nls_cp1250 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 mbcache jbd2 exfat usbcore nls_base usb_common crc32c_generic
[650849.112529] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.180 #0

I Think, need activate second RGMII link, like Padavan software, and no need some workaround.
Ok, no 1 Gbps light, but no errors.

Or you can give the latest maser a try. I am running on it for quite some time, have no errors whatsoever.

Activating the second RGMII link can cause issues, if I remember correctly this is explained this in the v5.4 PR by one of the developers. Take a look before you proceed.

Well, in spite of 19.07.3 having the flow-control fix discussed in this thread, it is still susceptible to the timeout crash.
Is there any hope this will get addressed in 19.07.4?
I can't move to master, and can't wait for a 20.x, whenever that might come.

Recovered Crashlog:

ime: 1590694892.538679
Modules:	pppoe@8eab8000+2430	ppp_async@8eab2000+1be0	pptp@8eaac000+3620	pppox@8ef6a000+58a	ppp_mppe@8ea94000+1660	ppp_generic@8ea88000+5b42	nf_nat_pptp@8ee91000+750	nf_conntrack_pptp@8ee6f000+f40	nf_conntrack_ipv6@8e99a000+1280	mt76x2e@8ee50000+2870	mt76x2_common@8e9e4000+2d48	mt76x02_lib@8ed80000+a54b	mt7603e@8eee0000+97ec	mt76@8eec0000+832c	mac80211@8ec80000+722a8	iptable_nat@8f739000+310	ipt_REJECT@8ef87000+410	ipt_MASQUERADE@8f7e0000+2f0	cfg80211@8ec00000+396c4	xt_time@8ee14000+730	xt_tcpudp@8e9b8000+750	xt_tcpmss@8ee4a000+470	xt_statistic@8e9fb000+390	xt_state@8ee23000+310	xt_recent@8ee2a000+1c40	xt_nat@8e8b8000+650	xt_multiport@8e896000+550	xt_mark@8ee1c000+2f0	xt_mac@8ee35000+2b0	xt_limit@8eea5000+4f0	xt_length@8eea3000+310	xt_hl@8eea0000+370	xt_helper@8ee9c000+3b0	xt_ecn@8ee99000+590	xt_dscp@8ee85000+430	xt_conntrack@8ee82000+950	xt_connmark@8ee7e000+490	xt_connlimit@8ee8e000+15cd	xt_connbytes@8ee6c000+690	xt_comment@8ee6a000+230	xt_TCPMSS@8ee67000+b30	xt_REDIRECT@8ee63000+310	xt_LOG@8ee60000+350	xt_HL@8ee4c000+590	xt_FLOWOFFLOAD@8ee49000+c40	xt_DSCP@8ee45000+630	xt_CT@8ef4a000+a70	xt_CLASSIFY@8ee19000+290	ums_usbat@8ee38000+20d0	ums_sddr55@8ee32000+1790	ums_sddr09@8ee2c000+2410	ums_karma@8ee0f000+6f0	ums_jumpshot@8ee1e000+1010	ums_isd200@8ee08000+1760	ums_freecom@8e864000+8d0	ums_datafab@8e9fe000+1370	ums_cypress@8f7b3000+a70	ums_alauda@8e9f4000+22f0	ts_fsm@8f6fe000+b10	ts_bm@8efad000+5d0	slhc@8e956000+14db	nf_reject_ipv4@8f5f2000+883	nf_nat_tftp@8e84c000+270	nf_nat_snmp_basic@8e8ec000+1920	nf_nat_sip@8e9ea000+1f30	nf_nat_redirect@8f720000+5fb	nf_nat_proto_gre@8e840000+3e0	nf_nat_masquerade_ipv4@8f5f3000+71c	nf_nat_irc@8ef84000+450nf_conntrack_ipv4@8e91a000+11b0	nf_nat_ipv4@8e9ae000+d91	nf_nat_h323@8e9ce000+1570	nf_nat_amanda@8e9a8000+350	nf_nat@8e9b4000+358b	nf_log_ipv4@8e9a2000+dbnf_flow_table_hw@8e95f000+920	nf_flow_table@8e99c000+363f	nf_defrag_ipv6@8e996000+137e	nf_defrag_ipv4@8ef16000+476	nf_conntrack_tftp@8ef12000+b30	nf_conntrack_snmp@8ef69000+340	nf_conntrack_sip@8ef08000+49fd	nf_conntrack_rtcache@8ef25000+af0	nf_conntrack_proto_gre@8e953000+a9e	nf_conntrack_irc@8e96c000+bb0	nf_conntrack_h323@8e960000+8aff	nf_conntrack_broadcast@8e950000+3bd	ts_kmp@8e915000+570	nf_conntrack_amanda@8e94c000+710	iptable_raw@8e948000+2b0	iptable_mangle@8ef47000+3d0	iptable_filter@8f7fa000+2d0	ipt_ECN@8ef60000+5d0	ip_tables@8ef70000+294d	crc_ccitt@8e86f000+42b	compat@8e93e000+19b7	sch_cake@8e940000+7500	nf_conntrack@8e920000+ffe5	sch_tbf@8e916000+1750	sch_ingress@8ef03000+510	sch_htb@8e904000+3720	sch_hfsc@8ef7c000+3a50	em_u32@8ef26000+270	cls_u32@8ef74000+2320	cls_tcindex@8e89a000+1550	cls_route@8e8ba000+14c0	cls_matchall@8e86e000+a30	cls_fw@8e8b6000+f70	cls_flow@8e8d0000+16d0	cls_basic@8ef63000+c90	act_skbedit@8ef5f000+a4act_mirred@8ef5b000+f80	ledtrig_usbport@8ef33000+b00	nf_log_ipv6@8ef54000+1070	nf_log_common@8e8a9000+acf	ip6table_mangle@8e8b4000+4f0	ip6table_filter@8e8d3000+2d0	ip6_tables@8ef44000+2841	ip6t_REJECT@8ef2a000+450	x_tables@8ef38000+37ef	nf_reject_ipv6@8ef01000+a08	msdos@8ef22000+19d0	ip_gre@8ef04000+3495	gre@8e87d000+913	ifb@8efa2000+d30	ip_tunnel@8efa4000+2f10	tun@8e8d8000+5e71	vfat@8e8bc000+2210	fat@8e8c0000+d22e	nls_utf8@8e8ae000+390	nls_iso8859_1@8e8ab000+b70	nls_cp437@8e89c000+1170	sha1_generic@8f7f5000+975	ecb@8e8a0000+5b0	mmc_block@8f628000+5ca6	usb_storage@8f750000+9d0b	mtk_sd@8f5ec000+3c00	mmc_core@8f780000+15575	leds_gpio@8f721000+bb0	xhci_plat_hcd@8f626000+1590	xhci_pci@8f748000+c30	xhci_mtk@8f622000+12f0	xhci_hcd@8f760000+170c7	ohci_platform@8f654000+1090	ohci_hcd@8f740000+5d9f	sd_mod@8f730000+7480	scsi_mod@8f700000+16e32	gpio_button_hotplug@8f65e000+1b30	ext4@8f680000+60e75	mbcache@8f63d000+fae	jbd2@8f640000+e4e1	usbcore@8f600000+2155d	nls_base@8f5e0000+1570	usb_common@8f5be000+a17	crc32c_generic@8f5bb000+5b0
<6>[   14.308016] usbcore: registered new interface driver ums-datafab
<6>[   14.315613] usbcore: registered new interface driver ums-freecom
<6>[   14.323261] usbcore: registered new interface driver ums-isd200
<6>[   14.330893] usbcore: registered new interface driver ums-jumpshot
<6>[   14.338548] usbcore: registered new interface driver ums-karma
<6>[   14.346590] usbcore: registered new interface driver ums-sddr09
<6>[   14.354260] usbcore: registered new interface driver ums-sddr55
<6>[   14.362554] usbcore: registered new interface driver ums-usbat
<6>[   14.408507] xt_time: kernel timezone is -0000
<4>[   14.494246] bus=0x2, slot = 0x1, irq=0xff
<6>[   14.498615] mt7603e 0000:02:00.0: ASIC revision: 76030010
<6>[   15.576038] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
<6>[   15.581613] mt7603e 0000:02:00.0: Build Time: 20160107100755
<6>[   15.625029] mt7603e 0000:02:00.0: firmware init done
<7>[   15.798694] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[   15.819567] bus=0x1, slot = 0x0, irq=0xff
<6>[   15.823853] mt76x2e 0000:01:00.0: ASIC revision: 76120044
<6>[   16.536051] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
<6>[   16.546061] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
<6>[   16.551543] mt76x2e 0000:01:00.0: Build: 1
<6>[   16.555717] mt76x2e 0000:01:00.0: Build Time: 201507311614____
<6>[   16.575043] mt76x2e 0000:01:00.0: Firmware running!
<7>[   16.582978] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   16.595944] PPP generic driver version 2.4.2
<6>[   16.602074] PPP MPPE Compression module registered
<6>[   16.608348] NET: Registered protocol family 24
<6>[   16.614571] PPTP driver version 0.8.5
<14>[   16.622294] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   24.017740] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[   24.026793] br-lan: port 1(eth0.1) entered blocking state
<6>[   24.026818] br-lan: port 1(eth0.1) entered disabled state
<6>[   24.027551] device eth0.1 entered promiscuous mode
<6>[   24.027571] device eth0 entered promiscuous mode
<6>[   24.030955] br-lan: port 1(eth0.1) entered blocking state
<6>[   24.030982] br-lan: port 1(eth0.1) entered forwarding state
<6>[   24.031416] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   25.130847] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   25.966332] IPv6: br-lan: IPv6 duplicate address fd13:409:6107::1 detected!
<6>[   28.328995] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   28.377556] br-lan: port 2(wlan1) entered blocking state
<6>[   28.377581] br-lan: port 2(wlan1) entered disabled state
<6>[   28.378341] device wlan1 entered promiscuous mode
<6>[   28.386879] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   28.400314] br-lan: port 3(wlan0) entered blocking state
<6>[   28.400346] br-lan: port 3(wlan0) entered disabled state
<6>[   28.401120] device wlan0 entered promiscuous mode
<6>[   28.401485] br-lan: port 3(wlan0) entered blocking state
<6>[   28.401511] br-lan: port 3(wlan0) entered forwarding state
<6>[   29.405312] br-lan: port 3(wlan0) entered disabled state
<6>[   36.105338] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   36.105724] br-lan: port 3(wlan0) entered blocking state
<6>[   36.105743] br-lan: port 3(wlan0) entered forwarding state
<6>[   36.867992] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   36.868394] br-lan: port 2(wlan1) entered blocking state
<6>[   36.868417] br-lan: port 2(wlan1) entered forwarding state
<6>[ 1286.142911] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[ 8631.159611] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[20174.798207] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[20349.276142] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[20475.583742] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[20621.032125] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[20774.495319] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[21800.082711] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[21802.617213] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[21812.420292] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[21815.156066] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[29039.599215] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[44796.371281] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[61022.640707] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<6>[68329.741252] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
<6>[75554.095732] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
<4>[77169.093119] ------------[ cut here ]------------
<4>[77169.097786] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
<6>[77169.106050] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
<4>[77169.106060] 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
<4>[77169.176817]  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
<4>[77169.247577]  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
<4>[77169.261073] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.180 #0
<4>[77169.267153] Stack : 00000000 8fde5540 80580000 800726fc 805b0000 80550510 00000000 00000000
<4>[77169.275493]         8051be50 8fc0bdc4 8fc3c33c 8058a907 80516c40 00000001 8fc0bd68 ac07f5ad
<4>[77169.283829]         00000000 00000000 806f0000 00006a88 00000000 00000142 00000005 00000000
<4>[77169.292163]         00000000 80590000 0003fbd1 00000000 00000000 805b0000 00000000 8054a5a0
<4>[77169.300495]         80373590 00000140 00000001 8fde5540 00000000 8029a9b8 00000004 806f0004
<4>[77169.308829]         ...
<4>[77169.311267] Call Trace:
<4>[77169.313734] [<8000c7b0>] show_stack+0x58/0x100
<4>[77169.318171] [<804581e4>] dump_stack+0xa4/0xe0
<4>[77169.322538] [<8002f608>] __warn+0xe0/0x138
<4>[77169.326625] [<8002f690>] warn_slowpath_fmt+0x30/0x3c
<4>[77169.331584] [<80373590>] dev_watchdog+0x1ac/0x324
<4>[77169.336295] [<8008940c>] call_timer_fn.isra.25+0x24/0x84
<4>[77169.341584] [<800896c8>] run_timer_softirq+0x1bc/0x248
<4>[77169.346716] [<80476090>] __do_softirq+0x128/0x2ec
<4>[77169.351408] [<80033fb4>] irq_exit+0xac/0xc8
<4>[77169.355598] [<8024d890>] plat_irq_dispatch+0xfc/0x138
<4>[77169.360629] [<80007588>] except_vec_vi_end+0xb8/0xc4
<4>[77169.365575] [<80008f50>] r4k_wait_irqoff+0x1c/0x24
<4>[77169.370446] ---[ end trace 6453c4e65ebc7f9b ]---
<3>[77169.375079] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
<6>[77169.381234] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
<6>[77169.381249] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0f010000, max=0, ctx=995, dtx=974, fdx=974, next=995
<6>[77169.381261] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e7b0000, max=0, calc=3413, drx=3414
<6>[77169.776464] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x3e60190c, 0x10c = 0x80818
<6>[77169.776485] mtk_soc_eth 1e100000.ethernet: reset pse
<0>[77169.782097] skbuff: skb_over_panic: text:803085f4 len:1568 put:1568 head:8e2a3fe0 data:8e2a4022 tail:0x8e2a4642 end:0x8e2a4640 dev:eth0
<6>[77169.782103] mtk_soc_eth 1e100000.ethernet: PPE started
<4>[77169.794288] Kernel bug detected[#1]:
<4>[77169.797854] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.14.180 #0
<4>[77169.805128] task: 8058aa00 task.stack: 80578000
<4>[77169.809634] $ 0   : 00000000 00000001 0000007b 00000000
<4>[77169.814847] $ 4   : 8149033c 8149033c 81494e78 000073d0
<4>[77169.820057] $ 8   : 00000000 0000015e 00000005 00000000
<4>[77169.825266] $12   : 00000000 80590000 000bef11 00000000
<4>[77169.830476] $16   : 8e902f00 ae690080 00000620 8fc31b00
<4>[77169.835686] $20   : 8e68c700 00000008 8fc31800 8fc31cc8
<4>[77169.840896] $24   : 00000002 8029a9b8                  
<4>[77169.846106] $28   : 80578000 8fc09e10 00000008 803313c0
<4>[77169.851317] Hi    : 00000124
<4>[77169.854179] Lo    : 74e58000
<4>[77169.857070] epc   : 80330c54 BUG+0x0/0x4
<4>[77169.860973] ra    : 803313c0 skb_push+0x0/0x44
<4>[77169.865391] Status: 11008403	KERNEL EXL IE 
<4>[77169.869561] Cause : 50800024 (ExcCode 09)
<4>[77169.873547] PrId  : 0001992f (MIPS 1004Kc)
<4>[77169.877618] 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
<4>[77169.948116]  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
<4>[77170.018687]  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
<4>[77170.032142] Process swapper/0 (pid: 0, threadinfo=80578000, task=8058aa00, tls=00000000)
<4>[77170.040189] Stack : 8e9023c0 8049c960 803085f4 00000620 00000620 8e2a3fe0 8e2a4022 8e2a4642
<4>[77170.048523]         8e2a4640 8fc31800 86200000 8033144c 8e68c700 00000008 8fc31800 8e2a3fe0
<4>[77170.056856]         ae690080 803085f4 00004000 8006867c 00000020 814902f4 00000002 00000000
<4>[77170.065189]         00000000 00000000 0e68c740 80730000 805a0000 00010001 00000020 0e2a4020
<4>[77170.073522]         80590000 00000000 00030000 8fc31c80 0000000f 8fc31ca0 01080020 30000000
<4>[77170.081854]         ...
<4>[77170.084291] Call Trace:
<4>[77170.086729] [<80330c54>] BUG+0x0/0x4
<4>[77170.090291] [<803313c0>] skb_push+0x0/0x44
<4>[77170.094367] Code: 00000000  03e00008  00000000 <000c000d> 27bdffb8  3c030001  afb50034  afbf0044  afbe0040 
<4>[77170.104093] 
<4>[77170.105876] ---[ end trace 6453c4e65ebc7f9c ]---

===================================
1 Like

The flow control commit (https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=498f1f4f5df2d077ba524f5735906bb52c12d580) was committed after 19.07.3 got tagged. So 19.07.3 does NOT include that commit. You can get it by installing a 19.07 snapshot if you want (do not confuse this with a master branch snapshot). Download link here: https://downloads.openwrt.org/releases/19.07-SNAPSHOT/

Ah, thanks for pointing that out. Will see if I can recompile with that.

I signed up only to say that this is what fixed my issues with three R6350's using the MT7615 for me. I dont have a build machine but half the wifi drops and low Wireless speeds for me were fixed by using the MT7621 build from this tree.

1 Like

Tried the snapshot out on my netgear r6220 (MediaTek MT7621 ver:1 eco:3) and it seems the timeout still happened. I couldn't gain any access to the router as well, I was forced to remove the power to make it work again. I'll see if next time I can gain access to the log and confirm if the driver does indeed behave the same.

Can confirm the same on my RT-AC57U, which automatically rebooted unfortunately. Strangely, my DIR-860L at home running 19.07.1 has crossed over the 100 days uptime now with no real issues to speak of.

It seems to be happening every hour now for me. Any idea how to extract kernel logging after power cycling from a previous boot? I can't access the device through luci/ssh.

Try to disable packet steering (RPS) that was enabled by default a few days ago.

I am using RPS for 2 months now on a DIR-860L and it does not create any issue, at least not on my end (with kernel 5.4).