[Bug 2048923] [NEW] [SRU] r8168-dkms fails to build module on kernel 6.5.0-14-generic
Launchpad Bug Tracker
2048923 at bugs.launchpad.net
Tue Feb 6 12:28:29 UTC 2024
You have been subscribed to a public bug by Sudip Mukherjee (sudipmuk):
[ Impact ]
r8168-dkms fails to install if the user is using the hwe kernel which is v6.5 as the dkms module will fail to build during installation.
The error being:
/usr/src/r8168-8.049.02/r8168_n.c: In function ‘r8168_csum_workaround’:
/usr/src/r8168-8.049.02/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);
| ^~~~~~~~~~~~~~~
[ Test Plan ]
This needs to be done on both the hwe kernel (v6.5) and the generic
kernel (v5.15) to ensure it works on both.
* install r8168-dkms
* successfull installation will mean the build failure has been fixed.
* As a very basic test, try to load the module "sudo modprobe r8168"
Ideally someone with the hardware should test and confirm.
[ Where problems could occur ]
This change is only affecting the users of hwe kernel (v6.5) and the
only change is adding a header file which declare the function its
trying to use. Similar changes has been done to other upstream network
drivers as can be seen at the upstream kernel patch link and has little
chance of regression due to this.
[ Other Info ]
* The change in the upstream linux kernel has been done via:
https://lore.kernel.org/all/20230608191738.3947077-1-edumazet@google.com/
[ Original Bug Description ]
After recent upgrade to kernel 6.5.0-14-generic my ethernet connection
no longer works, because dkms is unable to compile module for this
kernel. I'm on kubuntu lts 22.04.3. On all the previous kernels this
worked fine.
$ lsb_release -rd
Description: Ubuntu 22.04.3 LTS
Release: 22.04
$ apt-cache policy r8168-dkms
r8168-dkms:
Instalovaná verze: 8.049.02-1ubuntu1.2
Kandidát: 8.049.02-1ubuntu1.2
Tabulka verzí:
*** 8.049.02-1ubuntu1.2 500
500 https://mirror.dkm.cz/ubuntu jammy-updates/universe amd64 Packages
500 https://mirror.dkm.cz/ubuntu jammy-updates/universe i386 Packages
100 /var/lib/dpkg/status
8.049.02-1ubuntu1 500
500 https://mirror.dkm.cz/ubuntu jammy/universe amd64 Packages
500 https://mirror.dkm.cz/ubuntu jammy/universe i386 Packages
Expected behavior: dkms successfully builds the r8168 module when new
kernel is installed and the ethernet connection works.
What happened instead: dkms failed to build the r8168 module for the new
6.5.0-14-generic kernel and the ethernet connection no longer works.
Please see attached crash log from dkms.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: r8168-dkms 8.049.02-1ubuntu1.2
ProcVersionSignature: Ubuntu 6.2.0-39.40~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-39-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Jan 10 18:56:53 2024
InstallationDate: Installed on 2021-05-13 (972 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitecture: all
SourcePackage: r8168
UpgradeStatus: Upgraded to jammy on 2022-08-15 (513 days ago)
** Affects: r8168 (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: r8168 (Ubuntu Jammy)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug jammy
--
[SRU] r8168-dkms fails to build module on kernel 6.5.0-14-generic
https://bugs.launchpad.net/bugs/2048923
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list