Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Bug Report
Category Packages: Core
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


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

Comment by desbma (desbma) - Sunday, 03 February 2019, 01:13 GMT
I worked around this with:

echo '#!/bin/bash -eu
case "$1" in
modprobe -r sky2
modprobe sky2
esac' | sudo tee /usr/lib/systemd/system-sleep/reload_sky2
sudo chmod -c +x /usr/lib/systemd/system-sleep/reload_sky2