Re: [Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-23 Thread Dimitar Prodanov
Thank you for the communication Matias !

On Sun, 22 Mar 2026 at 20:35, Matias Larsson <[email protected]>
wrote:

> @Holger: Note that this bug specifically concerns 6.17 kernel version.
> Therefore, in order to test the fix, one needs to boot into 6.17 kernel.
>
> So, you might want to find out why your system boots into 6.14 instead
> of 6.17. Some things to check maybe:
>
> - Which kernel versions are installed on your system.
> - Which kernel is GRUB (or whatever bootloader/UEFI you use) configured to
> boot. Have there been configuration changes earlier?
>
> Also, please note that my earlier message is a test report (of sorts),
> not an instruction for solving the problem. I made an edit to clarify
> this for future. Testing had been requested in this thread, hence I
> tested and reported back.
>
> If you're on Ubuntu 22.04 or lower, then repeating my steps can have
> nasty side effects. See https://wiki.ubuntu.com/Testing/EnableProposed
> for how to enable '-proposed' updates. For Ubuntu 22.04 and lower there
> are additional steps one needs to take.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2143743).
> https://bugs.launchpad.net/bugs/2136499
>
> Title:
>   virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel
>
> Status in virtualbox package in Ubuntu:
>   Invalid
> Status in virtualbox source package in Noble:
>   Fix Committed
> Status in virtualbox source package in Questing:
>   Fix Committed
> Status in virtualbox source package in Resolute:
>   Invalid
>
> 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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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'
>
>   Morover, even if the driver builds, Virtualbox VMs crash on start, with
>   "Unable to allocate and lock memory", "Error ID: Host Memory Low" and
> other errors.
>
>   While the build issue affects only Noble, the VM crash affects both
>   Noble an Questing.
>
>   [ Test case ]
>
>   In Questing:
>   - Install virtualbox-dkms:
>
>   $ sudo apt install virtualbox-dkms
>
>   - Load the modules:
>
>   $ sudo modprobe vboxdrv
>   $ sudo modprobe vboxnetadp
>   $ sudo modprobe vboxnetflt
>
>   - Create a virtualbox VM and launch it.
>
>   In Noble
>   - Install the latest linux-6.17 kernel:
>
>   $ sudo apt install linux-generic-hwe-24.04
>
>   - Install virtualbox-dkms:
>
>   $ sudo apt install virtualbox-dkms
>
>   - Load the modules:
>
>   $ sudo modprobe vboxdrv
>   $ sudo modprobe vboxnetadp
>   $ sudo modprobe v

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-23 Thread Launchpad Bug Tracker
This bug was fixed in the package virtualbox - 7.2.2-dfsg-2ubuntu0.1

