From owner-freebsd-questions@FreeBSD.ORG Wed Jun 7 19:33:14 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 7333F16DBF6 for ; Wed, 7 Jun 2006 17:28:48 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F75643D45 for ; Wed, 7 Jun 2006 17:28:47 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so205066nzf for ; Wed, 07 Jun 2006 10:28:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A2TCbZU36hUE/2KVY8F/aopXMQZySEUJpiHv6day1J6ovshtdo5novNTVOupCfRLBzQkIv/uFh9Fqwp6JKype0uQUswktWbxFhv5YWon2tAPdN8cQ3oUcIDPEL6+3Ulb3wusUP8ldhjUZ6TnQ59J86kKZKpR98sph8r+if81P4k= Received: by 10.36.247.27 with SMTP id u27mr1001451nzh; Wed, 07 Jun 2006 10:28:46 -0700 (PDT) Received: by 10.36.104.17 with HTTP; Wed, 7 Jun 2006 10:28:46 -0700 (PDT) Message-ID: Date: Wed, 7 Jun 2006 12:28:46 -0500 From: "Nikolas Britton" To: "Richard Jones" In-Reply-To: <20060607125519.GA62057@dogstar.jonze.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060607102809.GA61343@dogstar.jonze.com> <20060607224054.09545db8.nick@nickwithers.com> <20060607125519.GA62057@dogstar.jonze.com> Cc: freebsd-questions@freebsd.org, Nick Withers 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 19:33:15 -0000 On 6/7/06, Richard Jones wrote: > On Wed, Jun 07, 2006 at 10:40:54PM +1000, Nick Withers wrote: > > 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? > > Yes, sorry, that wasn't the most infomational email. > > FreeBSD-6.1-RELEASE. > > me ~ # ls -1 /boot/kernel > fire_saver.ko > if_tun.ko > ipfw.ko > kernel > libiconv.ko > libmchain.ko > linker.hints > linux.ko > smbfs.ko > me ~ # ls -1 /boot/kernel > nvidia.ko > linker.hints > me ~ # kldload smbfs > kldload: can't load smbfs: No such file or directory > me ~ # cp /boot/kernel/{smbfs.ko,libiconv.ko,libmchain.ko} /boot/modules/ > me ~ # kldload smbfs > > me ~ # kldstat > Id Refs Address Size Name > 1 12 0xc0400000 3c68c4 kernel > 2 2 0xc07c7000 1f280 linux.ko > 3 1 0xc07e7000 3f2e00 nvidia.ko > 6 1 0xc50e0000 20000 smbfs.ko > 7 2 0xc4f51000 4000 libiconv.ko > 8 2 0xc4154000 3000 libmchain.ko > Do you know if they ever fix crypto bug in mount_smbfs in FreeBSD 6.1? -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/