I've been having the same problem after resume. However, although de-
modprobe-ing and re-modprobe-ing enables the 'eth0' to be renamed as
'enp2s0', finally it fizzles out with
Jul 06 02:13:24 craig-desktop NetworkManager[5649]: [1530868404.9510]
device[0x2840aa0] (enp2s0): emit RECHECK_ASSUME signal
Jul 06 02:13:24 craig-desktop NetworkManager[5649]: [1530868404.9510]
device[0x2840aa0] (enp2s0): ip4-config: update (commit=0, routes-full-sync=0,
new-config=0x285f8f0)
Jul 06 02:13:24 craig-desktop NetworkManager[5649]: [1530868404.9511]
device[0x2840aa0] (enp2s0): ip6-config: update (commit=0, routes-full-sync=0,
new-config=0x282a440)
Jul 06 02:13:24 craig-desktop NetworkManager[5649]: [1530868404.9511]
device[0x2840aa0] (enp2s0): device has no existing configuration
Jul 06 02:13:24 craig-desktop NetworkManager[5649]: [1530868404.9511]
manager: (enp2s0): can't assume; no connection
and connectivity fails. Only a reboot fixes it.
Version:
Linux craig-desktop 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15
14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Past similar reports related to r8169 over the years:
2017 - https://askubuntu.com/a/893823/723997
2011 - https://ubuntuforums.org/showthread.php?t=1661489
- This 2011 one is interesting because the author points out that ::
# lspci | grep Realtek
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 0c)
so he replaced r8169 with r8168 and succeeded.
On the other hand, the following set of reports seems to indicate that
it is independent of the driver, because of multiple cases where
unloading and loading the driver solved the problem although the drivers
are different:
2016 -
https://forum.ubuntuusers.de/topic/nach-16-10-installation-kein-internet-mehr-nac/2/#post-8652643
- https://ubuntuforums.org/showthread.php?t=2355314
In conclusion, there might be a deeper bug which is appearing and
disappearing with different versions depending upon the random module
layout in the compile.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752772
Title:
r8169 ethernet card don't work after returning from suspension
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Released
Bug description:
===SRU Justification===
[Impact]
Ethernet r8169 stops working after system resumed from suspend.
[Test]
User confirmed these patches fix the issue. r8169 continues to work
after resume from suspend.
[Regression Potential]
Medium. The fix is limited to one device, all patches are in mainline.
The WOL default change might cause regression for users that depend on
BIOS settings. We can advice them to use userspace tool (systemd,
ethtool, etc.) instead.
===Original Bug Report===
I have noticed that the network stopped working on my desktop after I've
suspended the system and woke it up. On dmesg there are messages like:
[ 150.877998] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[ 150.944101] do_IRQ: 3.37 No irq handler for vector
[ 150.944105] r8169 :01:00.0 enp1s0: link down
[ 150.944180] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
When using Xenial (from a different install), this problem is not
happening. This is happening on Bionic.
There are only two ways to restore connectivity:
1) Reboot the system;
2) Remove the r8169 module and reinsert it with modprobe.
The motherboard is a AsRock H55M-LE and the Ethernet controller is:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-firmware 1.172
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Mar 2 00:21:57 2018
Dependencies:
InstallationDate: Installed on 2018-02-26 (3 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180226)
PackageArchitecture: all
SourcePackage: linux-firmware
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version
k4.15.0-10-generic.
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
ArecordDevices:
List of CAPTURE Hardware Devices
card 0: MID [HDA Intel MID], device 0: VT1818S Analog [VT1818S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USERPID ACCESS COMMAND
/dev/snd/controlC0: usuario1153 F pulseaudio
/dev/snd/controlC1: usuario1153 F pulseaudio
Card0.Amixer.info:
Card hw:0 'MID'/'HDA Intel MID at 0xfbdf8000 irq 26'
Mixer name : 'VIA VT1818S'