---
virtualbox (7.2.2-dfsg-2ubuntu0.1) questing; urgency=medium

  * Additonal patches for 6.17 support (LP: #2136499)
- 
debian/patches/38-Additions-Linux-vboxvideo-Initial-support-for-kernel.patch
- Fixing Maintainer to Ubuntu Developers and XSBC-Orig-Maintainer to Deibna 
VBox Team

 -- John Cabaj   Thu, 12 Mar 2026 10:02:40
-0500

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-23 Thread Launchpad Bug Tracker
This bug was fixed in the package virtualbox - 7.0.16-dfsg-2ubuntu1.3

---
virtualbox (7.0.16-dfsg-2ubuntu1.3) noble; urgency=medium

  * Further patches for Linux 6.17 kernel support (LP: #2136499)
- 
debian/patches/46-Additions-Linux-vboxvideo-Fix-building-issues-with-k.patch
- 
debian/patches/47-Additions-Linux-vboxfs-Fix-building-issues-with-kern.patch
- 
debian/patches/48-Linux-host-vboxdrv-Introduce-initial-support-for-ker.patch
- 
debian/patches/49-Additions-Linux-vboxsf-Align-with-upstream-vboxsf-ch.patch
- 
debian/patches/50-Additions-Linux-vboxvideo-Additional-fixes-for-kerne.patch
- 
debian/patches/51-Additions-Linux-vboxsf-Add-initial-support-for-kerne.patch
- 
debian/patches/52-vboxdrv-Introduce-initial-support-for-kernel-6.16-bu.patch
- 
debian/patches/53-Additions-Linux-vboxsf-More-fixes-for-kernel-6.16-bu.patch
- 
debian/patches/54-HostDrivers-Support-bugref-10963-Use-the-host-kernel.patch
- 
debian/patches/55-netflt-Linux-Introduce-initial-support-for-kernel-6..patch
- 
debian/patches/56-Additions-Linux-vboxvideo-Introduce-initial-support-.patch
- 
debian/patches/57-Additions-Linux-vboxsf-Introduce-initial-support-for.patch
- 
debian/patches/58-Additions-Linux-vboxvideo-Initial-support-for-kernel.patch

 -- John Cabaj   Wed, 11 Mar 2026 12:38:49
-0500

** Changed in: virtualbox (Ubuntu Noble)
   Status: Fix Committed => Fix Released

** Changed in: virtualbox (Ubuntu Questing)
   Status: Fix Committed => Fix Released

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-22 Thread Matias Larsson
@Holger: Note that this bug specifically concerns 6.17 kernel version.
Therefore, in order to test the fix, one needs to boot into 6.17 kernel.

So, you might want to find out why your system boots into 6.14 instead
of 6.17. Some things to check maybe:

- Which kernel versions are installed on your system.
- Which kernel is GRUB (or whatever bootloader/UEFI you use) configured to 
boot. Have there been configuration changes earlier?

Also, please note that my earlier message is a test report (of sorts),
not an instruction for solving the problem. I made an edit to clarify
this for future. Testing had been requested in this thread, hence I
tested and reported back.

If you're on Ubuntu 22.04 or lower, then repeating my steps can have
nasty side effects. See https://wiki.ubuntu.com/Testing/EnableProposed
for how to enable '-proposed' updates. For Ubuntu 22.04 and lower there
are additional steps one needs to take.

-- 
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

Re: [Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-22 Thread Holger Heinemann
Hello.

No, it doesnt work.

Kernel Version is still 6.14.0-37-generic after booting.

You meen this in your description?

Thank you for your help.

Bye
Holger

Am 21.03.26 um 16:47 schrieb Matias Larsson:
> Hello,
>
> This bug has been affecting me, so I tested the following on my PC
> running Ubuntu 24.04. Version info etc. at the end of the message.
>
> - Enabled 'proposed' source (pocket) via Updates settings GUI, developer 
> options
> - $ sudo apt update
> - $ sudo apt install virtualbox/noble-proposed
> - $ sudo apt install virtualbox-dkms/noble-proposed  # Could have put them in 
> the same command probably
> - $ sudo apt upgrade
> - Powered off PC, then powered on and booted into 6.17.0-19-generic (as is 
> default)
> - Booted up a VirtualBox guest VM
>
> All seems to work OK now. No more kernel panic on the 6.17 as the kernel
> modules build & installation was successful.
>
> Thank you for the fix and information!
>
> Version info:
>
> $ apt policy virtualbox virtualbox-dkms
> virtualbox:
>Installed: 7.0.16-dfsg-2ubuntu1.3
>Candidate: 7.0.16-dfsg-2ubuntu1.3
>Version table:
>   *** 7.0.16-dfsg-2ubuntu1.3 100
>  100http://se.archive.ubuntu.com/ubuntu noble-proposed/multiverse 
> amd64 Packages
>  100 /var/lib/dpkg/status
>   7.0.16-dfsg-2ubuntu1.1 500
>  500http://se.archive.ubuntu.com/ubuntu noble-updates/multiverse 
> amd64 Packages
>   7.0.16-dfsg-2 500
>  500http://se.archive.ubuntu.com/ubuntu noble/multiverse amd64 
> Packages
> virtualbox-dkms:
>Installed: 7.0.16-dfsg-2ubuntu1.3
>Candidate: 7.0.16-dfsg-2ubuntu1.3
>Version table:
>   *** 7.0.16-dfsg-2ubuntu1.3 100
>  100http://se.archive.ubuntu.com/ubuntu noble-proposed/multiverse 
> amd64 Packages
>  100 /var/lib/dpkg/status
>   7.0.16-dfsg-2ubuntu1.1 500
>  500http://se.archive.ubuntu.com/ubuntu noble-updates/multiverse 
> amd64 Packages
>   7.0.16-dfsg-2 500
>  500http://se.archive.ubuntu.com/ubuntu noble/multiverse amd64 
> Packages
>
> # (Reduced) System Details Report
> ---
>
> ## Hardware Information:
> - **Processor:**   Intel® Core™ i5-7600K × 4
>
> ## Software Information:
> - **OSName:** Ubuntu 24.04.4 LTS
> - **OSBuild:**(null)
> - **OSType:** 64-bit
> - **GNOMEVersion:**   46
> - **WindowingSystem:**X11
> - **KernelVersion:**  Linux 6.17.0-19-generic
>

** Attachment added: "M0hHkVNdLlhR0l7X.png"
   
https://bugs.launchpad.net/bugs/2136499/+attachment/5954782/+files/M0hHkVNdLlhR0l7X.png

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-22 Thread nou
I can confirm that that installing virtualbox-dkms from proposed fixed
this bug for me on Ubuntu 24.04. with kernel 6.17.0-19-generic

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-21 Thread Matias Larsson
Hello,

This bug has been affecting me, so I tested the following on my PC
running Ubuntu 24.04. Version info etc. at the end of the message.

- Enabled 'proposed' source (pocket) via Updates settings GUI, developer options
- $ sudo apt update
- $ sudo apt install virtualbox/noble-proposed
- $ sudo apt install virtualbox-dkms/noble-proposed  # Could have put them in 
the same command probably
- $ sudo apt upgrade
- Powered off PC, then powered on and booted into 6.17.0-19-generic (as is 
default)
- Booted up a VirtualBox guest VM

All seems to work OK now. No more kernel panic on the 6.17 as the kernel
modules build & installation was successful.

Thank you for the fix and information!

Version info:

$ apt policy virtualbox virtualbox-dkms
virtualbox:
  Installed: 7.0.16-dfsg-2ubuntu1.3
  Candidate: 7.0.16-dfsg-2ubuntu1.3
  Version table:
 *** 7.0.16-dfsg-2ubuntu1.3 100
100 http://se.archive.ubuntu.com/ubuntu noble-proposed/multiverse amd64 
Packages
100 /var/lib/dpkg/status
 7.0.16-dfsg-2ubuntu1.1 500
500 http://se.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
Packages
 7.0.16-dfsg-2 500
500 http://se.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages
virtualbox-dkms:
  Installed: 7.0.16-dfsg-2ubuntu1.3
  Candidate: 7.0.16-dfsg-2ubuntu1.3
  Version table:
 *** 7.0.16-dfsg-2ubuntu1.3 100
100 http://se.archive.ubuntu.com/ubuntu noble-proposed/multiverse amd64 
Packages
100 /var/lib/dpkg/status
 7.0.16-dfsg-2ubuntu1.1 500
500 http://se.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
Packages
 7.0.16-dfsg-2 500
500 http://se.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages

# (Reduced) System Details Report
---

## Hardware Information:
- **Processor:**   Intel® Core™ i5-7600K × 4

## Software Information:
- **OS Name:** Ubuntu 24.04.4 LTS
- **OS Build:**(null)
- **OS Type:** 64-bit
- **GNOME Version:**   46
- **Windowing System:**X11
- **Kernel Version:**  Linux 6.17.0-19-generic

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-13 Thread John Cabaj
Tested on 24.04 LiveUSB with Virtualbox from -proposed. All modules
installed successfully, and I was able to start a guest VM.

** Tags removed: verification-needed-noble verification-needed-questing
** Tags added: verification-done-noble verification-done-questing

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-13 Thread John Cabaj
Tested on 25.10 LiveUSB with Virtualbox from -proposed. All modules
installed successfully, and I was able to start a guest VM.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread Timo Aaltonen
Hello John, or anyone else affected,

Accepted virtualbox into noble-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/virtualbox/7.0.16-dfsg-2ubuntu1.3
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: virtualbox (Ubuntu Noble)
   Status: In Progress => Fix Committed

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread Timo Aaltonen
Hello John, or anyone else affected,

Accepted virtualbox into questing-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/virtualbox/7.2.2-dfsg-2ubuntu0.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
questing to verification-done-questing. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-questing. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: virtualbox (Ubuntu Questing)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-questing

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread Massimiliano Pellizzer
** Description changed:

  [ 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 
    |  ^~
  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 
    |  ^~
  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 
    |  ^~
  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 
    |  ^~
  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'
  
+ Morover, even if the driver builds, Virtualbox VMs crash on start, with
+ "Unable to allocate and lock memory", "Error ID: Host Memory Low" and other 
errors.
+ 
+ While the build issue affects only Noble, the VM crash affects both
+ Noble an Questing.
+ 
  [ Test case ]
  
- Install the latest linux-6.17 kernel on Noble:
- 
- $ sudo apt install linux-generic-hwe-24.04
- 
- Install virtualbox-dkms:
+ In Questing:
+ - Install virtualbox-dkms:
  
  $ sudo apt install virtualbox-dkms
  
- Load the modules:
+ - Load the modules:
  
  $ sudo modprobe vboxdrv
  $ sudo modprobe vboxnetadp
  $ sudo modprobe vboxnetflt
  
+ - Create a virtualbox VM and launch it.
+ 
+ In Noble
+ - Install the latest linux-6.17 kernel:
+ 
+ $ sudo apt install linux-generic-hwe-24.04
+ 
+ - Install virtualbox-dkms:
+ 
+ $ sudo apt install virtualbox-dkms
+ 
+ - Load the modules:
+ 
+ $ sudo modprobe vboxdrv
+ $ sudo modprobe vboxnetadp
+ $ sudo modprobe vboxnetflt
+ 
+ - Create a virtualbox VM and launch it.
+ 
  The same procedure must 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.
+ drivers and VMs, especially with kernels >= 6.8 kernel.

** Description changed:

  [ 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 
    |  ^~
  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 
    |  ^~
  compilation terminated.
  make[4]: *** 
[/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread Massimiliano Pellizzer
** Changed in: virtualbox (Ubuntu Noble)
   Status: Fix Committed => In Progress

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread John Cabaj
7.2.2-dfsg-2 -> 7.2.2-dfsg-2ubuntu0.1 debdiff

** Patch added: "virtualbox_7.2.2-dfsg-2ubuntu0.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5951533/+files/virtualbox_7.2.2-dfsg-2ubuntu0.1.debdiff

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-12 Thread John Cabaj
** Changed in: virtualbox (Ubuntu Questing)
   Status: Invalid => In Progress

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-11 Thread John Cabaj
Andrew,

Appreciate the added logs. Like I said, I was able to reproduce when
starting a basic VM. I have a new package available here -
https://launchpad.net/~john-cabaj/+archive/ubuntu/hwe-6.17-dkms, which
didn't exhibit the same issue.

Hoping to have this in -proposed tomorrow if you'd rather wait for it to
be there first.


j-c

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-11 Thread John Cabaj
7.0.16-dfsg-2ubuntu1.1 -> 7.0.16-dfsg-2ubuntu1.3 debdiff

** Patch added: "virtualbox_7.0.16-dfsg-2ubuntu1.3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5951418/+files/virtualbox_7.0.16-dfsg-2ubuntu1.3.debdiff

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-11 Thread John Cabaj
7.0.16-dfsg-2ubuntu1.2 -> 7.0.16-dfsg-2ubuntu1.3 debdiff

** Patch added: "virtualbox_7.0.16-dfsg-2ubuntu1.3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5951417/+files/virtualbox_7.0.16-dfsg-2ubuntu1.3.debdiff

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread John Cabaj
I have something of a reproducer and will continue to look into this.
Appreciate the info!


j-c

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Andrew Schulman
Attached output of journalctl, and VBox.log. Note that although my VMs
still crash, after rebooting I'm seeing a different error: "A critical
error has occurred while running the virtual machine and the machine
execution has been stopped."

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Andrew Schulman
** Attachment added: "VirtualBox error dialog"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5950536/+files/VBox%20error%20dialog.png

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Andrew Schulman
** Attachment added: "VBox.log"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5950535/+files/VBox.log

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Andrew Schulman
** Attachment added: "Output of 'journalctl --since '"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5950534/+files/journalctl.log

-- 
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

Re: [Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Stephen Thompson
J-c
Thanks for reaching out.
I've reverted to an earlier update. Very new to Linux. Attempting to make
sense of the bug fixes offered. Slow but steady. I will see what journal
files I can supply.

Steph

On Fri, Mar 6, 2026, 5:10 PM John Cabaj <[email protected]>
wrote:

> Andrew,
>
> Could you attach your logs here via journalctl? It would be helpful to
> see if there are other errors as well. Hoping the Debian Virtualbox Team
> can have a look.
>
>
> Thanks,
> j-c
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2142063).
> https://bugs.launchpad.net/bugs/2136499
>
> Title:
>   virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel
>
> Status in virtualbox package in Ubuntu:
>   Invalid
> Status in virtualbox source package in Noble:
>   Fix Committed
> Status in virtualbox source package in Questing:
>   Invalid
> Status in virtualbox source package in Resolute:
>   Invalid
>
> 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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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 apt install linux-generic-hwe-24.04
>
>   Install virtualbox-dkms:
>
>   $ sudo apt install virtualbox-dkms
>
>   Load the modules:
>
>   $ sudo modprobe vboxdrv
>   $ sudo modprobe vboxnetadp
>   $ sudo modprobe vboxnetflt
>
>   The same procedure must 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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread John Cabaj
Andrew,

Could you attach your logs here via journalctl? It would be helpful to
see if there are other errors as well. Hoping the Debian Virtualbox Team
can have a look.


Thanks,
j-c

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Andrew Schulman
On my host with linux-image-6.14.0-37-generic, I installed virtualbox-
dkms 7.0.16-dfsg-2ubuntu1.2. The kernel modules are successfully built,
and the installation succeeds. But all Virtualbox VMs crash on start,
with "Unable to allocate and lock memory" and "Error ID: Host Memory
Low". But I have 4837 MB free RAM, for a VM that only uses 2048 MB.

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Timo Aaltonen
Hello John, or anyone else affected,

Accepted virtualbox into noble-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/virtualbox/7.0.16-dfsg-2ubuntu1.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: virtualbox (Ubuntu Noble)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Massimiliano Pellizzer
Uploaded, thanks John

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-06 Thread Massimiliano Pellizzer
** Description changed:

  [ 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 
    |  ^~
  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 
    |  ^~
  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 
    |  ^~
  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 
    |  ^~
  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 apt install linux-generic-hwe-24.04
  
  Install virtualbox-dkms:
  
  $ sudo apt install virtualbox-dkms
  
  Load the modules:
  
  $ sudo modprobe vboxdrv
  $ sudo modprobe vboxnetadp
  $ sudo modprobe vboxnetflt
  
- The same procedure should be repeated on linux-6.8 to test for possible
+ The same procedure must 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.

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

** Also affects: virtualbox (Ubuntu Resolute)
   Importance: Undecided
   Status: Confirmed

** Changed in: virtualbox (Ubuntu Questing)
   Status: New => Invalid

** Changed in: virtualbox (Ubuntu Resolute)
   Status: Confirmed => Invalid

** Changed in: virtualbox (Ubuntu Noble)
   Status: Confirmed => In Progress

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-05 Thread John Cabaj
I have some changes working, at least building against 6.17 and 6.8 in
the debdiff above.

The packages are also built for test here if anyone would like to give
it a try - https://launchpad.net/~john-
cabaj/+archive/ubuntu/hwe-6.17-dkms

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-05 Thread John Cabaj
virtualbox_7.0.16-dfsg-2ubuntu1.1 -> virtualbox_7.0.16-dfsg-2ubuntu1.2
debdiff

** Patch added: "virtualbox_7.0.16-dfsg-2ubuntu1.2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2136499/+attachment/5950370/+files/virtualbox_7.0.16-dfsg-2ubuntu1.2.debdiff

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-05 Thread John Cabaj
** Description changed:

  [ 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
+   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 
-   |  ^~
+    47 | #include 
+   |  ^~
  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 
-   |  ^~
+    47 | #include 
+   |  ^~
  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 
-   |  ^~
+    47 | #include 
+   |  ^~
  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 
-   |  ^~
+    47 | #include 
+   |  ^~
  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
+ $ sudo apt install linux-generic-hwe-24.04
  
  Install virtualbox-dkms:
  
  $ sudo apt install virtualbox-dkms
  
  Load the modules:
  
- $ sudo modprobe
+ $ sudo modprobe vboxdrv
+ $ sudo modprobe vboxnetadp
+ $ sudo modprobe vboxnetflt
  
  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.

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-04 Thread Aaron Rainbolt
Just tried to do the Qt backport, and unfortunately it looks like the
issues with building VBox 7.2 on Noble are deeper than Qt. The linker is
throwing a fit (looks like some internal library built near the
beginning of the build process isn't being picked up for whatever
reason, I get lots of "undefined reference to" errors for basic-sounding
things like "RTPrintf"), and it's not obvious why, especially since
Oracle gets what is (AFAIK) close to the same code to build on Noble
without problems in their upstream packaging.

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-03-04 Thread Aaron Rainbolt
FWIW, I attempted the same sort of thing that John Cabaj did, and
managed to get VBox 7.0.16's kernel drivers to build against kernel
6.17. Unfortunately, I did not get it to run VMs. The patch I added to
the packaging was:

---

Index: virtualbox-7.0.16-dfsg/src/VBox/Installer/linux/Makefile-footer.gmk
===
--- virtualbox-7.0.16-dfsg.orig/src/VBox/Installer/linux/Makefile-footer.gmk
+++ virtualbox-7.0.16-dfsg/src/VBox/Installer/linux/Makefile-footer.gmk
@@ -103,6 +103,7 @@ VBOXMOD_EXT := ko
 
 # build defs
 EXTRA_CFLAGS += $(VBOXMOD_CFLAGS) $(addprefix -I,$(KERN_INCL) $(VBOXMOD_INCL)) 
$(VBOXMOD_0_KFLAGS) $(KDEBUG)
+ccflags-y += $(EXTRA_CFLAGS)
 $(VBOXMOD_0_TARGET)-y := $(VBOXMOD_OBJS)
 obj-m += $(VBOXMOD_0_TARGET).o
 
Index: virtualbox-7.0.16-dfsg/include/VBox/vmm/hm_vmx.h
===
--- virtualbox-7.0.16-dfsg.orig/include/VBox/vmm/hm_vmx.h
+++ virtualbox-7.0.16-dfsg/include/VBox/vmm/hm_vmx.h
@@ -529,9 +529,11 @@
 /** Suppress \#VE. */
 #define VMX_BF_EPT_PT_SUPPRESS_VE_SHIFT 63
 #define VMX_BF_EPT_PT_SUPPRESS_VE_MASK  
UINT64_C(0x8000)
+#if !defined(READ) && !defined(WRITE)
 RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_EPT_PT_, UINT64_C(0), UINT64_MAX,
 (READ, WRITE, EXECUTE, MEMTYPE, IGNORE_PAT, IGN_7, 
ACCESSED, DIRTY, EXECUTE_USER, IGN_59_11,
 SUPER_SHW_STACK, IGN_62_61, SUPPRESS_VE));
+#endif
 /** @} */
 
 
Index: virtualbox-7.0.16-dfsg/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
===
--- virtualbox-7.0.16-dfsg.orig/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
+++ virtualbox-7.0.16-dfsg/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
@@ -422,7 +422,11 @@ static void rtTimerLnxStopSubTimer(PRTTI
 }
 else
 #endif
+# if RTLNX_VER_MIN(6,15,0)
+timer_delete(&pSubTimer->u.Std.LnxTimer);
+#else
 del_timer(&pSubTimer->u.Std.LnxTimer);
+#endif
 
 rtTimerLnxSetState(&pSubTimer->enmState, RTTIMERLNXSTATE_STOPPED);
 }
@@ -470,7 +474,11 @@ static void rtTimerLnxDestroyIt(PRTTIMER
 hrtimer_cancel(&pTimer->aSubTimers[iCpu].u.Hr.LnxTimer);
 else
 #endif
+# if RTLNX_VER_MIN(6,15,0)
+timer_delete_sync(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer);
+#else
 del_timer_sync(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer);
+#endif
 }
 
 /*
@@ -740,7 +748,11 @@ static enum hrtimer_restart rtTimerLinux
  */
 static void rtTimerLinuxStdCallback(struct timer_list *pLnxTimer)
 {
+# if RTLNX_VER_MIN(6,16,0) || RTLNX_RHEL_RANGE(10,2, 10,99)
+PRTTIMERLNXSUBTIMER pSubTimer = timer_container_of(pSubTimer, pLnxTimer, 
u.Std.LnxTimer);
+# else
 PRTTIMERLNXSUBTIMER pSubTimer = from_timer(pSubTimer, pLnxTimer, 
u.Std.LnxTimer);
+# endif
 #else
 /**
  * Timer callback function for standard timers.
@@ -1626,8 +1638,13 @@ RTDECL(int) RTTimerCreateEx(PRTTIMER *pp
 #ifdef RTTIMER_LINUX_WITH_HRTIMER
 if (pTimer->fHighRes)
 {
+#if RTLNX_VER_MIN(6,15,0)
+hrtimer_setup(&pTimer->aSubTimers[iCpu].u.Hr.LnxTimer,
+  rtTimerLinuxHrCallback, CLOCK_MONOTONIC, 
HRTIMER_MODE_ABS);
+#else
 hrtimer_init(&pTimer->aSubTimers[iCpu].u.Hr.LnxTimer, 
CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
 pTimer->aSubTimers[iCpu].u.Hr.LnxTimer.function = 
rtTimerLinuxHrCallback;
+#endif
 }
 else
 #endif
Index: 
virtualbox-7.0.16-dfsg/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
===
--- 
virtualbox-7.0.16-dfsg.orig/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
+++ 
virtualbox-7.0.16-dfsg/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
@@ -4,7 +4,7 @@
  */
 
 /*
- * Copyright (C) 2013-2023 Oracle and/or its affiliates.
+ * Copyright (C) 2013-2025 Oracle and/or its affiliates.
  *
  * This file is part of VirtualBox base platform packages, as
  * available from https://www.virtualbox.org.
@@ -82,11 +82,11 @@ typedef struct RTTHREADCTXHOOKINT
 void   *pvUser;
 /** The linux callbacks. */
 struct preempt_ops  PreemptOps;
-#if RTLNX_VER_MIN(3,1,19) && defined(RT_ARCH_AMD64)
+# if RTLNX_VER_MIN(3,1,19) && defined(RT_ARCH_AMD64) && 
!defined(IPRT_WITHOUT_EFLAGS_AC_PRESERVING)
 /** Starting with 3.1.19, the linux kernel doesn't restore kernel RFLAGS 
during
  * task switch, so we have to do that ourselves. (x86 code is not 
affected.) */
 RTCCUINTREG fSavedRFlags;
-#endif
+# endif
 } RTTHREADCTXHOOKINT;
 typedef RTTHREADCTXHOOKINT *PRTTHREADCTXHOOKINT;
 
@@ -104,10 +104,13 @@ typedef RTTHREADCTXHOOKINT *PRTTHREADCTX
 static void rtThreadCtxHooksLnxSchedOut(struct preempt_notifier 
*pPreemptNotifier, struct task_struct *pNext)
 {
 PRTTHREADCTXHOOKINT pThis = RT_FROM_MEMBER(

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-18 Thread Curtis Schroeder
I started to implement the work-around in #8, but was unable to complete
it due to https://www.virtualbox.org/ being "Gone". What follows is my
work-around in the absence of the www.virtualbox.org site.

# remove virtualbox and virtualbox-dkms
sudo apt remove virtualbox virtualbox-dkms virtualbox-guest-additions-iso

# download appropriate .deb (Noble in my case) from:
https://www.oracle.com/virtualization/technologies/vm/downloads/virtualbox-downloads.html

# install virtualbox-7.2
sudo gdebi virtualbox-7.2_7.2.6-172322~Ubuntu~noble_amd64.deb

# download associated Guest Additions ISO:
https://download.virtualbox.org/virtualbox/7.2.6/VBoxGuestAdditions_7.2.6.iso

# remove old Guest Additions ISO and replace it with the new one
cd /usr/share/virtualbox
sudo rm VBoxGuestAdditions.iso
sudo mv ~/Downloads/VBoxGuestAdditions_7.2.6.iso /usr/share/virtualbox

# launch virtualbox from command-line (evidently no .desktop is installed by 
the new package)
virtualbox

# manually update the Guest Additions ISO in the optical media library

I think one needs to rename VBoxGuestAdditions_7.2.6.iso to
VBoxGuestAdditions.iso for it to be automatically recognized within
virtualbox, but I did not do this.

I had to reboot a second time after installing the new Guest Additions
to get the mouse capture to work correctly. Initially, it was
uncapturing the mouse upon entering the guest Windows OS task bar area.
I had to use keyboard controls to logout and reboot. After that, mouse
capture appeared to work correctly.

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-15 Thread Captain Skyhawk
@Vadim Weirdly, the virtualbox uninstall that's been mentioned here and
elsewhere didn't work for me (though I also had virtualbox installed).

I had to uninstall the "amdgpu-dkms" package and then the link in /boot/
was restored.

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-13 Thread Jill Ravaliya
I investigated the kernel panic caused by this DKMS 
failure and found a deeper systemd-level fault.

When DKMS fails, initramfs is never generated, but
systemd's 55-initrd.install silently exits 0 instead
of failing loudly — so GRUB creates an unbootable
boot entry with zero warning.

Full analysis and proposed fix filed separately:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2141741

-- 
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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-09 Thread Vadim Petryaev
Workaround, worked for me:

# remove virtualbox and virtualbox-dkms
sudo apt remove virtualbox virtualbox-dkms
# add Oracle VirtualBox source
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] 
https://download.virtualbox.org/virtualbox/debian noble contrib" | sudo tee 
/etc/apt/sources.list.d/oracle-virtualbox.list
# downloading and registering Oracle VirtualBox public key
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg 
--yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
# do apt update
sudo apt-get update
# install virtualbox-7.2
sudo apt-get install virtualbox-7.2

-- 
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

Re: [Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-09 Thread MM
Muchas gracias por su respuesta. Leida por mi parte su explicación procedo a 
desinstalar virtualbox del sistema ubuntu.
Que tenga un buen día.
Miguel.



Enviado desde un correo electrónico seguro de Proton Mail.

El lunes, 9 de febrero de 2026 a las 16:30, Daniel Zuluaga
<[email protected]> escribió:

> 
> 
> 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 
> > | ^~
> > 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 
> > | ^~
> > 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 
> > | ^~
> > 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 
> > | ^~
> > 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://b

Re: [Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-09 Thread Daniel Zuluaga
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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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 
> |  ^~
>   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/+

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-09 Thread Beurt
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 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

[Bug 2136499] Re: virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

2026-02-06 Thread Daniel Letzeisen
** Summary changed:

- virtualbox-dkms FTBS in Noble with the linux-6.17 kernel
+ virtualbox-dkms FTBFS in Noble with the linux-6.17 kernel

-- 
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