Kernel module path
Richard Jones
freebsd at jonze.com
Thu Jun 8 11:11:25 UTC 2006
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.
And in answer to my own question, I've found the answer. Despite the man
page suggesting the default value for module_path being
/boot/kernel;/boot/modules, my /boot/defaults/loader.conf had just
/boot/modules.
I've checked in /usr/src/sys/boot and this seems to be system default,
does anyone know why this is?
Regards,
Richard
--
Richard Jones
MSN: msn.co.uk at jonze.com
Y!M: rwkjones
http://www.jonze.com
More information about the freebsd-questions
mailing list