On Wednesday 07 June 2006 12:22, John Nielsen wrote:
> On Wednesday 07 June 2006 08:41, Daniel Bye wrote:
> > On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote:
> > > Hi,
> > >
> > > I'm having trouble loading kernel modules. Put simply "make
> > > installkernel" seems install native kernel modules into /boot/kernel/,
> > > but kldload seems to want to load them from /boot/modules.
> > >
> > > Obviously I can load modules by hand and/or copy the modules into
> > > /boot/modules, but surely there's a better way - either by modifying
> > > the installkernel behaviour or kldload.
> >
> > kldconfig(8) might be of help here.
>
> There is a sysctl that controls this.  By default on my 6-STABLE it is:
>
> %sysctl kern.module_path
> kern.module_path: /boot/kernel;/boot/modules;/usr/local/modules
>
> So the FreeBSD 5.x and newer default of putting kernel modules in
> /boot/kernel is covered.  Check the output of the above command on your
> system and check /etc/sysctl.conf for any overrides.

Oh, I don't think /usr/local/modules is there by default.  It was added on my 
system by one of the FUSE ports I'm using.  The first two are definitely 
there by default, though. Sorry for the misinformation.

JN
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to