-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
4.14 / 3+: oops in lan78xx_set_wol #2457
Comments
Yes, we see this too with LibreELEC, although we just disabled 78xx WOL as a temporary solution (there were other priorities at the time). |
Problem isn't limited to WOL though, but seems to happen in all functions in which net->phydev is used, without checking if it is not null. E.g. can also reproduce it with:
|
related? #2442 |
Yep |
See: raspberrypi/linux#2458 kernel: Revert lan78xx: Simple patch to prevent some crashes kernel: lan78xx: Connect phy early kernel: lan78xx: Don't reset the interface on open See: raspberrypi/linux#2437 See: raspberrypi/linux#2442 See: raspberrypi/linux#2457 firmware: clockman: Don't use OSC for pixel clock See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=24679&start=150#p1297298
See: raspberrypi/linux#2458 kernel: Revert lan78xx: Simple patch to prevent some crashes kernel: lan78xx: Connect phy early kernel: lan78xx: Don't reset the interface on open See: raspberrypi/linux#2437 See: raspberrypi/linux#2442 See: raspberrypi/linux#2457 firmware: clockman: Don't use OSC for pixel clock See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=24679&start=150#p1297298
Latest rpi-update kernel has a potential fix for this issue. Please test. |
With LibreELEC and latest 4.14.32 b5b6bb9, the initial WOL panic and the following eee related panic are both no longer an issue:
Thanks! |
Seems to work |
BugLink: http://bugs.launchpad.net/bugs/1784025 With Alexander Graf's patch ("lan78xx: Connect phy early") applied, the call to lan78xx_reset within lan78xx_open prevents the phy interrupt from being generated (even though the link is up). Avoid this issue by removing the lan78xx_reset call. See: raspberrypi/linux#2437 raspberrypi/linux#2442 raspberrypi/linux#2457 Fixes: 92571a1aae40 ("lan78xx: Connect phy early") Signed-off-by: Phil Elwell <phil@raspberrypi.org> (backported from commit 47b998653fea4ef69e3e89574956386f262bccca) Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
OpenELEC and clones try to enable WoL with an udev rule ( https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/network/ethtool/udev.d/99-wakeup-eth.rules )
This regulary -but not always- results in an Oops on 3+:
maxnet/berryboot#484
The text was updated successfully, but these errors were encountered: