Re: virtualbox-ose-kmod rc scripts

2014-05-28 Thread Bernhard Fröhlich
On Mon, May 26, 2014 at 4:25 PM, Warren Block wrote: > On Mon, 26 May 2014, Bernhard Fröhlich wrote: > >> Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" : >>> >>> >>> First of all, why is there a vboxnet rc script but not a vboxdrv rc >>> script? >>> >>> Second, there is already support in /etc

Re: virtualbox-ose-kmod rc scripts

2014-05-26 Thread Warren Block
On Mon, 26 May 2014, Bernhard Fröhlich wrote: Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" : 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.

Re: virtualbox-ose-kmod rc scripts

2014-05-26 Thread Dag-Erling Smørgrav
Bernhard Fröhlich writes: > The vboxdrv module needs to be loaded via loader.conf or it can cause > kernel panics. Hmm, details? I might look into it (although I won't really have time until late June). I loaded it manually after installation and have three VMs running now, one of which complet

Re: virtualbox-ose-kmod rc scripts

2014-05-25 Thread Bernhard Fröhlich
Am 26.05.2014 01:49 schrieb "Dag-Erling Smørgrav" : > > 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 unloa

virtualbox-ose-kmod rc scripts

2014-05-25 Thread Dag-Erling Smørgrav
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. DES -- Dag-Er