-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/sys/class/net/eth0/carrier stuck in 0 #1698
Comments
This works correctly for me on 5.10.63 (the Do you possibly have some device (HDMI or USB) that might be back-powering the Pi4, preventing it from rebooting correctly? Have you tried with a different Ethernet switch? |
Same issue with different switch/hdmi. |
Can you confirm the outcome of the following scenarios (some may have been covered already, but I want them all together)? Possible outcomes are:
Note that it shouldn't be possible for eth0 to have an IP address without a carrier, I'm just being careful. The scenarios are (allow a reasonable interval between each step - a few seconds to detect a cable being unplugged longer for plugging it in, perhaps 10 seconds):
|
Hi @pelwell, thank you for following this up. I started the tests but results aren’t consistent. I keep getting random carrier 1 or 0. As the carrier signal was erratic I tested several different network cables but this resulted in more random statuses, sometimes a cable worked sometimes it didn’t. At first I thought there was an issue with the cable but then I got a carrier signal and could use the device until network connection drops after a random time. I never had issues with any of the cables before. There’s definitely a hardware issue here. |
Describe the bug
/sys/class/net/eth0/carrier stuck in 0
To reproduce
Unplug cable and replug it, /sys/class/net/eth0/carrier becomes 1
Reboot, /sys/class/net/eth0/carrier is now stuck in 0 until the cable is unplugged and replugged again
Expected behaviour
Once the cable is plugged I expect /sys/class/net/eth0/carrier to be consistently 1
Actual behaviour
/sys/class/net/eth0/carrier stuck in 0
System
cat /etc/rpi-issue
)? OSMCvcgencmd version
)? 99c5aad7da0d1e3b2c28669a3941db77734b9f2duname -a
)?Linux 5.10.78-2-osmc #1 SMP PREEMPT Wed Nov 17 04:52:11 UTC 2021 aarch64 GNU/Linux
Additional context
The device is running on an original Raspberri Pi 4 power supply. This issue came up after a reboot.
The text was updated successfully, but these errors were encountered: