The existing patch at 
https://github.com/rpmfusion/VirtualBox-kmod/commit/ec4795b37621
has been backported to our version of the virtualbox repo.

The kernel module builds and modpost correctly on both kernel 6.19 and
7.0

autopkgtest results
===========================================================================

I: Summary:
I: PASS virtualbox-source 6.19.0-9-generic
I: PASS virtualbox-source 7.0.0-3-generic
autopkgtest [16:44:53]: test m-a-autopkgtest: -----------------------]
autopkgtest [16:44:54]: test m-a-autopkgtest:  - - - - - - - - - - results - - 
- - - - - - - -
m-a-autopkgtest      PASS (superficial)

Building module(s).... done.
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxdrv/vboxdrv.ko
/usr/sbin/dkms: line 1524: zstd: command not found
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxnetadp/vboxnetadp.ko
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxnetflt/vboxnetflt.ko
/usr/sbin/dkms: line 1524: zstd: command not found
/usr/sbin/dkms: line 1524: zstd: command not found
Installing /lib/modules/7.0.0-3-generic/updates/dkms/vboxdrv.ko
Installing /lib/modules/7.0.0-3-generic/updates/dkms/vboxnetadp.ko
Installing /lib/modules/7.0.0-3-generic/updates/dkms/vboxnetflt.ko
Running depmod... done.
I: Testing if virtualbox modules are correctly installed.
virtualbox/7.2.6, 7.0.0-3-generic, x86_64: installed
virtualbox/7.2.6/7.0.0-3-generic/x86_64/log/make.log
virtualbox/7.2.6/6.19.0-9-generic/x86_64/log/make.log
I: Summary:
I: PASS virtualbox/7.2.6 6.19.0-9-generic
I: PASS virtualbox/7.2.6 7.0.0-3-generic
autopkgtest [16:53:12]: test dkms-autopkgtest: -----------------------]
autopkgtest [16:53:12]: test dkms-autopkgtest:  - - - - - - - - - - results - - 
- - - - - - - -
dkms-autopkgtest     PASS (superficial)
autopkgtest [16:53:13]: @@@@@@@@@@@@@@@@@@@@ summary
m-a-autopkgtest      PASS (superficial)
dkms-autopkgtest     PASS (superficial)
===========================================================================

I pushed the modified package to a personal PPA:
https://launchpad.net/~alessiofaina/+archive/ubuntu/virtualbox-dkms-lp2143821

and tested in a testflinger Resolute machine where I installed xfce4 and
a VNC remote access.

After gaining access and installing virtualbox from the personal PPA, I
managed to run Virtualbox with and without guest additions, running in
the VM Ubuntu 24.04 and Ubuntu 25.10 server.

Adding a portion of the installation of the virtualbox package
===========================================================================
ubuntu@riolu:~$ sudo apt install virtualbox

.....

Get:18 
https://ppa.launchpadcontent.net/alessiofaina/virtualbox-dkms-lp2143821/ubuntu 
resolute/main amd64 virtualbox amd64 7.2.6-dfsg-3ubuntu1 [32.2 MB]
Get:19 
https://ppa.launchpadcontent.net/alessiofaina/virtualbox-dkms-lp2143821/ubuntu 
resolute/main amd64 virtualbox-qt amd64 7.2.6-dfsg-3ubuntu1 [26.3 MB]

....

Setting up virtualbox-dkms (7.2.6-dfsg-3ubuntu1) ...
Loading new virtualbox/7.2.6 DKMS files...
Building for 6.19.0-9-generic and 7.0.0-5-generic

Building initial module virtualbox/7.2.6 for 6.19.0-9-generic
Sign command: /usr/bin/kmodsign
Certificate or key are missing, generating them using 
update-secureboot-policy...
Secure Boot not enabled on this system.
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module(s)....... done.
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxdrv/vboxdrv.ko
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxnetadp/vboxnetadp.ko
Signing module /var/lib/dkms/virtualbox/7.2.6/build/vboxnetflt/vboxnetflt.ko
Installing /lib/modules/6.19.0-9-generic/updates/dkms/vboxdrv.ko.zst
Installing /lib/modules/6.19.0-9-generic/updates/dkms/vboxnetadp.ko.zst
Installing /lib/modules/6.19.0-9-generic/updates/dkms/vboxnetflt.ko.zst
Running depmod..... done.
....
Scanning processes...                                                           
                                                  
Scanning processor microcode...                                                 
                                                  
Scanning linux images...                                                        
                                                  

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
ubuntu@riolu:~$ dkms status
virtualbox/7.2.6, 6.19.0-9-generic, x86_64: installed
virtualbox/7.2.6, 7.0.0-5-generic, x86_64: installed
===========================================================================

Adding a portion of the host dmesg while running Ubuntu 24.04
===========================================================================
[ 1175.073703] kvm_amd: CPU 10 isn't AMD or Hygon
[ 1175.139334] vboxdrv: loading out-of-tree module taints kernel.
[ 1175.139352] vboxdrv: module verification failed: signature and/or required 
key missing - tainting kernel
[ 1175.169746] vboxdrv: Found 24 processor cores/threads
[ 1175.320619] rtR0InitNative: g_pLnxInitMm=00000000b476f150
[ 1175.336716] vboxdrv: Found extra KVM hardware-virtualization symbols
[ 1175.351256] vboxdrv: Found KVM hardware-virtualization symbols
[ 1175.351267] vboxdrv: TSC mode is Invariant, tentative frequency 2597016369 Hz
[ 1175.351277] vboxdrv: Successfully loaded version 7.2.6_Ubuntu r172322 
(interface 0x00340002)
[ 1175.373700] kvm_amd: CPU 22 isn't AMD or Hygon
[ 1175.399943] VBoxNetFlt: Successfully started.
[ 1175.422782] kvm_amd: CPU 3 isn't AMD or Hygon
[ 1175.450204] VBoxNetAdp: Successfully started.
[ 1439.414046] SUPR0GipMap: fGetGipCpu=0x1b
[ 1440.973375] vboxdrv: Enabled hardware-virtualization using KVM
[ 1440.973819] vboxdrv: 0000000000000000 VMMR0.r0
[ 1441.176774] vboxdrv: 0000000000000000 VBoxDDR0.r0
[ 1441.310006] vboxdrv: Enabled hardware-virtualization using KVM
===========================================================================

