Boot Loader Conf

Gary Jennejohn gljennjohn at googlemail.com
Tue Dec 20 10:01:23 UTC 2011


tomdean wrote:
> FreeBSD 9.0 (RC2) amd64. up-to-date.
> 
> I want to load a module, nvidia, on boot.
> 
> /boot/loader.rc contains
>   include /boot/loader.4th
>   start
> 
> /boot/loader.conf contains
>   cpuctl_load="YES"
>   nvidia_load="YES"
> 
> /boot/modules/ directory contains
> nvidia.ko
> /boot/kernel/ directory contains
> cpuctl.ko
> 
> But, the modules are not loaded.
> 
> What am I missing?

There's no cpuctl_load or nvidia_load in /boot/defaults/loader.conf in
9.0 or 10.0 (I looked at the source on fxr.watson.org for 9.0 since I
run 10.0).  So there's no way that this can work.

Load these modules in /etc/rc.local.

What's missing from the nividia-driver port is a start script which
should land under $LOCALBASE/etc/rc.d.

-- 
Gary Jennejohn


More information about the freebsd-amd64 mailing list