Realtek Ethernet driver lost after update to kernel 4.15.0-24
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
After automatic update to kernel 4.15.0-24 from 4.13 in my Ubuntu 16.04 desktop installation, the ethernet driver r8168 dissapears and the device is not recognized by the system.
This issue appears every time my kernel is updated. I assume this is because I installed the latest version from the vendor manually. (8.45)
It is usually solved rebuilding the driver. But with this kernel update, now the driver update procedure fails in the compilation phase.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: i3
Date: Sun Jul 8 17:39:03 2018
InstallationDate: Installed on 2017-06-04 (399 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
SourcePackage: linux-hwe
UpgradeStatus: No upgrade log present (probably fresh install)
This is the output from the driver installer script:
``` STACK_VALIDATIO N=y, please install libelf-dev, libelf-devel or elfutils- libelf- devel" calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.c: In function ‘rtl8168_ request_ esd_timer’ : calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.c:22967: 9: error: implicit declaration of function ‘setup_timer’ [-Werror= implicit- function- declaration]
setup_ timer(timer, rtl8168_esd_timer, (unsigned long)dev); j.calero/ Downloads/ r8168-8. 045.08/ src/r8168_ n.o] Error 1 /home/j. calero/ Downloads/ r8168-8. 045.08/ src] Error 2
Check old driver and unload it.
Build the module and install
Makefile:976: "Cannot use CONFIG_
/home/j.
/home/j.
^
cc1: some warnings being treated as errors
make[3]: *** [/home/
make[2]: *** [_module_
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
```