Date: Wed, 19 Dec 2001 22:20:43 +0100 (CET) From: aaron <aaron@lo-res.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/33016: mount_smbfs Message-ID: <200112192120.fBJLKh644521@meta.lo-res.org>
next in thread | raw e-mail | index | archive | help
>Number: 33016
>Category: bin
>Synopsis: mount_smbfs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 19 13:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: aaron
>Release: FreeBSD 4.4-STABLE i386
>Organization:
lo-res
>Environment:
System: FreeBSD meta.lo-res.org 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Oct 29 22:02:05 CET 2001 root@meta.lo-res.org:/usr/people/scratch/usr/people/src/sys/meta i386
>Description:
mount_smbfs will not work with smbfs module unless smbfs module
loads libmchain module.
>How-To-Repeat:
do the following: compile a -STABLE kernel without LIBMCHAIN
and without NETSMB options. Include the LIBICONV option
(this does not seem to compile as module, ok).
Now mount_smbfs some filesystem.
It will fail with error message:
smbfs: vfsload(smbfs): Exec format error
then kldload libmchain
re-try mount_smbfs command... bingo everything works again.
As a side note: If I compile options NETSMB, option LIBMCHAIN
and option LIBICONV statically into the kernel then
mount_smbfs will fail with: smbfs: vfsload(smbfs): File exists.
Seems like the vfsload will try to load the module but if its already
there statically - it does not detect this fact and gives up.
I recon some detection code would be in place here.
>Fix:
see ideas on how to fix it above.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112192120.fBJLKh644521>
