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#3332 - packet loss on miwifi-mini @ 19.07.4 #6663

Closed
openwrt-bot opened this issue Sep 11, 2020 · 8 comments
Closed

FS#3332 - packet loss on miwifi-mini @ 19.07.4 #6663

openwrt-bot opened this issue Sep 11, 2020 · 8 comments
Labels

Comments

@openwrt-bot
Copy link

sergio:

mt7620 / miwifi-mini
19.07.3 works fine
19.07.4 works bad:

kern.err kernel: [ 6615.438086] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6615.444416] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6615.450586] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=17, dtx=17, fdx=16, next=17
kern.info kernel: [ 6615.461258] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=47, drx=48
kern.err kernel: [ 6619.306350] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6619.312684] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6619.318854] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=28, dtx=28, fdx=16, next=28
kern.info kernel: [ 6619.329525] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06470000, max=1024, calc=63, drx=64
kern.err kernel: [ 6623.157217] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6623.163553] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6623.169720] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=25, dtx=25, fdx=16, next=25
kern.info kernel: [ 6623.180398] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=59, drx=60

@openwrt-bot
Copy link
Author

bjonglez:

Looking at the changes since 19.07.3, I would guess the regression comes from https://git.openwrt.org/7ac454014a11347887323a131415ac7032d53546

You can try reverting this commit on top of the openwrt-19.07, and if this works, contact the author.

@openwrt-bot
Copy link
Author

sergio:

kern.warn kernel: [15991.872064] ------------[ cut here ]------------ kern.warn kernel: [15991.876807] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 0x802c39c0 kern.info kernel: [15991.884021] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out kern.warn kernel: [15991.891121] Modules linked in: rt2800soc rt2800mmio rt2800lib rt2x00soc rt2x00mmio rt2x00lib mt76x2e mt76x2_common mt76x02_lib mt76 mac80211 cfg80211 crc_ccitt compat leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common kern.warn kernel: [15991.915603] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.195 #0 kern.warn kernel: [15991.921645] Stack : 8046dee0 80054358 80480000 8042d258 00000000 00000000 00000000 00000000 kern.warn kernel: [15991.930210] 00000000 00000000 00000000 00000000 00000000 00000001 87c07de0 ac07f5da kern.warn kernel: [15991.938770] 87c07e78 00000000 00000000 00004570 00000038 803ccd58 00000008 00000000 kern.warn kernel: [15991.947322] 00000000 80460000 000df893 00000000 87c07dc0 00000000 00000000 8042710c kern.warn kernel: [15991.955875] 802c39c0 00000140 8046df34 8046def4 00000002 80213fc0 00000000 805b0000 kern.warn kernel: [15991.964424] ... kern.warn kernel: [15991.966920] Call Trace: kern.warn kernel: [15991.966932] [<80054358>] 0x80054358 kern.warn kernel: [15991.973003] [<803ccd58>] 0x803ccd58 kern.warn kernel: [15991.976563] [<802c39c0>] 0x802c39c0 kern.warn kernel: [15991.980120] [<80213fc0>] 0x80213fc0 kern.warn kernel: [15991.983702] [<8000aa50>] 0x8000aa50 kern.warn kernel: [15991.987259] [<8000aa58>] 0x8000aa58 kern.warn kernel: [15991.990817] [<80026480>] 0x80026480 kern.warn kernel: [15991.994388] [<802c39c0>] 0x802c39c0 kern.warn kernel: [15991.997948] [<80026508>] 0x80026508 kern.warn kernel: [15992.001503] [<8026c120>] 0x8026c120 kern.warn kernel: [15992.005079] [<802c39c0>] 0x802c39c0 kern.warn kernel: [15992.008639] [<802c385c>] 0x802c385c kern.warn kernel: [15992.012210] [<8005ffcc>] 0x8005ffcc kern.warn kernel: [15992.015766] [<800012fc>] 0x800012fc kern.warn kernel: [15992.019333] [<800601a0>] 0x800601a0 kern.warn kernel: [15992.022905] [<8029d484>] 0x8029d484 kern.warn kernel: [15992.026469] [<803d2808>] 0x803d2808 kern.warn kernel: [15992.030031] [<8005a554>] 0x8005a554 kern.warn kernel: [15992.033601] [<80055ab0>] 0x80055ab0 kern.warn kernel: [15992.037165] [<80005e90>] 0x80005e90 kern.warn kernel: [15992.040718] kern.warn kernel: [15992.042250] ---[ end trace 88bb17f34977c36c ]---

@openwrt-bot
Copy link
Author

sipples:

I'm seeing this same problem with OpenWrt 19.07.4 on an Asus RT-N56U (first hardware revision) wireless router. The problem does not occur with 19.07.3. It's the same pattern that Sergio observed, with error messages in the kernel log from mtk_soc_eth. Specifically, the 1000BASE-T/full duplex Ethernet connection between the WAN port and the upstream fiber Internet box periodically resets (in the Asus RT-N56U), with service interruptions lasting several seconds at least, typically causing Web browsing and streaming media timeouts on the wireless client side. I tried a cable swap to see if that'd help, but it didn't.

Sergio, have you heard anything from the author of that patch? Any additional troubleshooting beyond what I can confirm so far? It doesn't seem like a well considered patch from the author's description.

@openwrt-bot
Copy link
Author

Linaro1985:

You can try reverting this commit on top of the openwrt-19.07, and if this works

I can confirm. After rolling back the commit, the problem does not recur.

@openwrt-bot
Copy link
Author

Jakdaw:

I can confirm the same - had identical problem with my Mi Wifi Mini - reverting 7ac4540 and rebuilding 19.07.4 and so far it seems like no further occurences.

@openwrt-bot
Copy link
Author

jcschauer:

I can confirm the same behavior with my ASUS_RT-N56U. 19.07.4 is bad 19.07.3 is good so far.

@openwrt-bot
Copy link
Author

bjonglez:

The commit has been reverted. Next 19.07 release will not have the issue.

@openwrt-bot
Copy link
Author

freed00m:

The Asus RT-AC51U also affected.

EDIT: thx 19.07.5 works fine

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