Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

Ubuntu 22.04.3, Kernel 6.5.0-14-generic and RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

$
0
0

This morning 2 of my Ubuntu installs that are both 22.04.3 LTS running HWE upgraded to Kernel 6.5.0-14-generic. After rebooting both systems the network cards that are RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller did not come up. Booting to the older 6.2.0-39-generic Kernel the network card works just fine. Upon trying to reinstall the r8168-dkms driver which installs the driver version 8.049.02 fails. And running sudo lshw -C network is showing the card as UNCLAIMED.

The issue is the r8168-dkms driver that is in the default repos is running version 8.049.02-1ubuntu1 that is incompatible with the6.5.0-14-generic Kernel.

$ apt-cache policy r8168-dkmsr8168-dkms:  Installed: 8.049.02-1ubuntu1  Candidate: 8.049.02-1ubuntu1  Version table: *** 8.049.02-1ubuntu1 100        100 /var/lib/dpkg/status     8.049.02-1ubuntu1.2 500        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages     8.049.02-1ubuntu1 500        500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages        500 http://us.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

And when you try to build the 8.049.02 driver in the 6.5.0-14-generic Kernel you get the following error message:

$ sudo dkms build r8168/8.049.02Building module:cleaning build area...make -j8 KERNELRELEASE=6.5.0-14-generic -C /lib/modules/6.5.0-14-generic/build M=/var/lib/dkms/r8168/8.049.02/build..........(bad exit status: 2)ERROR (dkms apport): binary package for r8168: 8.049.02 not foundError! Bad return status for module build on kernel: 6.5.0-14-generic (x86_64)Consult /var/lib/dkms/r8168/8.049.02/build/make.log for more information.$ cat /var/lib/dkms/r8168/8.049.02/build/make.log/var/lib/dkms/r8168/8.049.02/build/r8168_n.c:27733:24: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’? [-Werror=implicit-function-declaration]27733 |                 segs = skb_gso_segment(skb, features);      |                        ^~~~~~~~~~~~~~~      |                        skb_gso_reset

Even if you change the source code to match the did you mean... it will still fail. But, the 8.049.02 driver builds just fine in the older 6.2 and 5.15 kernels.

Is there a more up to date driver that I can use?

P.S. I will not use the r8169 driver for my r8168 chipset as it will work OK in the beginning but after a little bit will give unpredictable behavior, some to the point of needing a hard reboot of my system to bring the interface back up.


Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>