Ethernet did'nt wake up after suspend

Bug #1839752 reported by khitschler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)
New
Undecided
Unassigned

Bug Description

With the last kernel 4.18.0-25-generic there was no problem. Since upgrade to kernel 5.0.0-23-generic ethernet did not wake up after resume from suspend. During suspend the network link LED is flashing, after wake up from suspend the LED is off.

I returned to the former kernel and there was no problem with ethernet and suspend.

I found similar bug reports concerning the driver r8169, but they all are cover earlier versions of the kernel.

Unloading and reloading the driver is a workaround.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-5.0.0-23-generic 5.0.0-23.24~18.04.1
ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15
Uname: Linux 5.0.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Aug 11 12:14:27 2019
InstallationDate: Installed on 2019-06-17 (54 days ago)
InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
khitschler (klaus-hitschler) wrote :
Revision history for this message
khitschler (klaus-hitschler) wrote :

The machine is a LENOVO product: 10Y30009GE v: V530-15ARR

Revision history for this message
khitschler (klaus-hitschler) wrote :

The bug disappeared with kernel 5.0.0-29-generic. In the meantime I lived with the workaround mentioned in https://uberubuntu.info/questions/281929/ubuntu-1804-ethernet-nach-suspend-unterbrochen
Thank you for your effort.

[Unit]
Description=Fix RTL-8169 Driver on resume from suspend
After=suspend.target

[Service]
User=root
Type=oneshot
ExecStartPre=/sbin/modprobe -r r8169
ExecStart=/sbin/modprobe r8169
TimeoutSec=0
StandardOutput=syslog

[Install]
WantedBy=suspend.target

Revision history for this message
Valerio Bozzolan (bozzy) wrote :

The previous service is awesome but it can be improved to cover hibernation and hybrid-hibernation as well:

# /etc/systemd/system/fix-r8169.service

```
[Unit]
Description=Fix RTL-8169 Driver on resume from suspend
After=suspend.target

[Service]
User=root
Type=oneshot
ExecStartPre=/sbin/modprobe -r r8169
ExecStart=/sbin/modprobe r8169
TimeoutSec=0
StandardOutput=syslog

[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.