Skip to content

Rpi4 loses network connectivity via eth0 after kernel update to 6.18.24 #7365

Closed

Description

@antoniosk

Describe the bug

On Raspberry Pi OS Trixie, after the yesteday (13/5/2026) kernel update to 6.18.29, when Firefox or Chromium is launched, the eth0 connection dies.
Nether unplugging the cable nor restarting the systemd-networkd.service works. Ping works only for the assigned IPv4 address to eth0.
No errors are reported to syslog/kernel.log.
The wlan0 is not connected to a wireless network.
The eth0 gets its's IPv4 address from isc-dhcpd running on an Rpi2B, acting also as a gateway. There are no issues with other machines on the network.

Steps to reproduce the behaviour

Launch a browser (Firefox/Chromium).

Device (s)

Raspberry Pi 4 Mod. B

System

cat /etc/rpi-issue
Raspberry Pi reference 2025-10-01
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7dadcf1fc5ce1648ab09409ab978831690c9a955, stage5

vcgencmd version
May 8 2026 18:13:05
Copyright (c) 2012 Broadcom
version ae9a8ea9f3ca745de6f357bd7fc8307721ad38b7 (clean) (release) (start)

uname -a
Linux raspberrypi4 6.18.29+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.18.29-1+rpt1 (2026-05-12) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Activity

  1. JustArchi commented on May 14, 2026

    @JustArchi

    This is a serious issue and it doesn't consider only web browser. I have fully headless (raspberry pi os lite) version that only replicates my postgresql database, and after 6.12.75+rpt-rpi-v8 -> 6.18.29+rpt-rpi-v8 kernel upgrade it has VERY unstable network connection shortly after boot, even though the activity there is minimal, within 50 mbps or less.

    Please investigate, I've downgraded to 6.12 for now. I've double-verified that other machines have no issues, and triple-verified that 6.18 gives issues, rebooting to 6.12 fixes them, and rebooting back to 6.18 brings the issues back.

    Raspberry Pi 4 Model B Rev 1.4
    
    BOOTLOADER: up to date
       CURRENT: Tue 14 Apr 21:17:01 UTC 2026 (1776201421)
    
         VL805: up to date
       CURRENT: 000138c0
    
    

    It's very hard for me to believe that this wasn't caught earlier, as it's a serious regression observable right away on any network-connected system. Should be easy to reproduce - I can't even download bigger file without network dropping in the middle of it.

    wget -O /dev/null https://proof.ovh.net/files/10Gb.dat
    
  2. spockfish commented on May 14, 2026

    @spockfish

    Could this be related to #7304 ?

  3. antoniosk commented on May 14, 2026

    @antoniosk
    Author

    After further investigation, this is not browser related. The issue appears after network activity other than a simple ping via eth0. The workarounds are (1) to downgrade to the old kernel, or (2) to disconnect eth0 and use wlan instead.

  4. changed the title [-]Rpi4 looses network connectivity after kernel update to 6.18.24 when launching Firefox/Chromium[/-] [+]Rpi4 loses network connectivity after kernel update to 6.18.24 when launching Firefox/Chromium[/+] on May 14, 2026
  5. changed the title [-]Rpi4 loses network connectivity after kernel update to 6.18.24 when launching Firefox/Chromium[/-] [+]Rpi4 loses network connectivity after kernel update to 6.18.24 via eth0[/+] on May 14, 2026
  6. changed the title [-]Rpi4 loses network connectivity after kernel update to 6.18.24 via eth0[/-] [+]Rpi4 loses network connectivity via eth0 after kernel update to 6.18.24[/+] on May 14, 2026
  7. DonPablo1010 commented on May 15, 2026

    @DonPablo1010

    Exactly the same problem here on a Pi4B 8GB, after a 6.12.75+rpt-rpi-v8 → 6.18.29+rpt-rpi-v8 kernel upgrade it came up and after a few minutes lost LAN connectivity. As I run it headless I thought it froze, but I think it’s running but with no connectivity at all. Had to go back to 6.12.75+rpt-rpi-v8 and put the packages on hold. Waiting for a fix!🙏🏻

  8. pelwell commented on May 15, 2026

    @pelwell
    Contributor

    Does adding dtparam=eee=off to config.txt improve things? It's working fine for me on 6.18.29, but I don't think I'm getting EEE from the switch.

  9. Windkracht8 commented on May 15, 2026

    @Windkracht8

    As I had the same issue today, wanted to share some of my findings.
    The connection works for a few seconds, when the cable is plugged in or when interface is brought down and up again, the internet connection works for a few pings before it goes down.
    arp -n shows working connection to gateway for a few seconds before going to incomplete.
    ethtool eth0 shows the link is UP and cable connection is detected, stays like this after connection is lost.
    This only shows with a static ip, a dynamic ip takes too long, the connection is already broken by then.

    Downgrading to previous kernel fixes the issue (apt install --reinstall linux-headers-6.12.75+rpt-common-rpi linux-headers-6.12.75+rpt-rpi-2712 linux-headers-6.12.75+rpt-rpi-v8 linux-image-6.12.75+rpt-rpi-2712 linux-image-6.12.75+rpt-rpi-v8 linux-kbuild-6.12.75+rpt)

  10. popcornmix commented on May 15, 2026

    @popcornmix
    Collaborator

    t's very hard for me to believe that this wasn't caught earlier, as it's a serious regression observable right away on any network-connected system. Should be easy to reproduce - I can't even download bigger file without network dropping in the middle of it.
    wget -O /dev/null https://proof.ovh.net/files/10Gb.dat

    On a pi4, 6.18.24 kernel:

    pi@dompi4:~ $ time wget -O /dev/null https://proof.ovh.net/files/10Gb.dat
    --2026-05-15 11:15:18--  https://proof.ovh.net/files/10Gb.dat
    Resolving proof.ovh.net (proof.ovh.net)... 2001:41d0:242:d300::, 141.95.207.211
    Connecting to proof.ovh.net (proof.ovh.net)|2001:41d0:242:d300::|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 10737418240 (10G) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                                                  100%[====================================================================================================================================>]  10.00G  8.96MB/s    in 19m 4s  
    
    2026-05-15 11:34:22 (8.95 MB/s) - ‘/dev/null’ saved [10737418240/10737418240]
    
    
    real	19m3.906s
    user	18m35.777s
    sys	0m25.215s
    

    So it doesn't affect everyone. We need to find what if different in your network that triggers the issue.

  11. pelwell commented on May 15, 2026

    @pelwell
    Contributor

    The same question about dtparam=eee=off applies to you, when you get a chance. My 4B has been running YouTube in Chromium with occasional Raspberry Pi homepage updates for about an hour now.

  12. JustArchi commented on May 15, 2026

    @JustArchi

    FYI I'm not getting kernel panics myself and the network connectivity goes back on after a while. ping in the background while downloading file is good indicator. If you just leave file being downloaded, you might miss the problem, as the only visibile thing is download speed being less than what normally should apply to your network (due to those drops).

    Gonna check dtparam=eee=off in a second.

  13. JustArchi commented on May 15, 2026

    @JustArchi

    @pelwell I can confirm dtparam=eee=off resolves the issue entirely for me on 6.18 kernel.

    --- 10.10.10.2 ping statistics ---
    420 packets transmitted, 420 received, 0% packet loss, time 419490ms
    rtt min/avg/max/mdev = 43.641/50.967/121.754/5.678 ms
    

    Let me know if I can help any further.

  14. Windkracht8 commented on May 15, 2026

    @Windkracht8

    dtparam=eee=off also works for me.

    On the old kernel, this is the output for EEE settings
    EEE settings for eth0: EEE status: enabled - active Tx LPI: disabled Supported EEE link modes: 100baseT/Full 1000baseT/Full Advertised EEE link modes: 100baseT/Full 1000baseT/Full Link partner advertised EEE link modes: 100baseT/Full 1000baseT/Full

    I am booting on USB, there is no SD-card in the Raspberry.
    Raspberry model: Raspberry Pi 4 Model B Rev 1.5

  15. pelwell commented on May 15, 2026

    @pelwell
    Contributor

    If anyone still has (or can revert to) a system that stalls in this way, does dmesg -l err,warn show anything after the first 20 seconds when it fails?

  16. 8 remaining items

  17. julienrobin28 commented on May 15, 2026

    @julienrobin28
    Contributor

    I've tested with various switches (both EEE-capable and not) and haven't been able to reproduce the problem so far. So I'd be curious to hear what others affected by this are connecting to?

    In my case current devices that are showing faulty behavior when Pi 4 is connected to (with EEE enabled), are

    • MSI X470 Gaming Plus Max motherboard (from lspci: Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15))
    • Trendnet TEG-S8g (8 ports switch)

    Won't be able to be sure about what are the others devices on which I previously had the issue when connecting the Pi 4 with EEE enabled.

  18. nbuchwitz commented on May 16, 2026

    @nbuchwitz
    Contributor

    I have Pi 4B Rev 1.5 (8GB RAM) with DietPi Trixie pluged directly into a Netgear GS305 (unmanaged 5-port Gigabit switch), which supports EEE/Green Ethernet as an advertised feature.

    Thanks. I have a GS308E (the managed version), which works just fine™. Early next week I can test the unmanaged version and see if it behaves any differently.

  19. nbuchwitz commented on May 16, 2026

    @nbuchwitz
    Contributor

    Trendnet TEG-S8g (8 ports switch)

    Thanks. I found an older post from 2021 [1] where someone reported EEE-related issues with a Pi 4 and this particular switch. So this seems to have history.

    Another thought while writing this: the genet driver uses a fairly aggressive TX LPI timer of 34 µs. Could you and others please test whether the issue disappears if you raise it to something like 1 ms (or higher)? sudo ethtool --set-eee eth0 tx-lpi-timer 1000

    [1] https://forums.raspberrypi.com/viewtopic.php?t=305820#p1831406

  20. Windkracht8 commented on May 17, 2026

    @Windkracht8

    test whether the issue disappears if you raise it to something like 1 ms = No, with EEE enabled and timer on 1000 the connection still breaks in 1 minute.

    Router is ISP provided: COMPAL series CH7465LG
    Hardware version: 5.01
    Software version: CH7465LG-NCIP-6.15.32p3TM-GA-NOSH

    root@share:~# uname -r
    6.18.29+rpt-rpi-v8
    root@share:~# grep eee /boot/firmware/config.txt
    #dtparam=eee=off
    root@share:~# ethtool --set-eee eth0 tx-lpi-timer 1000
    ethtool (--set-eee): unknown parameter 'tx-lpi-timer'
    root@share:~# ethtool --set-eee eth0 tx-timer 1000
    root@share:~# ethtool --show-eee eth0
    EEE settings for eth0:
            EEE status: enabled - active
            Tx LPI: 1000 (us)
            Supported EEE link modes:  100baseT/Full
                                       1000baseT/Full
            Advertised EEE link modes:  100baseT/Full
                                        1000baseT/Full
            Link partner advertised EEE link modes:  100baseT/Full
                                                     1000baseT/Full
    
  21. Windkracht8 commented on May 17, 2026

    @Windkracht8

    On kernel 6.18.29+rpt-rpi-v8, with EEE disabled in /boot/firmware/config.txt dtparam=eee=off, the connection drops within an hour. Only by booting in the old kernel can I keep a functional system.
    EEE does something, when it's enabled the connection drops in less than 10 minutes, when it's disabled it works longer, but still the connection will drop.

  22. JustArchi commented on May 17, 2026

    @JustArchi

    Unfortunately I've also observed problems even with EEE off. Even though connection doesn't drop in my case anymore, the system is very unstable with forced reboots. Unfortunately I'm not able to tell whether this is kernel panic that I have auto-reboot on, or if it's some kind of hardware watchdog failing and restarting the whole machine - as I have no physical access to that raspberry pi at the moment, neither can debug using serial. All I know is that there's no trace in journalctl, as if somebody pulled off the plug. And I know those are forced reboots as uptime is reset on the raspi every time.

    Image

    The issue entirely stopped happening since I rebooted into the old kernel. No specific pattern for those forced reboots, but there's not a single boot that survived longer than ~5 hours, and there were at least 15 during the day.

  23. last-in-line commented on May 18, 2026

    @last-in-line

    Misery loves company.
    Same problem with respect to my Raspberry Pi 4B. All was well for years (streaming live Internet video, using Firefox, displayed on a HDTV connected via the 4B's HDMI output jack) -- until a software update the evening of 2026-05-13. Now, the 4B reboots so soon after eth0 comes up, that the software updater cannot retrive a fix if/when such becomes available.
    I was initially concerned the 4B was fried, given I moved its network cable to a Raspberry Pi 3B+, and the 3B+ is working fine.
    Thanks to this thread, it appears my concern may be unjustified.

  24. Thrr-Gilag commented on May 18, 2026

    @Thrr-Gilag

    Same here with a rpi4B on kernel 6.18.29+rpt-rpi-v8.
    except that I loose connection from the beginning, probably because of tor server that tried to establish connection at start up.

    The dtparam=eee=off doesn't change anything for me : no external connection on eth0.

    Back to 6.12.75 and everything goes well again.

  25. spockfish commented on May 19, 2026

    @spockfish

    Have you seen this commit? fde5cc8

    Without that, disabling eee is not working properly.

  26. Windkracht8 commented on May 19, 2026

    @Windkracht8

    Because I noticed Tx LPI is disabled on kernel 6.12.75, I thought to try out kernel 6.18.29 with EEE enabled and Tx LPI disabled.
    So far it's been stable for over 4 hours, with transfer of a couple of dozen GB. This seems to solve the issue, if it still does crash I will report back again. I've created /etc/dhcpcd.enter-hook to persist Tx LPI off after reboot.

    root@share:~# uname -r
    6.18.29+rpt-rpi-v8
    root@share:~# ethtool --set-eee eth0 tx-lpi off
    root@share:~# ethtool --show-eee eth0
    EEE settings for eth0:
            EEE status: enabled - active
            Tx LPI: disabled
            Supported EEE link modes:  100baseT/Full
                                       1000baseT/Full
            Advertised EEE link modes:  100baseT/Full
                                        1000baseT/Full
            Link partner advertised EEE link modes:  100baseT/Full
    root@share:~ $ cat /etc/dhcpcd.enter-hook
    #!/bin/sh
    [ "$interface" = "eth0" ] || exit 0
    /usr/sbin/ethtool --set-eee eth0 tx-lpi off
    
  27. nbuchwitz commented on May 19, 2026

    @nbuchwitz
    Contributor

    If someone wants to help narrowing this further down: #7304 (comment)

  28. popcornmix commented on Jun 1, 2026

    @popcornmix
    Collaborator

    The apt kernel now contains ethernet and eee related fixes - can you test and report if this issue is resolved.

  29. JustArchi commented on Jun 1, 2026

    @JustArchi

    FYI I'm unable to reproduce it with up-to-date kernel (6.18.33+rpt-rpi-v8) - so the issue is fixed for me.

  30. pelwell commented on Jun 2, 2026

    @pelwell
    Contributor

    Thanks for the feedback, everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions