Ever since I started using kernel 6.12.0-rcx-1-MANJARO I have been having an issue with Virtualbox.
I get the error Can’t operate in VMX root mode
So before I start virtualbox with this kernel I have to run the following command:
sudo modprobe -r kvm-intel
And then Virtualbox works.
Is there a setting I am missing.
6.11 kernel works as expected.
I figured because it is a rc kernel that might be the reason.
This could well be the case. I’d suggest sticking to one that works until linux612 is updated again, then re-test. Being a RC (assuming it is, judging by the name) it won’t be fully optimized or necessarily have all the needed modules yet.
It is a new kernel series and is also a new set of packages. There is no harm done having it in all branches. Fixes from RC development cycles get backported to stable kernels anyway. So you will have similar set of patches in all series.
In my case “kvm.enable_virt_at_load=0″ kernel parameter in GRUB worked
“In [Linux] kernel 6.12, KVM initializes virtualization on module
loading by default. This prevents VirtualBox VMs from starting,”
said the devs. “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.”