Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 12:28:46 -0500
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        "Richard Jones" <freebsd@jonze.com>
Cc:        freebsd-questions@freebsd.org, Nick Withers <nick@nickwithers.com>
Subject:   Re: Kernel module path
Message-ID:  <ef10de9a0606071028t725e475fsdd78e5666f46a80f@mail.gmail.com>
In-Reply-To: <20060607125519.GA62057@dogstar.jonze.com>
References:  <20060607102809.GA61343@dogstar.jonze.com> <20060607224054.09545db8.nick@nickwithers.com> <20060607125519.GA62057@dogstar.jonze.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/7/06, Richard Jones <freebsd@jonze.com> 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 <richard@jonze.com> 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
> <short pause>
> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0606071028t725e475fsdd78e5666f46a80f>