Loading kernel modules for virtualbox via script

Rolf Nielsen listreader at lazlarlyricon.com
Mon Dec 21 16:35:44 UTC 2009


Leslie Jensen wrote:
> 
> Following the suggestion here:
> http://forums.freebsd.org/showpost.php?p=45664&postcount=5
> 
> To load two kernel modules via a script in /etc/rc.d/
> 
> Produces the following:
> 
> WARNING: Ignoring old-style startup script /etc/rc.d/
> 
> I found the answer here:
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=2896643&group_id=151951&atid=782616 
> 
> 
> 
> I would like a suggestion on how to load the modules!
> 
> Thanks
> 
> /Leslie
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> 

Can't you load the modules from /boot/loader.conf? AFAIK VirtualBox 
places its modules in /boot/modules, which makes them loadable by 
load_modulename="YES" in /boot/loader.conf, where modulename should be 
replaced by the filename of the module(s), omitting the leading path and 
the .ko suffix, e.g. nvidia_load=YES" loads /boot/modules/nvidia.ko.


More information about the freebsd-questions mailing list