Public bug reported:

Some customers reported of the impossibility of installing the new
version of the kernel in hwe-6.17 in Noble, and this has been caused by
the virtualbox-dkms module.

The module is failing to build as reported by the user

```
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j12 KERNELRELEASE=6.17.0-14-generic -C 
/lib/modules/6.17.0-14-generic/build 
M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
 installed linux-headers-6.17.0-14-generic package post-installation script 
subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of 
linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; 
however:
  Package linux-headers-6.17.0-14-generic is not configured yet.
```

Doing it locally in a Noble instance, I am able to reproduce the issue, 
attaching the log.
The module correctly builds on the same machine on kernel 6.14.0-37

'''
Loading new virtualbox-7.0.16 DKMS files...
Building for 6.14.0-37-generic 6.17.0-14-generic
Building initial module for 6.14.0-37-generic
Done.
'''

** Affects: linux-hwe-6.17 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-hwe-6.17 (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: virtualbox (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Attachment added: "report.txt"
   https://bugs.launchpad.net/bugs/2142287/+attachment/5947421/+files/report.txt

** Also affects: virtualbox (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: linux-hwe-6.17 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Kernel 6.17.0-14 - Failed to build virtualbox-dkms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.17/+bug/2142287/+subscriptions


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

Reply via email to