Raspberry Pi 5 eth0 reports Link Up after Ethernet reconnect, but no traffic passes until reboot
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c, linux, raspberry-pi, ubuntu
- Domain
- embedded-iot, networking, operating-systems
Research direction
Start with the macb driver and BCM54213PE PHY path mentioned in the kernel logs, then reproduce the router-side unplug/replug sequence while comparing the failure and successful-boot logs. Check the networkctl, systemd-networkd, and kernel link-state messages; done means eth0 resumes ping, SSH, and other traffic after reconnecting without a reboot.
Written by the indexing model from the issue text.
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 '/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.
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
api7/lua-resty-saml#63 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·