View previous topic :: View next topic |
Author |
Message |
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Wed Aug 28, 2024 11:39 pm Post subject: [Solved] Not able to launch VirtualBox VM if KVM is enabled |
|
|
If I enable KVM in the kernel, VirtualBox VM doesn't start. If I disable KVM, all is well.
Code: | --- Virtualization
<M> Kernel-based Virtual Machine (KVM) support
< > KVM for Intel (and compatible) processors support (NEW)
<M> KVM for AMD processors support
[*] System Management Mode emulation (NEW)
[ ] Support for Xen hypercall interface (NEW) |
Code: | [~/.VirtualBox/VBoxSVC.log]
00:00:31.750429 nspr-5 Launched VM: 2013276464 pid: 4450 (0x1162) frontend: GUI/Qt name: Linux
00:00:31.766795 nspr-5 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={300763af-5d6b-46e6-aa96-273eac15538a} aComponent={MachineWrap} aText={The machine is not mutable (state is PoweredOff)}, preserve=false aResultDetail=0
00:00:31.767854 nspr-5 Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE |
I see "Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE", but I see that even when it's working fine, so I'm not sure that is the cause of the problem. Setting VM's acceleration to "None" resulted in the same failure.
I'd appreciate any suggestions on how to solve the issue.
__
sol
Last edited by solamour on Fri Sep 27, 2024 4:51 pm; edited 1 time in total |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 657 Location: Los Angeles
|
Posted: Fri Sep 20, 2024 2:38 am Post subject: |
|
|
I was having the same problem, downgrading from 7.1.0 to 7.0.20 or earlier resolved the issue for me. Not sure what the root cause is. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Sun Sep 22, 2024 3:43 am Post subject: |
|
|
Indeed. Portage currently doesn't have "7.0.20", and the next lower version is "6.1.50", which does work even with KVM enabled. I'm going to check "7.1.0" when it becomes stable.
__
sol |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Fri Sep 27, 2024 4:51 pm Post subject: |
|
|
I just noticed that "7.1.0" is marked as "testing" and "7.0.20" is available as "stable". I installed "7.0.20", and it's working as expected, even with KVM enabled. Now I can run both QEMU/libvirt and VirtualBox side by side. Thanks everyone for taking time to share your thoughts.
__
sol |
|
Back to top |
|
|
|