Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2016 11:45:52 +0100
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: Upgrading to VirtualBox 5
Message-ID:  <20160724104552.GD70150@in-addr.com>
In-Reply-To: <alpine.BSF.2.20.1607240354050.42178@wonkity.com>
References:  <alpine.BSF.2.20.1607240354050.42178@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160724104552.GD70150>