Upgrading to VirtualBox 5

Gary Palmer gpalmer at freebsd.org
Sun Jul 24 10:45:55 UTC 2016


On Sun, Jul 24, 2016 at 04:12:08AM -0600, Warren Block wrote:
> Before upgrading to the new VirtualBox 5 port, check UPDATING and back 
> up existing VMs.
 
Generic advice or has something been added?  I just checked and
could not find any virtualbox 5 related news

> Attempting to run an old VM without unloading the old VirtualBox kernel 
> module (vboxdrv) and loading the new version produces this error:
> 
>    RTR3InitEx failed with rc=-1912(rc=-1912)
> 
>    where: supR3HardenedMainInitRuntime what: 4
>    VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed
>    support driver doesn't match the version of the user.
> 
> 'kldunload vboxdrv && kldload vboxdrv' *should* work, but the error 
> might prevent that and require a reboot to load the new version.

Before doing the upgrade it would probably be best to run

service vboxheadless stop ; service vboxnet stop ; service vboxwatchdog stop ; service vboxwebsrv stop

That should unload the vbox 4 kernel modules.  Check with kldstat and try
to manually unload any remaining modules prior to trying vbox 5.
 
> After getting the new kernel module loaded, update the Guest Additions 
> in the VMs.

Thanks,

Gary


More information about the freebsd-emulation mailing list