netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lan78xx: /sys/class/net/eth0/carrier stuck at 1
@ 2020-10-21 15:00 Juerg Haefliger
  2020-10-21 19:35 ` Andrew Lunn
  0 siblings, 1 reply; 7+ messages in thread
From: Juerg Haefliger @ 2020-10-21 15:00 UTC (permalink / raw)
  To: netdev, woojung.huh

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

Hi,

If the lan78xx driver is compiled into the kernel and the network cable is
plugged in at boot, /sys/class/net/eth0/carrier is stuck at 1 and doesn't
toggle if the cable is unplugged and replugged.

If the network cable is *not* plugged in at boot, all seems to work fine.
I.e., post-boot cable plugs and unplugs toggle the carrier flag.

Also, everything seems to work fine if the driver is compiled as a module.

There's an older ticket for the raspi kernel [1] but I've just tested this
with a 5.8 kernel on a Pi 3B+ and still see that behavior.

...Juerg

[1] https://github.com/raspberrypi/firmware/issues/1100

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-06  8:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 15:00 lan78xx: /sys/class/net/eth0/carrier stuck at 1 Juerg Haefliger
2020-10-21 19:35 ` Andrew Lunn
2020-10-23  6:29   ` Juerg Haefliger
2020-10-23 13:05     ` Andrew Lunn
2020-11-03 12:47       ` Juerg Haefliger
2020-11-03 15:27         ` Andrew Lunn
2020-11-06  8:56           ` Juerg Haefliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).