Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 22:40:54 +1000
From:      Nick Withers <nick@nickwithers.com>
To:        Richard Jones <richard@jonze.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel module path
Message-ID:  <20060607224054.09545db8.nick@nickwithers.com>
In-Reply-To: <20060607102809.GA61343@dogstar.jonze.com>
References:  <20060607102809.GA61343@dogstar.jonze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jun 2006 11:28:09 +0100
Richard Jones <richard@jonze.com> 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.

>From kldload's man page:
________

FILES
     /boot/kernel  directory containing loadable modules.
Modules must have an extension of .ko.
________

This having been said, it _does_ look in /boot/modules as well.

I'm able to load a module from either directory without
specifying the full path and / or extension and without either
directory being my current working directory on 6.1-RELEASE.

What's the problem you're actually having? What version of
FreeBSD are you running?

> 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.

I believe that base system kernel modules for the currently
installed kernel should be installed to /boot/kernel and that
kernel modules from outside FreeBSD (e.g.: nvidia.ko) are
installed to /boot/modules.

> R
> -- 
> Richard Jones
> MSN: msn.co.uk@jonze.com
> Y!M: rwkjones
> http://www.jonze.com
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
-- 
Nick Withers
email: nick@nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446



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