Problem with virtual machines: "The VMMR0.r0 module version does not match VBoxVMM.dll/so/dylib"

Discussions related to using VirtualBox on Linux hosts.
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Problem with virtual machines: "The VMMR0.r0 module version does not match VBoxVMM.dll/so/dylib"

Post by fth0 »

Then I'd guess that you can only get rid of the "VMMR0.r0-zombie in the kernel" when rebooting the host in the next maintenance
interval.
mucm
Posts: 1
Joined: 26. Mar 2024, 14:57

Re: Problem with virtual machines: "The VMMR0.r0 module version does not match VBoxVMM.dll/so/dylib"

Post by mucm »

In my case I got this error after normal "apt update" "apt upgrade" etc, this upgraded me to 6.1.50, I suspect from previous comments that I was at 6.1.38 before that but I didn't exactly check. This on Linux Mint 20, which is mostly like Ubuntu 20.04 (focal).

I got the above stated error when starting a VM, and I also was not able to do a full reboot of the host. But the above comment "two processes seem to continue to run which may be related to VirtualBox and which I cannot kill" was very helpful. I looked in the process list:

Code: Select all

# ps -elf |grep -i -e virt -e vbox
1 I root        1716       2  0  60 -20 -     0 rescue  2023 ?        00:00:00 [iprt-VBoxWQueue]
5 S root        1753       2  0  80   0 -     0 rtR0Se  2023 ?        00:00:01 [iprt-VBoxTscThr]
0 S root      905675  899459  0  80   0 -  2225 pipe_w 08:47 pts/5    00:00:00 grep --color=auto -i -e virt -e vbox
0 S alex     1853561       1  0  80   0 - 18663 poll_s Feb05 ?        00:22:42 /usr/lib/virtualbox/VBoxXPCOMIPCD
0 S alex     1853567       1  0  80   0 - 221923 futex_ Feb05 ?       01:05:23 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
This reminded me to check

Code: Select all

systemctl status virtualbox
and stop it and start it. After that my VM started normally. Note I do this all with VBoxManage, no GUI.

Code: Select all

/usr/bin/VBoxManage startvm VirtMachineName --type headless
.
Post Reply