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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Jul 2016, Gary Palmer wrote:

> 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

Just generic.  The post started out as a request for help with a list of 
what had been tried, then I realized the issue and thought it might be 
helpful to others.

>> 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.

Agreed.

>> 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?alpine.BSF.2.20.1607240515090.44914>