FS#61400 - [linux-lts] No network when returning from hibernation with sky2 driver
Attached to Project:
Arch Linux
Opened by desbma (desbma) - Monday, 14 January 2019, 12:33 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 17 March 2020, 09:39 GMT
Opened by desbma (desbma) - Monday, 14 January 2019, 12:33 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 17 March 2020, 09:39 GMT
|
Details
I have a wired network interface that uses the "sky2" driver
(Marvell Yukon 2 Gigabit Ethernet).
Since migrating from kernel linux-lts-4.14.90-1 to linux-lts-4.19.14-1, when hibernating and then resuming the network interface is stucked in no-carrier state (like when no cable is plugged). ip link show enp5s0 2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 "sudo ip link set up dev enp5s0" does not fix it The only fix I have found is to either revert to 4.14.90-1, or manually reload the kernel module: sudo modprobe -rv sky2 && sudo modprobe -v sky2 |
This task depends upon
echo '#!/bin/bash -eu
case "$1" in
pre)
modprobe -r sky2
;;
post)
modprobe sky2
;;
esac' | sudo tee /usr/lib/systemd/system-sleep/reload_sky2
sudo chmod -c +x /usr/lib/systemd/system-sleep/reload_sky2