VirtualBox error if kernel module loader in /boot/loader.conf (WAS Re: Loading kernel modules for virtualbox via script)

Leslie Jensen leslie at eskk.nu
Tue Dec 22 23:20:43 UTC 2009



> This is a known problem for a while but I think it's almost microscopic.
>
>
> Just place the following script in /usr/local/etc/rc.d/vboxkos
>
> -----------------------------------
> #!/bin/sh
> echo ' VirtualBox'
> /sbin/kldload vboxnetflt
> /sbin/kldload vboxnetadp<- optional
> ------------------------------------
>
> and take vboxnetflt_load="YES" out of loader.conf.
> Load only vboxdrv.ko there !
>
> The modules will be loaded late enough and everything will work.

I placed the vboxkos script as you described, set the same owner and 
group and rights as the files already present. Unfortunately the 
vboxnetflt module did not get loaded.

/Les


More information about the freebsd-emulation mailing list