Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Not able to launch VirtualBox VM if KVM is enabled
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 726
Location: San Diego, CA

PostPosted: Wed Aug 28, 2024 11:39 pm    Post subject: [Solved] Not able to launch VirtualBox VM if KVM is enabled Reply with quote

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
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 657
Location: Los Angeles

PostPosted: Fri Sep 20, 2024 2:38 am    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 726
Location: San Diego, CA

PostPosted: Sun Sep 22, 2024 3:43 am    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 726
Location: San Diego, CA

PostPosted: Fri Sep 27, 2024 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum