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
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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

Closed by  Andreas Radke (AndyRTR)
Tuesday, 17 March 2020, 09:39 GMT
Reason for closing:  No response
Comment by desbma (desbma) - Sunday, 03 February 2019, 01:13 GMT
I worked around this with:

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
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 13:28 GMT
Is this still an issue?

Loading...