Adding a portion of the guest dmesg while running Ubuntu 24.04
===========================================================================
[    0.000000] Linux version 6.17.0-14-generic (buildd@lcy02-amd64-067) 
(x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU 
Binutils for Ubuntu) 2.42) #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 15 
15:52:10 UTC 2 (Ubuntu 6.17.0-14.14~24.04.1-generic 6.17.9)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.17.0-14-generic 
root=UUID=5715b836-144b-4b09-8b3b-39b3c7be5103 ro quiet splash
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Hygon HygonGenuine
[    0.000000]   Centaur CentaurHauls
[    0.000000]   zhaoxin   Shanghai  
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dffeffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000dfff0000-0x00000000dfffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000021fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.5 present.
[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 
12/01/2006
[    0.000000] DMI: Memory slots populated: 0/0
[    0.000000] Hypervisor detected: KVM

....

[    0.991965] usb 2-1: new full-speed USB device number 2 using ohci-pci
[    1.252015] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021, 
bcdDevice= 1.00
[    1.252028] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[    1.252033] usb 2-1: Product: USB Tablet
[    1.252037] usb 2-1: Manufacturer: VirtualBox

....

[   11.707499] [drm] Initialized vmwgfx 2.21.0 for 0000:00:02.0 on minor 0
[   11.710004] fbcon: vmwgfxdrmfb (fb0) is primary device
[   11.710165] Console: switching to colour frame buffer device 160x50
[   11.710180] vmwgfx 0000:00:02.0: [drm] fb0: vmwgfxdrmfb frame buffer device
[   12.577288] vboxguest: loading out-of-tree module taints kernel.
[   12.577304] vboxguest: module verification failed: signature and/or required 
key missing - tainting kernel
[   12.815833] rtR0InitNative: g_pLnxInitMm=000000005786aeab
[   12.817693] vgdrvHeartbeatInit: Setting up heartbeat to trigger every 2000 
milliseconds
[   12.817935] Host supports full mouse state reporting, switching to extended 
mouse integration protocol
[   12.818055] input: VirtualBox mouse integration as 
/devices/pci0000:00/0000:00:04.0/input/input7
[   12.819831] vboxguest: Successfully loaded version 7.2.6 r172322
[   12.819973] vboxguest: misc device minor 261, IRQ 20, I/O port d040, MMIO at 
00000000f0400000 (size 0x400000)
[   12.820060] vboxguest: Successfully loaded version 7.2.6 r172322 (interface 
0x00010004)
[   13.824341] snd_intel8x0 0000:00:05.0: allow list rate for 1028:0177 is 48000
[   17.217428] loop9: detected capacity change from 0 to 8
[   18.135217] kauditd_printk_skb: 143 callbacks suppressed
[   18.135224] audit: type=1400 audit(1773157810.041:155): apparmor="STATUS" 
operation="profile_replace" profile="unconfined" 
name="/usr/lib/snapd/snap-confine" pid=1195 comm="apparmor_parser"
[   18.143842] audit: type=1400 audit(1773157810.052:156): apparmor="STATUS" 
operation="profile_replace" profile="unconfined" 
name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1195 
comm="apparmor_parser"
[   18.884251] 15:50:10.793800 main     VBoxService 7.2.6 r172322 (verbosity: 
0) linux.amd64 (Jan 15 2026 17:07:07) release log
               15:50:10.793805 main     Log opened 
2026-03-10T15:50:10.793778000Z
[   18.884344] 15:50:10.793971 main     OS Product: Linux
[   18.884396] 15:50:10.794036 main     OS Release: 6.17.0-14-generic
[   18.884444] 15:50:10.794085 main     OS Version: #14~24.04.1-Ubuntu SMP 
PREEMPT_DYNAMIC Thu Jan 15 15:52:10 UTC 2
[   18.884500] 15:50:10.794132 main     Executable: 
/opt/VBoxGuestAdditions-7.2.6/sbin/VBoxService
               15:50:10.794134 main     Process ID: 1219
               15:50:10.794135 main     Package type: LINUX_64BITS_GENERIC
[   18.928514] 15:50:10.838072 main     7.2.6 r172322 started. Verbose level = 0
[   18.931361] 15:50:10.840943 main     
vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)
[   19.062417] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 
g_uSfLastFunction=29
[   19.063141] vboxsf: Successfully loaded version 7.2.6 r172322
[   19.063279] vboxsf: Successfully loaded version 7.2.6 r172322 on 
6.17.0-14-generic (LINUX_VERSION_CODE=0x61109)

...
===========================================================================


Full host and guest dmesg files will be attached in the following comments.

** Patch added: "dkms_resolute.patch"
   
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2143821/+attachment/5951356/+files/dkms_resolute.patch

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

Title:
  Virtualbox-dkms doesn't compile in Resolute 6.19 and 7.0

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


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

Reply via email to