OpenWrt/LEDE Project

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

FS#3889 - Loss of connection every 2 sec on 100Mbps cable

i have a Xiaomi Mi Router 3G (gigabyte) router, installed openwrt four years ago from source, it had issue - in lan the network would re-connect once 1-2 secs (dont know about WAN). it was impossible to use, i changed to another firmware, not openwrt

time passed, my lan upgraded to gigabyte cables, i compiled openwrt again, the re-connections were no longer an issue! it was ok.

Then i noticed these re-connections appeared suddenly in vmware in bridge mode.

Then more: if i connect to router, i can even use unmanaged switch (mercusys ms108g) clients with 100Mbit cable, then the device starts having these re-connects again. gigabyte clients don’t have this issue.

Then i noticed that ethernet device it can be with 100Mbit network card, but the cable is gigabyte - the issue also disappears. I thought it is a bug in drivers for a long time.

But today I found one firmware at github, a fork, https://github.com/coolsnowwolf/lede compiled it, installed. Connected device with 100Mbit cable, waited 40 mins, disconnects are missing. in vmware they’re also absent.
q
Hope this can be fixed in openwrt
The problem is observed on versions: 18.06 - present (21.02), and nightly.

I’m ready to be a tester, provide any logs, and flashing the router in testing the fix.

Иван commented on 19.06.2021 18:41

Same problem. 19.07 and master (about two weeks ago)

Rafael Diwel commented on 21.06.2021 01:47

Same on 100. 1000 also have short disconnects but with larger (1-3 days) interval

Federico Capoano commented on 09.08.2021 18:37

I don't think it's happening only on Xiaomi, I reported something similar in the forum too:
https://forum.openwrt.org/t/21-02-rc4-mt7530-mdio-bus-1f-lan1-link-is-down-link-is-up/102931

@Vladislav can you please include the output of logread and dmesg when this the link goes down and up again?

Vladislav commented on 22.11.2021 21:36

@Federico Capoano thank you for info!
i tried disable EEE via ethtool by add this in /etc/rc.local

ethtool --set-eee lan1 eee off
ethtool --set-eee lan2 eee off
ethtool --set-eee lan3 eee off
ethtool --set-eee wan eee off

And.. no effect. VMWare in bridge mode still loses connection (host machine does not lose connection). Enabling/disabling EEE does not help.

LOGS:
dmesg:

[   16.977375] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   16.982939] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   16.988640] mt76x2e 0000:02:00.0: enabling device (0000 -> 0002)
[   16.994936] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[   17.468689] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
[   17.478805] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   17.484330] mt76x2e 0000:02:00.0: Build: 1
[   17.488492] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   17.508111] mt76x2e 0000:02:00.0: Firmware running!
[   17.514566] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.524934] PPP generic driver version 2.4.2
[   17.531654] NET: Registered protocol family 24
[   17.541188] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.015804] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   24.048372] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   24.056792] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   24.060965] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   24.072827] 8021q: adding VLAN 0 to HW filter on device lan1
[   24.081797] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.088930] br-lan: port 1(lan1) entered blocking state
[   24.094331] br-lan: port 1(lan1) entered disabled state
[   24.100848] device lan1 entered promiscuous mode
[   24.105805] device eth0 entered promiscuous mode
[   24.135718] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   24.144282] 8021q: adding VLAN 0 to HW filter on device lan2
[   24.153853] br-lan: port 2(lan2) entered blocking state
[   24.159192] br-lan: port 2(lan2) entered disabled state
[   24.166285] device lan2 entered promiscuous mode
[   24.191743] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   24.198939] 8021q: adding VLAN 0 to HW filter on device wan
[   26.240840] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   26.248494] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   27.200609] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   27.208209] br-lan: port 2(lan2) entered blocking state
[   27.213521] br-lan: port 2(lan2) entered forwarding state
[   27.220149] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   29.184671] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   29.192288] br-lan: port 1(lan1) entered blocking state
[   29.197626] br-lan: port 1(lan1) entered forwarding state
[   30.208645] mt7530 mdio-bus:1f lan1: Link is Down
[   30.213699] br-lan: port 1(lan1) entered disabled state
[   30.272403] mt7530 mdio-bus:1f lan2: Link is Down
[   30.277914] br-lan: port 2(lan2) entered disabled state
[   30.336380] mt7530 mdio-bus:1f wan: Link is Down
[   32.387582] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   33.344558] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   33.352242] br-lan: port 2(lan2) entered blocking state
[   33.357568] br-lan: port 2(lan2) entered forwarding state
[   33.376857] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   33.384597] br-lan: port 1(lan1) entered blocking state
[   33.390029] br-lan: port 1(lan1) entered forwarding state

logread:

Tue Nov 23 00:25:19 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:19 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:19 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:20 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:20 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:22 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:22 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:24 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:24 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:26 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:26 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:26 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:26 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:27 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:27 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:29 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:29 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:31 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:31 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:31 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:31 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:33 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:33 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:34 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:34 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:36 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:36 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:36 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:36 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:37 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:37 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:39 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:39 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:41 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.107 00:0c:29:6d:62:ba
Tue Nov 23 00:25:41 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.107 00:0c:29:6d:62:ba vmware
Tue Nov 23 00:25:41 2021 daemon.info dnsmasq-dhcp[3723]: DHCPREQUEST(br-lan) 192.168.1.216 00:0c:29:6d:62:ba
Tue Nov 23 00:25:41 2021 daemon.info dnsmasq-dhcp[3723]: DHCPACK(br-lan) 192.168.1.216 00:0c:29:6d:62:ba

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing