Port 1 receive error code 7, packet dropped
I am receiving a lot of this error in system log, it can be 7 or 10 or 11 so the number changes but it is flooding the log.
It is both in 21.02-rc1 and today’s 21.02-snapshot, I kind of hoped for luck and it would be gone after I installed todays snapshot.
It is only in the Edgerouter 4, never seen the error in WRT3200ACM.
I found a similar forum post https://forum.openwrt.org/t/port-0-receive-error-code-10-packet-dropped/67049 that turned out to be a broken Ethernet cable, I tried to remove the cable attached to the port 1 (eth1) but that cable really only runs to the patch panel and has no actual device connected. And it didn’t make any difference for the errors.
What makes the theory of broken hardware worse is that port 2 (eth 2) is an identical twin in the network setup port 1 and port 2 has never this error, so could the router hardware be broken?
So I tried to move one of my computers from my external switch to ER4 port 1 (eth 1) to see if it works. It does work and the errors got worse in the log when I made a speed test.
But in the log I looked at the information above the port errors that was written when I changed the computer ethernet cable and found a disturbing thing!?
Sat Jul 10 11:42:37 2021 kern.info kernel: [ 3594.470962] switch0: port 4(lan3) entered disabled state Sat Jul 10 11:42:37 2021 daemon.notice netifd: Network device 'lan3' link is down Sat Jul 10 11:42:58 2021 kern.notice kernel: [ 3615.941460] lan1: 1000 Mbps Full duplex, port 2, queue 2 Sat Jul 10 11:42:58 2021 kern.info kernel: [ 3615.946870] switch0: port 2(lan1) entered blocking state Sat Jul 10 11:42:58 2021 kern.info kernel: [ 3615.952201] switch0: port 2(lan1) entered forwarding state Sat Jul 10 11:42:58 2021 daemon.notice netifd: Network device 'lan1' link is up
Isn’t the port numbers in synch with OpenWRT LAN numbers and the hardware painted Eth numbers for EdgeRouter 4?
Because this would imply that Port 1 error is the internet cable on LAN 0/eth0?