#1082157 - virtualbox: does not start VMs with kernel 6.12 - Debian Bug report logs

Debian Bug report logs - #1082157
virtualbox: does not start VMs with kernel 6.12

version graph

Package: virtualbox; Maintainer for virtualbox is Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>; Source for virtualbox is src:virtualbox (PTS, buildd, popcon).

Reported by: Tracer Tong <jhonsonmsn@gmail.com>

Date: Wed, 18 Sep 2024 20:42:01 UTC

Severity: important

Found in version virtualbox/7.0.20-dfsg-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, jhonsonmsn@gmail.com, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>:
Bug#1082157; Package virtualbox. (Wed, 18 Sep 2024 20:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Tracer Tong <jhonsonmsn@gmail.com>:
New Bug report received and forwarded. Copy sent to jhonsonmsn@gmail.com, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>. (Wed, 18 Sep 2024 20:42:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Tracer Tong <jhonsonmsn@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: virtualbox: VM's no longer start after update in last few days on Stable and Sid
Date: Wed, 18 Sep 2024 14:38:31 -0600
Package: virtualbox
Version: 7.0.20-dfsg-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: jhonsonmsn@gmail.com

Dear Maintainer,

Hear are some errors that seem to be at play I had some similar issues on sid a
few months back and was able to fix somehow I can't figure out what it was I
did but the fixes I've tried have all fail this time and it fails on my stable
machine as well both running 12.7

"unable to enumerate usb devices"

"The virtual machine '*******' has terminated unexpectedly during startup with
exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
MachineWrap
Interface:
IMachine {300763af-5d6b-46e6-aa96-273eac15538a}"

"The VirtualBox Linux kernel driver is either not loaded or not set up
correctly. Please reinstall virtualbox-dkms package and load the kernel module
by executing

'modprobe vboxdrv'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel
modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them.
Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support
driver is not installed. On linux, open returned ENOENT."

running said comand dosn't fix the issue on any machine I try it on.

also /sbin/vboxconfig issue from seems to be at play as well as some lib issues
as far as I can tell could be more I'm not sure.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualbox depends on:
ii  adduser                               3.137
ii  iproute2                              6.10.0-2
ii  libc6                                 2.40-2
ii  libcurl3t64-gnutls                    8.10.0-2
ii  libdevmapper1.02.1                    2:1.02.196-1+b1
ii  libgcc-s1                             14.2.0-5
ii  libgl1                                1.7.0-1+b1
ii  libgsoap-2.8.132t64                   2.8.132-3
ii  liblzf1                               3.6-4+b1
ii  libpng16-16t64                        1.6.44-1
ii  libsdl2-2.0-0                         2.30.7+dfsg-1
ii  libssl3t64                            3.3.2-1
ii  libstdc++6                            14.2.0-5
ii  libtpms0                              0.9.2-3.1+b1
ii  libvncserver1                         0.9.14+dfsg-1+b1
ii  libvpx9                               1.14.1-1
ii  libx11-6                              2:1.8.7-1+b1
ii  libxml2                               2.12.7+dfsg-3+b1
ii  libxt6t64                             1:1.2.1-1.2
ii  procps                                2:4.0.4-5
ii  python3                               3.12.6-1
ii  python3.12                            3.12.6-1
ii  virtualbox-dkms [virtualbox-modules]  7.0.20-dfsg-1
ii  zlib1g                                1:1.3.dfsg+really1.3.1-1

Versions of packages virtualbox recommends:
ii  libqt5core5t64     5.15.13+dfsg-4
ii  libqt5gui5t64      5.15.13+dfsg-4
ii  libqt5opengl5t64   5.15.13+dfsg-4
ii  libqt5widgets5t64  5.15.13+dfsg-4
ii  libxcb1            1.17.0-2
ii  libxcursor1        1:1.2.2-1
ii  libxext6           2:1.3.4-1+b1
ii  virtualbox-qt      7.0.20-dfsg-1

Versions of packages virtualbox suggests:
ii  vde2                            2.3.2+r586-11
ii  virtualbox-guest-additions-iso  7.0.20-1



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>:
Bug#1082157; Package virtualbox. (Mon, 30 Dec 2024 04:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Luke Farris <farrisluke8@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>. (Mon, 30 Dec 2024 04:33:02 GMT) (full text, mbox, link).


Message #10 received at 1082157@bugs.debian.org (full text, mbox, reply):

From: Luke Farris <farrisluke8@gmail.com>
To: 1082157@bugs.debian.org
Subject: I am also affected by this bug
Date: Sun, 29 Dec 2024 23:31:31 -0500
[Message part 1 (text/plain, inline)]
Hi, just like to chime in that I'm also affected by this bug. I upgraded
from Bookworm to Sid about a week ago, and virtualbox stopped working after
that point. I re-installed virtualbox through the package in Sid instead of
through Oracle's deb repo, and it still doesn't work.

the error I have is a bit different:

> VirtualBox can't operate in VMX root mode. Please disable the KVM kernel
> extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).
>
Result Code:
>
> NS_ERROR_FAILURE (0X80004005)
>
> Component:
>
> ConsoleWrap
>
> Interface:
>
> IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
>

 I am running kernel 6.12.6-amd64, and my user is part of the vboxusers
