unable to mount smbfs share

Sergey Glushchenko deen at email.ua
Fri Mar 17 09:54:04 PST 2006


On Fri, 17 Mar 2006 06:32:36 +1100
"Dmitri Nikulin" <dnikulin at xxxxxxxxx> wrote:

> On 3/17/06, John Leimon <jleimon at xxxxxxxxxxxxx> wrote:
> > Last night I was trying to mount a samba share using
> > the df 1.4 livecd and the kernel module for smbfs was
> > not loading properly. Anybody know what the status is
> > of this module?
> 
> You must load libiconv and libmchain modules first. Free/DFly don't do
> this automatically and also can't use the in-kernel copy even if it's
> there. I'd just compile the filesystem support in the kernel - read
> LINT.
> 
>   -- Dmitri Nikulin
> 

Actually, FreeBSD do this automatically:
~# uname -a
FreeBSD xlab 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Fri Mar 17 13:56:29 EET 2006     deen at xlab:/usr/obj/mnt/stuff/freebsd/src_releng_6/sys/X  i386
~# kldstat 
Id Refs Address    Size     Name
 1    6 0xc0400000 2e4cfc   kernel
 2    1 0xc06e5000 4984     snd_fm801.ko
 3    2 0xc06ea000 22960    sound.ko
 4    1 0xc1b2a000 2000     msdosfs_iconv.ko
 5    1 0xc1b2c000 3000     libiconv.ko
~# kldload smbfs
~# kldstat 
Id Refs Address    Size     Name
 1    8 0xc0400000 2e4cfc   kernel
 2    1 0xc06e5000 4984     snd_fm801.ko
 3    2 0xc06ea000 22960    sound.ko
 4    1 0xc1b2a000 2000     msdosfs_iconv.ko
 5    3 0xc1b2c000 3000     libiconv.ko
 7    1 0xc2230000 1b000    smbfs.ko
 8    2 0xc224b000 2000     libmchain.ko

So, it's DFly problem only.

-- 
Sergey Glushchenko





More information about the Users mailing list