Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 13:44:08 +0100
From:      Giovanni Trematerra <giovanni.trematerra@gmail.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: can't load smbfs kernel module
Message-ID:  <4e6cba831001280444g12ba21b3hcc51c8180f08b3c3@mail.gmail.com>
In-Reply-To: <20100126232707.GG26462@mech-cluster241.men.bris.ac.uk>
References:  <20100126232707.GG26462@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 2010 at 12:27 AM, Anton Shterenlikht
<mexas@bristol.ac.uk> wrote:
> I didn't get any luck asking in questions@,
> so maybe this is a current@ issue:
>
>
> On Mon, Jan 25, 2010 at 09:56:54PM +0000, Anton Shterenlikht wrote:
>> On Mon, Jan 25, 2010 at 10:38:47AM -0600, Kevin Kinsey wrote:
>> > Anton Shterenlikht wrote:
>> > > This is on FreeBSD 9.0-CURRENT #0 r202964M ia64
>> > >
>> > > I've built a kernel with smbfs module:
>> > >
>> > > # ls -al /boot/kernel/smb*
>> > > -r-xr-xr-x =A01 root =A0wheel =A0265579 25 Jan 13:36 /boot/kernel/sm=
bfs.ko
>> > > -r-xr-xr-x =A01 root =A0wheel =A0680186 25 Jan 13:36 /boot/kernel/sm=
bfs.ko.symbols
>> > >
>> > > but can't load it:
>> > >
>> > > # kldload smbfs
>> > > kldload: can't load smbfs: No such file or directory
>> > >
>> > >
>> > > Other modules load fine with kldload, e.g.:
>> >
>> > Does it make any difference to use the ".ko" extension, to
>> > call it by absolute path, or to use "-v" for more information,
>> > per The Friendly Manual?
>>
>> no, doesn't make any difference:
>>
>> # kldload -v /boot/kernel/smbfs.ko
>> kldload: can't load /boot/kernel/smbfs.ko: No such file or directory
>> #
>>
>> but I see in /var/log/messages:
>>
>> =A0kernel: KLD smbfs.ko: depends on libiconv - not available or version =
mismatch
>>

If you have all modules compiled do:
#kldload libiconv
#kldload libmchain
#kldload smbfs

otherwise you have to include/compile such modules

Have fun!

--
Gianni



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