Hi all…
I’m not quite a Linux newbie, but this one has me stumped. Can anyone help me out here…
I want to run an old copy of Windows XP in a virtual box, under openSUSE:
The crazy thing is, this used to work! But now (I think after a kernel update), whenever I try to start any VM in VirtualBox, I get this error message (from VirtualBox itself, before it even tries to start a VM):
VERR_VM_DRIVER_OPEN_ERROR (rc=-1911)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing /sbin/vboxconfig as root.
Well, the command sudo /sbinvboxconfig wants me to stop vboxdrv.service.
So I do “systemctl stop vboxdrv.service”…
<rkruse@suse:~$ sudo systemctl stop vboxdrv.service
[sudo] password for root:
rkruse@suse:~$
I.e. nothing happens.
Yes, the module appears to be loaded:
<rkruse@suse:~$ lsmod | grep vbox
vboxdrv 679936 1
Yes, I’m a member of the vboxusers group:
<rkruse@suse:~$ groups
rkruse vboxusers
I think there’s something wrong with vboxdrv. It seems to be loaded, but the command systemctl status vboxdrv.service then shows this ominous-looking message:
<rkruse@suse:~$ sudo systemctl status vboxdrv.service
[sudo] password for root:
○ vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; disabled; preset: disabled)
Active: inactive (dead) since Wed 2023-04-19 10:10:31 CDT; 30min ago
Process: 707 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=killed, signal=TERM)
Tasks: 1 (limit: 4652)
CPU: 653ms
CGroup: /system.slice/vboxdrv.service
└─886 /usr/sbin/modprobe vboxdrv
Apr 19 10:08:25 suse systemd[1]: Starting VirtualBox Linux kernel module…
Apr 19 10:08:26 suse vboxdrv.sh[707]: vboxdrv.sh: Starting VirtualBox services.
Apr 19 10:08:26 suse vboxdrv.sh[707]: /usr/lib/virtualbox/vboxdrv.sh: line 203: 876 Killed
Apr 19 10:08:26 suse vboxdrv.sh[878]: Kernel modules are loaded, unload them via
Apr 19 10:08:26 suse vboxdrv.sh[878]: systemctl stop vboxdrv.service if you wish to rebuild them.
Apr 19 10:08:26 suse vboxdrv.sh[878]: Quitting …
Apr 19 10:10:31 suse systemd[1]: vboxdrv.service: Deactivated successfully.
Apr 19 10:10:31 suse systemd[1]: vboxdrv.service: Unit process 886 (modprobe) remains running after
Apr 19 10:10:31 suse systemd[1]: Stopped VirtualBox Linux kernel module.
The clue is probably in here somewhere. If I do “systemctl start vboxdrv.service”, the result is another long timeout and the same status condition.
I’m at my wit’s end! Any suggestions as to what’s wrong, and to help me fix this?
Thanks!
-Richard