Kind Greetings!

Thank you very much indeed for the continued support for my case. I
currently have a perfectly working machine running on
kernel 6.17.0-14-generic paired with a fresh apt install of virtualbox-7.2
What I can draw from this experience is that I should take with much more
caution and care doing sudo apt update && sudo apt full-upgrade and
obviously to make sure that it completes with no errors which was my
mistake because I just decided to overlook the kernel errors my
full-upgrade raised back then.

Once again, thank you very much and I wish you a productive and
fulfilling week ahead,

Daniel Zuluaga

On Mon, 9 Feb 2026 at 03:05, Beurt <[email protected]> wrote:

> Now, linux-6.17 kernel is the current kernel, hence VirtualBox can't be
> installed, and the kernel can't be updated to 6.17 if VirtualBox is
> already installed (then, dkms fails, and the next reboot on this new
> kenrel fails).
>
> It is a very concerning situation.
>
> Temporary solution: staying on 6.14 kernel (previous).
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2140992).
> https://bugs.launchpad.net/bugs/2136499
>
> Title:
>   virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel
>
> Status in virtualbox package in Ubuntu:
>   Confirmed
> Status in virtualbox source package in Noble:
>   Confirmed
>
> Bug description:
>   [ Impact ]
>
>   DKMS make.log for virtualbox-7.0.16 for kernel 6.17.0-7-generic (x86_64)
>   Tue Dec 16 20:56:46 UTC 2025
>   make: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
>   make[1]: Entering directory '/var/lib/dkms/virtualbox/7.0.16/build'
>   warning: the compiler differs from the one used to build the kernel
>     The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu
> 13.3.0-6ubuntu2~24.04) 13.3.0
>     You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
>     CC [M]  vboxdrv/linux/SUPDrv-linux.o
>     CC [M]  vboxdrv/SUPDrv.o
>     CC [M]  vboxdrv/SUPDrvGip.o
>     CC [M]  vboxdrv/SUPDrvSem.o
>   In file included from vboxdrv/SUPDrv.c:43:
>   vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file
> or directory
>      47 | #include <VBox/cdefs.h>
>         |          ^~~~~~~~~~~~~~
>   compilation terminated.
>   In file included from vboxdrv/SUPDrvSem.c:43:
>   vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file
> or directory
>      47 | #include <VBox/cdefs.h>
>         |          ^~~~~~~~~~~~~~
>   compilation terminated.
>   make[4]: ***
> [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287:
> vboxdrv/SUPDrv.o] Error 1
>   make[4]: *** Waiting for unfinished jobs....
>   make[4]: ***
> [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287:
> vboxdrv/SUPDrvSem.o] Error 1
>   In file included from vboxdrv/linux/SUPDrv-linux.c:42:
>   vboxdrv/linux/../SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No
> such file or directory
>      47 | #include <VBox/cdefs.h>
>         |          ^~~~~~~~~~~~~~
>   compilation terminated.
>   In file included from vboxdrv/SUPDrvGip.c:43:
>   vboxdrv/SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file
> or directory
>      47 | #include <VBox/cdefs.h>
>         |          ^~~~~~~~~~~~~~
>   compilation terminated.
>   make[4]: ***
> [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287:
> vboxdrv/linux/SUPDrv-linux.o] Error 1
>   make[4]: ***
> [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287:
> vboxdrv/SUPDrvGip.o] Error 1
>   make[3]: ***
> [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:556:
> vboxdrv] Error 2
>   make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .]
> Error 2
>   make[1]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248:
> __sub-make] Error 2
>   make[1]: Leaving directory '/var/lib/dkms/virtualbox/7.0.16/build'
>   make: *** [Makefile:248: __sub-make] Error 2
>   make: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
>
>   [ Test case ]
>
>   Install the latest linux-6.17 kernel on Noble:
>
>   $ sudo add-apt-repository ppa:canonical-kernel-team/ppa3
>   $ sudo apt install linux-generic-hwe-24.04-edge
>
>   Install virtualbox-dkms:
>
>   $ sudo apt install virtualbox-dkms
>
>   Load the modules:
>
>   $ sudo modprobe
>
>   The same procedure should be repeated on linux-6.8 to test for
>   possible regressions.
>
>
>   [ Fix ]
>
>
>   [ Regression potential ]
>
>   We may experience regressions in systems that are using the virtualbox
>   drivers, especially with kernels >= 6.8 kernel.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+subscriptions
>
>

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

Title:
  virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

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


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

Reply via email to