@kotyz85 thanks for your verification

I see you have done it on the 6.5.0-21-generic kernel. The test plan
asks for a verification on the non-hwe kernel as well (5.15), which is
still missing.

I went ahead and created a jammy VM with kernel 5.15.0-97-generic and
installed r8168-dkms:

$ uname -a
Linux j 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 
x86_64 x86_64 GNU/Linux

$ sudo apt install r8168-dkms -y
(...)
Setting up r8168-dkms (8.049.02-1ubuntu1.2) ...
Loading new r8168-8.049.02 DKMS files...
Building for 5.15.0-97-generic
Building initial module for 5.15.0-97-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
404723991C7F0000:error:12000079:random number generator:RAND_load_file:Cannot 
open file:../crypto/rand/randfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
.....+..+...+.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+......+.+..+..........+........+...+.+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+......+......+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
........+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+..+.+..............+....+.....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+.+.............................+....+...........+...+.......+........+.+......+........+.......+.........+.....+.+...+..+......+....+...+......+..+...+..........+...........+...+.+.........+...+..+.+......+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.

r8168.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-97-generic/updates/dkms/

depmod...

Backing up initrd.img-5.15.0-97-generic to 
/boot/initrd.img-5.15.0-97-generic.old-dkms
Making new initrd.img-5.15.0-97-generic
(If next boot fails, revert to initrd.img-5.15.0-97-generic.old-dkms image)
update-initramfs...


The build seems to have worked:
$ find /lib/modules -name '*r8168*ko'
/lib/modules/5.15.0-97-generic/updates/dkms/r8168.ko

And it loads:
$ sudo modprobe r8168
$

dmesg:
[Thu Mar  7 17:36:05 2024] r8168: loading out-of-tree module taints kernel.
[Thu Mar  7 17:36:05 2024] r8168: module verification failed: signature and/or 
required key missing - tainting kernel

And it loads:
$ lsmod|grep r8168
r8168                 552960  0


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


I'm therefore confirming the verification succeeded status for jammy with these 
results.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048923

Title:
  [SRU] r8168-dkms fails to build module on kernel 6.5.0-14-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r8168/+bug/2048923/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to