Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 10:52:42 +0100
From:      Leslie Jensen <leslie@eskk.nu>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Loading kernel modules for virtualbox via script
Message-ID:  <4B3096EA.2070400@eskk.nu>
In-Reply-To: <6201873e0912211537q3742aab4x9391de392d15bba9@mail.gmail.com>
References:  <alpine.BSF.2.00.0912202157330.32571@fledge.watson.org>	 <4B2F60BA.7010002@bsdforen.de> <4B2FF8A0.8080009@eskk.nu> <6201873e0912211537q3742aab4x9391de392d15bba9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>
> I have this in my crontab
>
> @reboot                                 root    /sbin/kldload
> /boot/modules/vboxnetflt.ko
>
>
>
> --
> Adam Vande More

Thanks for the answer!
The problem is that I understood that vboxnetflt.ko should be loaded 
before vboxnetadp.ko

I load vboxnetflt.ko in /boot/loader.conf and load vboxnetadp.ko 
manually after I've logged in.

I tried to load vboxnetadp.ko via crontab but Virtualbox came up with 
the error.

If I unload both modules and load them again manually, vboxnetflt.ko 
first. Then it works!

I can manage this, but I was looking for a way to do it automagically :-)

I've seen that if vboxnetadp.ko is loaded first it loads vboxnetflt.ko 
as well.

So what if the "dependency" was reversed? Then only vboxnetflt.ko had to 
be loaded and it could load vboxnetadp.ko.

/Leslie




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