Repository navigation
Description
Describe the bug
On a Raspberry Pi 5 running Ubuntu 24.04.3 with the 6.8.0-1052-raspi kernel, unplugging and replugging the Ethernet cable from the router/switch side makes eth0 report that the link is back up at 1Gbps/full duplex, and the static IPv4 address is registered again, but no traffic passes until the Pi is rebooted.
After the reconnect, the Pi is not reachable from another machine on the same LAN via ping or SSH. The Pi also logs NTP timeouts after the link is supposedly back up, which suggests the Pi itself cannot pass traffic either.
I know this is reproduced on Ubuntu rather than Raspberry Pi OS, so if Launchpad / Ubuntu linux-raspi is the preferred place for this report, please let me know. I am filing it here first because the symptoms look like they may involve the Raspberry Pi 5 Ethernet/macb/PHY path.
Environment
- Device: Raspberry Pi 5
- OS: Ubuntu 24.04.3 LTS
- Kernel:
6.8.0-1052-raspi #56-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 27 03:58:47 UTC 2026 aarch64 - systemd:
255.4-1ubuntu8.14 - Network stack: netplan +
systemd-networkd - Interface:
eth0 - Driver shown by
networkctl:macb - PHY shown in kernel logs:
Broadcom BCM54213PE - IPv4: static
192.168.0.4/24, gateway192.168.0.1 - Power/throttling check:
vcgencmd get_throttledreturnsthrottled=0x0
Steps to reproduce
- Boot the Raspberry Pi 5 with Ethernet connected.
- Confirm it is reachable from another host on the same LAN:
ping 192.168.0.4- SSH also works.
- Unplug the Ethernet cable from the router/switch side only. Do not touch the Pi side.
- Wait a few seconds.
- Plug the cable back into the router/switch.
- Observe that the Pi logs
Link is UpandGained carrier, and the static IPv4 address is registered again. - Try to ping or SSH into the Pi from another LAN host.
- Reboot the Pi.
- Observe that connectivity returns immediately after reboot.
Expected behaviour
After the Ethernet cable is reconnected, eth0 should resume passing traffic without requiring a reboot.
Actual behaviour
After reconnecting Ethernet:
eth0reportsLink is Up - 1Gbps/Full.systemd-networkdreportsGained carrier.- The static IPv4 address is registered again.
- But no traffic passes until reboot.
- Another LAN host cannot ping or SSH into the Pi.
- The Pi logs NTP timeouts after the reconnect.
Relevant logs
Failure case after reconnect:
May 01 19:08:31 pi5 systemd-networkd[670]: eth0: Lost carrier
May 01 19:08:31 pi5 kernel: macb 1f00100000.ethernet eth0: Link is Down
May 01 19:08:31 pi5 systemd-networkd[670]: eth0: DHCPv6 lease lost
May 01 19:08:31 pi5 avahi-daemon[714]: Withdrawing address record for 192.168.0.4 on eth0.
May 01 19:08:31 pi5 systemd-timesyncd[555]: No network connectivity, watching for changes.
May 01 19:08:34 pi5 systemd-networkd[670]: eth0: Gained carrier
May 01 19:08:34 pi5 kernel: macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control tx
May 01 19:08:34 pi5 systemd-networkd[670]: eth0: found matching network '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/run/systemd/network/10-netplan-eth0.network', based on potentially unpredictable interface name.
May 01 19:08:34 pi5 systemd-timesyncd[555]: Network configuration changed, trying to establish connection.
May 01 19:08:34 pi5 avahi-daemon[714]: Registering new address record for 192.168.0.4 on eth0.IPv4.
May 01 19:08:44 pi5 systemd-timesyncd[555]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com).
May 01 19:08:55 pi5 systemd-timesyncd[555]: Timed out waiting for reply from 185.125.190.58:123 (ntp.ubuntu.com).
Successful boot after reboot:
May 01 19:14:03 pi5 systemd-networkd[671]: eth0: Link UP
May 01 19:14:07 pi5 kernel: macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control tx
May 01 19:14:07 pi5 systemd-networkd[671]: eth0: Gained carrier
May 01 19:14:08 pi5 cloud-init[681]: ci-info: | eth0 | True | 192.168.0.4 | 255.255.255.0 | global | [redacted] |
May 01 19:14:09 pi5 avahi-daemon[715]: Registering new address record for 192.168.0.4 on eth0.IPv4.
Things already tested
- Static IPv4 instead of DHCPv4: issue still reproduces.
- Different Ethernet cable: issue still reproduces.
- Different router LAN port: issue still reproduces.
- Rebooting restores network immediately.
apt full-upgradereports the running kernel is up to date.- No undervoltage/throttling flags:
throttled=0x0.
Additional note
There was also a separate case where the Pi logged Power key pressed short when physically touching the Pi-side cabling/case. That appears to be a separate case/button interaction issue. The Ethernet reconnect issue described here is reproduced by unplugging/replugging only the router/switch-side cable, without touching the Pi.
Activity
pelwell commentedon May 1, 2026
We don't have any control over the kernel that Ubuntu selects. We stick to the LTS kernels for general use - we're just about to move from 6.12 to 6.18 - and 6.8 is 1) old, and 2) not an LTS kernel.
pelwell commentedon May 1, 2026
Have you considered running Raspberry Pi OS?
Higangssh commentedon May 1, 2026
Thanks for the quick response.
That makes sense. I reported it here first because the symptom looked related to the Pi 5 Ethernet/macb/PHY path, but I understand that the Ubuntu-selected kernel is outside your control.
I haven’t tested Raspberry Pi OS yet. I’ll try to reproduce the same Ethernet reconnect test on Raspberry Pi OS and report back with the result. If it only reproduces on Ubuntu, I’ll move the report to Ubuntu Launchpad / linux-raspi.
jsramesh1990 commentedon May 8, 2026
saselivanov commentedon May 12, 2026
totally the same behaviour on the same hardware.
Ubuntu 24.04.4 LTS6.8.0-1053-raspi@Higangssh , any luck so far?
itoolsy commentedon May 15, 2026
Hi everyone.
I faced up with the same issue for the last 3 days and I've got the only one solution - link down/link up inside watchdog or called by networkd-dispatcher from routable.d
jsramesh1990 commentedon May 20, 2026
nbuchwitz commentedon May 20, 2026
Pretty confident that this is the same I've fixed here #6900.
Ubuntu should either pick the dt fix or use a recent ker el with autogreen phy fix + macb eee patches. Nothing raspberry pi can do about.