group. This is my first time here on the bug tracker, so if anyone wants to
ask for more system specs info from me that could be useful, I'll do so; I
don't know exactly what info I should provide.
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>:
Bug#1082157; Package virtualbox. (Sun, 12 Jan 2025 17:42:01 GMT) (full text, mbox, link).


Acknowledgement sent to Francesco C <fc.linuxuser@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>. (Sun, 12 Jan 2025 17:42:02 GMT) (full text, mbox, link).


Message #15 received at 1082157@bugs.debian.org (full text, mbox, reply):

From: Francesco C <fc.linuxuser@gmail.com>
To: 1082157@bugs.debian.org
Subject: Re : virtualbox: VM's no longer start after update in last few days on Stable and Sid
Date: Sun, 12 Jan 2025 18:38:37 +0100
It's a problem with linux 6.12.x , also described in the virtualbox forum.

The workaround given on the forum is to start linux by appending
"kvm.enable_virt_at_load=0" to the command line.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>:
Bug#1082157; Package virtualbox. (Fri, 31 Jan 2025 12:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Tobias Frost <tobi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>. (Fri, 31 Jan 2025 12:45:02 GMT) (full text, mbox, link).


Message #20 received at 1082157@bugs.debian.org (full text, mbox, reply):

From: Tobias Frost <tobi@debian.org>
To: 1082157@bugs.debian.org
Subject: Re: virtualbox: VM's no longer start after update in last few days on Stable and Sid
Date: Fri, 31 Jan 2025 13:42:40 +0100
Control: severity -1 important

I've added the following NEWs entry for the pending NMU, so user will
get the information what they need to do, so the severity of this bug
can be reduced, or (at the maintainers decission) this bug be closed.

virtualbox (7.0.20-dfsg-1.2) unstable; urgency=medium

  In kernel 6.12, KVM initializes virtualization on module loading by
default.
  This prevents VirtualBox VMs from starting. In order to avoid this,
either add
  "kvm.enable_virt_at_load=0" parameter into kernel command line or
unload
  the corresponding kvm_XXX module.

 -- Tobias Frost <tobi@debian.org>  Fri, 31 Jan 2025 12:01:32 +0100






Severity set to 'important' from 'grave' Request was from Tobias Frost <tobi@debian.org> to 1082157-submit@bugs.debian.org. (Fri, 31 Jan 2025 12:45:02 GMT) (full text, mbox, link).


Changed Bug title to 'virtualbox: does not start VMs with kernel 6.12' from 'virtualbox: VM's no longer start after update in last few days on Stable and Sid'. Request was from Tobias Frost <tobi@debian.org> to control@bugs.debian.org. (Fri, 31 Jan 2025 12:54:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>:
Bug#1082157; Package virtualbox. (Sat, 08 Feb 2025 11:39:01 GMT) (full text, mbox, link).


Acknowledgement sent to Slavko <linux@slavino.sk>:
Extra info received and forwarded to list. Copy sent to Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>. (Sat, 08 Feb 2025 11:39:01 GMT) (full text, mbox, link).


Message #29 received at 1082157@bugs.debian.org (full text, mbox, reply):

From: Slavko <linux@slavino.sk>
To: 1082157@bugs.debian.org
Subject: Re: virtualbox: VM's no longer start after update in last few days on Stable and Sid
Date: Sat, 8 Feb 2025 12:29:04 +0100
Hi,

On Fri, 31 Jan 2025 13:42:40 +0100 Tobias Frost <tobi@debian.org> wrote:
> I've added the following NEWs entry for the pending NMU, so user will
> get the information what they need to do, so the severity of this bug
> can be reduced, or (at the maintainers decission) this bug be closed.

IMO, better solution would be to install file in /etc/modprobe.d with:

    options kvm     enable_virt_at_load=0

I don't like to modify GRUB config for that, it is prone to forget
about it and it will reside there even on virtualbox uninstall (ot when
become unneeded for any other reason).

I tried it and it works, while i must to reboot, but perhaps i didn't
unload all related modules (only kvm*).

I suggest to mention that file somewhere, first in NEWS file, but
README.Debian can be good place too, and of course add appropriate
comments into that file...

regards

-- 
Slavko
https://www.slavino.sk



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Mar 31 07:17:58 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.