bismosa
Posts: 42
Joined: Sun Dec 23, 2012 11:43 am

RPi 3b+ LAN crashes on high Network load

Tue May 05, 2020 6:14 am

Hello!
Since a few weeks i have problems with my RPi 3b+.
If i had a higher Network load (e.g. a backup from my phone over Samba to an external HDD), after some time my RPi will not reachable over Network again. This is reproducible.

In DMESG i get many entries:

Code: Select all

[429870.770355] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429874.065498] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429876.070544] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429878.074645] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429880.078244] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429882.082215] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429882.082987] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429882.083169] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429886.218363] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429894.317901] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429896.228931] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429903.821504] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429911.262778] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429915.404150] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429920.930631] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429936.284632] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429961.319332] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[429975.113057] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
[430000.757122] lan78xx 1-1.1.1:1.0 eth0: kevent 0 may have been dropped
Only with a reboot i can get it to work again.
When i have "normal" Network load my Raspberry will work for Weeks without problems. But if the Load is higher...

This is my "productive" RPi. I have all my home automation run on it (FHEM). I had connected:
2 USB HDDs (on a powered Hub)
2 CUL-Sticks
1 USB Keyboard (on the powered hub)
I have many GPIO-Ports in use. E.g. 1wire, I²C, multiple in/out

Wifi is complete disabled (I would have bad reception there).
config.txt:

Code: Select all

# Disable wireless chip on Pi3
dtoverlay=pi3-disable-wifi,pi3-disable-bt
Bluetooth is disabled (/etc/rc.local)

Code: Select all

systemctl disable bluetooth
service bluetooth stop
systemctl disable hciuart
service  hciuart stop
My Power-supply is a 10A industrial control cabinet power supply. I had also 2 other RPis run on it. I have stable 5.05V measured on the USB-Ports.I never had voltage warnings since then. (Before i had a bad Cable, but that was several months ago)

I run on stretch:

Code: Select all

root@server:~# uname -a
Linux server 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
root@server:~# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Im running complete headless. I have no graphical user interface installed.

I have read from this issue multiple times. Most of them have updated the Kernel and all seems to be working good.
I can't get it to work properly.
Things i have tried:
/boot/config.txt

Code: Select all

dtparam=eee=off
/etc/sysctl.conf

Code: Select all

vm.min_free_kbytes=32768
net.ipv6.conf.all.disable_ipv6 = 1
/boot/cmdline.txt

Code: Select all

dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 dwc_otg.lpm_enable=0
I had also set the LAN speed to 100MBit.

What can i do now to solve this problem?

Regards
Bismosa

Return to “Troubleshooting”