Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2011 11:01:19 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        freebsd-amd64@freebsd.org
Subject:   Re: Boot Loader Conf
Message-ID:  <20111220110119.3f085dfd@ernst.jennejohn.org>

next in thread | raw e-mail | index | archive | help
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



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