Date: Thu, 8 Jun 2006 10:41:17 +0100 From: Richard Jones <freebsd@jonze.com> To: freebsd-questions@freebsd.org Subject: Re: Kernel module path Message-ID: <20060608094117.GA76901@dogstar.jonze.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, 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@jonze.com Y!M: rwkjones http://www.jonze.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060608094117.GA76901>