From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 11:11:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C22316C9F0 for ; Thu, 8 Jun 2006 09:41:20 +0000 (UTC) (envelope-from freebsd@jonze.com) Received: from dogstar.jonze.com (87-194-33-21.bethere.co.uk [87.194.33.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 481CA43D4C for ; Thu, 8 Jun 2006 09:41:19 +0000 (GMT) (envelope-from freebsd@jonze.com) Received: from dogstar.jonze.com (localhost [127.0.0.1]) by dogstar.jonze.com (8.13.6/8.13.4) with ESMTP id k589fHJH076920 for ; Thu, 8 Jun 2006 10:41:17 +0100 (BST) (envelope-from freebsd@jonze.com) Received: (from richard@localhost) by dogstar.jonze.com (8.13.6/8.13.4/Submit) id k589fHSP076919 for freebsd-questions@freebsd.org; Thu, 8 Jun 2006 10:41:17 +0100 (BST) (envelope-from freebsd@jonze.com) Date: Thu, 8 Jun 2006 10:41:17 +0100 From: Richard Jones To: freebsd-questions@freebsd.org Message-ID: <20060608094117.GA76901@dogstar.jonze.com> References: <20060607102809.GA61343@dogstar.jonze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20060607102809.GA61343@dogstar.jonze.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.88.2/1520/Wed Jun 7 22:47:18 2006 on dogstar.jonze.com X-Virus-Status: Clean Subject: Re: Kernel module path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 11:11:25 -0000 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