From owner-freebsd-questions@FreeBSD.ORG Wed Jun 7 14:31:04 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 C762D16B035 for ; Wed, 7 Jun 2006 12:41:02 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from mail.nickwithers.com (mail.manrags.com [203.219.206.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2213043D46 for ; Wed, 7 Jun 2006 12:41:01 +0000 (GMT) (envelope-from nick@nickwithers.com) Received: from localhost (shmick.shmon.net [10.0.0.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.nickwithers.com (Postfix) with ESMTP id F33C33A37A; Wed, 7 Jun 2006 22:40:54 +1000 (EST) Date: Wed, 7 Jun 2006 22:40:54 +1000 From: Nick Withers To: Richard Jones Message-Id: <20060607224054.09545db8.nick@nickwithers.com> In-Reply-To: <20060607102809.GA61343@dogstar.jonze.com> References: <20060607102809.GA61343@dogstar.jonze.com> Organization: nickwithers.com X-Mailer: Sylpheed version 2.2.5 (GTK+ 2.8.18; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-nickwithers-MailScanner: Found to be clean X-nickwithers-MailScanner-From: nick@nickwithers.com Cc: freebsd-questions@freebsd.org 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: Wed, 07 Jun 2006 14:31:10 -0000 On Wed, 7 Jun 2006 11:28:09 +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. >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