Ethernet on Ubiquiti UniFi-AC-LITE link drops regularly

Hi,
I have LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685) running on my Ubiquiti UniFi-AC-LITE. When I ping the main router every few hours this happens (NOT over wifi) :

64 bytes from 192.168.0.1: seq=60640 ttl=64 time=0.383 ms
64 bytes from 192.168.0.1: seq=60641 ttl=64 time=0.374 ms
64 bytes from 192.168.0.1: seq=60642 ttl=64 time=0.371 ms
64 bytes from 192.168.0.1: seq=60643 ttl=64 time=297.708 ms
64 bytes from 192.168.0.1: seq=60644 ttl=64 time=1000.982 ms
64 bytes from 192.168.0.1: seq=60645 ttl=64 time=1981.125 ms
64 bytes from 192.168.0.1: seq=60646 ttl=64 time=2000.761 ms
64 bytes from 192.168.0.1: seq=60647 ttl=64 time=2000.806 ms
64 bytes from 192.168.0.1: seq=60648 ttl=64 time=1231.437 ms
64 bytes from 192.168.0.1: seq=60649 ttl=64 time=231.906 ms

After a while the whole link dies. Bringing the interface down and up fixes the problem. I have tested different cables, different POE adapter and router.
Nothing appears in the logs. How to debug further?

-jeroen

Please give a more detailed description.

Please better explain the issue you're having.

  • Are these standard pings (did you increase packet size)?
  • How long are you pinging the router, as this deosn't seem to be in increments?
  • Are you running any other traffic during this test?

Are you willing to upgrade to 17.01.5 or 18.06.1?

Simply upgrading to 18.06.1, r7258-5eb055306f fixed this.

The problem still exists where the wired Ethernet link, seemingly random, drops but now it is detected (by the NIC driver?) and the interface is automatically brought back up.
On 17.01.4 the link drop was not detected. I have canceled out external hardware and cabling leaving it with a faulty UniFi unit or a software bug. Given the change between 17.01.4 and 18.06.1 I think the NIC driver might not be fully matured?

-jeroen

