Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1603 - eth0: transmit queue 0 timed out #6585

Closed
openwrt-bot opened this issue Jun 21, 2018 · 2 comments
Closed

FS#1603 - eth0: transmit queue 0 timed out #6585

openwrt-bot opened this issue Jun 21, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

BertLammers:

Running OpenWrt SNAPSHOT, r7297-f9a42ae on a Xiaomi Mir3g router.

A kernel crash occurred during a speedtest on www.dslreports.com. No eth0 connectivity seems to be possible after this crash. Wifi connectivity is not impacted. Running '/etc/init.d/network restart' does not restore internet connectivity. After a reboot everything is normal again.

This crash can be easily reproduced by running a speedtest again.

I suspect that this issue is introduced by commit: lede-project/source@9a4253b

Kernel log of the crash:

[ 192.072375] ------------[ cut here ]------------
[ 192.077059] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
[ 192.085409] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[ 192.092401] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e 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_CLASSIFY 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 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb
[ 192.163227] sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[ 192.188593] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.14.50 #0
[ 192.194612] Stack : 00000000 00000000 00000000 00000000 805d7ad2 00000034 00000000 00000000
[ 192.203028] 8fc44e74 805688c7 804f66ac 00000003 00000000 00000001 8fc15d68 1cc282d2
[ 192.211432] 00000000 00000000 805d0000 000066a8 00000000 0000014b 00000008 00000000
[ 192.219811] 00000000 80570000 0002e0b1 00000000 00000000 00000000 80590000 8035e888
[ 192.228184] 00000009 00000140 00000003 8fe71a40 00000003 80288998 0000000c 805d000c
[ 192.236562] ...
[ 192.239067] Call Trace:
[ 192.241604] [<80010558>] show_stack+0x58/0x100
[ 192.246138] [<8043be4c>] dump_stack+0x9c/0xe0
[ 192.250560] [<8002e218>] __warn+0xe0/0x114
[ 192.254741] [<8002e27c>] warn_slowpath_fmt+0x30/0x3c
[ 192.259772] [<8035e888>] dev_watchdog+0x1ac/0x324
[ 192.264537] [<80086014>] call_timer_fn.isra.3+0x24/0x84
[ 192.269753] [<8008622c>] run_timer_softirq+0x1b8/0x244
[ 192.274957] [<80459028>] __do_softirq+0x128/0x2ec
[ 192.279734] [<80032920>] irq_exit+0x98/0xcc
[ 192.283994] [<8023d16c>] plat_irq_dispatch+0xfc/0x138
[ 192.289103] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
[ 192.294122] [<8000cf70>] r4k_wait_irqoff+0x1c/0x24
[ 192.299010] [<800662cc>] do_idle+0xe4/0x168
[ 192.303278] [<80066548>] cpu_startup_entry+0x24/0x2c
[ 192.308376] ---[ end trace ba676a4fa342a1a1 ]---
[ 192.313013] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[ 192.319179] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
[ 192.325200] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eb40000, max=0, ctx=523, dtx=510, fdx=501, next=523
[ 192.335692] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e2d0000, max=0, calc=1782, drx=1783
[ 192.745873] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x5f60000c, 0x10c = 0x80818
[ 192.760124] mtk_soc_eth 1e100000.ethernet: PPE started

@openwrt-bot
Copy link
Author

vzhestkov:

It seems I've created duplicate bugreport for this one:
https://bugs.openwrt.org/index.php?do=details&task_id=1618
Currently running snapshot r734607b74b40fe9 and also tested 3 or 4 previous snapshots. All of them have this issue, the kernel prior 4.14.50, I'm not sure if it was 4.14.48 or 4.14.3x seems to have no such issue as I had uptime more than 2 weeks with this kernel.
But not the problem appears several times a day, today up to 10 times I have to reboot the router.

@openwrt-bot
Copy link
Author

nbd:

Fix pushed in r7489-2601e34fad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant