virtualbox-ose-kmod rc scripts

Warren Block wblock at wonkity.com
Mon May 26 14:25:53 UTC 2014


On Mon, 26 May 2014, Bernhard Fröhlich wrote:

> Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" <des at des.no>:
>>
>> First of all, why is there a vboxnet rc script but not a vboxdrv rc
>> script?
>>
>> Second, there is already support in /etc/rc.subr for checking whether a
>> module is loaded, and loading it if it isn't.  Search for load_kld.
>> There is no unload_kld, but IMHO you can just "kldunload" blindly.
>
> The vboxdrv module needs to be loaded via loader.conf or it can cause
> kernel panics. There are also some features that don't work properly if I
> remember correctly because of the startup order of startscripts so we can't
> use a rc script.

Does it still do that?  Or maybe only on i386?  I've been reloading it 
after a rebuild for a long time now without problems, but maybe that was 
because it was on amd64 or just luck.


More information about the freebsd-emulation mailing list