type or proot@wifi66:~# logread |grep eth
Wed Sep  5 16:46:50 2018 kern.info kernel: [176276.276877] eth0: link down
Wed Sep  5 16:46:50 2018 kern.info kernel: [176276.280400] br-lan: port 1(eth0) entered disabled state
Wed Sep  5 16:46:50 2018 daemon.notice netifd: Network device 'eth0' link is down
Wed Sep  5 16:46:52 2018 kern.info kernel: [176278.358827] eth0: link up (1000Mbps/Full duplex)
Wed Sep  5 16:46:52 2018 kern.info kernel: [176278.363754] br-lan: port 1(eth0) entered blocking state
Wed Sep  5 16:46:52 2018 kern.info kernel: [176278.369302] br-lan: port 1(eth0) entered forwarding state
Wed Sep  5 16:46:52 2018 daemon.notice netifd: Network device 'eth0' link is up
Wed Sep  5 19:19:38 2018 kern.info kernel: [185444.885289] eth0: link down
Wed Sep  5 19:19:38 2018 kern.info kernel: [185444.888606] br-lan: port 1(eth0) entered disabled state
Wed Sep  5 19:19:38 2018 daemon.notice netifd: Network device 'eth0' link is down
Wed Sep  5 19:19:41 2018 kern.info kernel: [185446.967293] eth0: link up (1000Mbps/Full duplex)
Wed Sep  5 19:19:41 2018 kern.info kernel: [185446.972439] br-lan: port 1(eth0) entered blocking state
Wed Sep  5 19:19:41 2018 kern.info kernel: [185446.977992] br-lan: port 1(eth0) entered forwarding state
Wed Sep  5 19:19:41 2018 daemon.notice netifd: Network device 'eth0' link is up
Wed Sep  5 21:42:34 2018 kern.info kernel: [194020.690193] eth0: link down
Wed Sep  5 21:42:34 2018 kern.info kernel: [194020.693871] br-lan: port 1(eth0) entered disabled state
Wed Sep  5 21:42:34 2018 daemon.notice netifd: Network device 'eth0' link is down
Wed Sep  5 21:42:36 2018 kern.info kernel: [194022.772175] eth0: link up (1000Mbps/Full duplex)
Wed Sep  5 21:42:36 2018 kern.info kernel: [194022.777234] br-lan: port 1(eth0) entered blocking state
Wed Sep  5 21:42:36 2018 kern.info kernel: [194022.782783] br-lan: port 1(eth0) entered forwarding state
Wed Sep  5 21:42:36 2018 daemon.notice netifd: Network device 'eth0' link is up
Thu Sep  6 00:07:29 2018 kern.info kernel: [202715.060376] eth0: link down
Thu Sep  6 00:07:29 2018 kern.info kernel: [202715.063704] br-lan: port 1(eth0) entered disabled state
Thu Sep  6 00:07:29 2018 daemon.notice netifd: Network device 'eth0' link is down
Thu Sep  6 00:07:31 2018 kern.info kernel: [202717.142316] eth0: link up (1000Mbps/Full duplex)
Thu Sep  6 00:07:31 2018 kern.info kernel: [202717.147487] br-lan: port 1(eth0) entered blocking state
Thu Sep  6 00:07:31 2018 kern.info kernel: [202717.153037] br-lan: port 1(eth0) entered forwarding state
Thu Sep  6 00:07:31 2018 daemon.notice netifd: Network device 'eth0' link is up
Thu Sep  6 18:29:58 2018 kern.info kernel: [268864.013657] eth0: link down
Thu Sep  6 18:29:58 2018 kern.info kernel: [268864.017145] br-lan: port 1(eth0) entered disabled state
Thu Sep  6 18:29:58 2018 daemon.notice netifd: Network device 'eth0' link is down
Thu Sep  6 18:30:00 2018 kern.info kernel: [268866.095651] eth0: link up (1000Mbps/Full duplex)
Thu Sep  6 18:30:00 2018 kern.info kernel: [268866.100581] br-lan: port 1(eth0) entered blocking state
Thu Sep  6 18:30:00 2018 kern.info kernel: [268866.106115] br-lan: port 1(eth0) entered forwarding state
Thu Sep  6 18:30:00 2018 daemon.notice netifd: Network device 'eth0' link is up
Thu Sep  6 18:30:02 2018 kern.info kernel: [268868.174237] eth0: link down
Thu Sep  6 18:30:02 2018 kern.info kernel: [268868.177546] br-lan: port 1(eth0) entered disabled state
Thu Sep  6 18:30:02 2018 daemon.notice netifd: Network device 'eth0' link is down
Thu Sep  6 18:30:04 2018 kern.info kernel: [268870.255616] eth0: link up (1000Mbps/Full duplex)
Thu Sep  6 18:30:04 2018 kern.info kernel: [268870.260596] br-lan: port 1(eth0) entered blocking state
Thu Sep  6 18:30:04 2018 kern.info kernel: [268870.266145] br-lan: port 1(eth0) entered forwarding state
Thu Sep  6 18:30:04 2018 daemon.notice netifd: Network device 'eth0' link is up
Thu Sep  6 18:30:48 2018 kern.info kernel: [268913.933466] eth0: link down
Thu Sep  6 18:30:48 2018 kern.info kernel: [268913.936776] br-lan: port 1(eth0) entered disabled state
Thu Sep  6 18:30:48 2018 daemon.notice netifd: Network device 'eth0' link is down
Thu Sep  6 18:30:50 2018 kern.info kernel: [268916.015453] eth0: link up (1000Mbps/Full duplex)
Thu Sep  6 18:30:50 2018 kern.info kernel: [268916.020359] br-lan: port 1(eth0) entered blocking state
Thu Sep  6 18:30:50 2018 kern.info kernel: [268916.025894] br-lan: port 1(eth0) entered forwarding state
Thu Sep  6 18:30:50 2018 daemon.notice netifd: Network device 'eth0' link is up
Fri Sep  7 08:39:53 2018 kern.info kernel: [319859.184252] eth0: link down
Fri Sep  7 08:39:53 2018 kern.info kernel: [319859.187581] br-lan: port 1(eth0) entered disabled state
Fri Sep  7 08:39:53 2018 daemon.notice netifd: Network device 'eth0' link is down
Fri Sep  7 08:39:55 2018 kern.info kernel: [319861.266169] eth0: link up (1000Mbps/Full duplex)
Fri Sep  7 08:39:55 2018 kern.info kernel: [319861.271151] br-lan: port 1(eth0) entered blocking state
Fri Sep  7 08:39:55 2018 kern.info kernel: [319861.276701] br-lan: port 1(eth0) entered forwarding state
Fri Sep  7 08:39:55 2018 daemon.notice netifd: Network device 'eth0' link is up