On 5/22/25 11:45, John Thompson via AlmaLinux Users wrote:
> My almalinux-9.6 just updated to kernel 5.14.0-570.12.1.el9_6.x86_64 #1
> and Virtualbox can no longer load my virtual machines, failing with this
> error:
>
> VirtualBox can't operate in VMX root mode. Please disable the KVM kernel
> extension, recompile your kernel and reboot
>
> Anybody else seeing this?
Following up on this, using rmmod to unload the kvm and kvm_intel kernel
modules allows VirtualBox to load my virtual machines, but that still
begs the question "why did this happen?" Looking at the .config files
for the current and older kernels I have on my almalinux machine
(5.14.0-503.38.1.el9_5.x86_64, 5.14.0-503.40.1.el9_5.x86_64, and
5.14.0-570.12.1.el9_6.x86_64), I see that CONFIG_X86_VMX_FEATURE_NAMES=y
and CONFIG_VMXNET3=m are set in all of them, so why does it fail with
VirtualBox only in the latest kernel?
And does almalinux support a module blacklist in /etc/modprobe.d to
prevent the kvm modules from loading in future reboots?
--
-John (JohnDThompson(a)gmail.com)
Appleton, WI USA