Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2006 01:25:48 +0300
From:      Evgeny Zislis <kesor@kesor.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/95287: When using NETSMB without SMBFS the smbfs kld and mount_smbfs wont work
Message-ID:  <4431A0EC.1030901@kesor.net>
Resent-Message-ID: <200604032230.k33MULnl058140@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95287
>Category:       kern
>Synopsis:       When using NETSMB without SMBFS the smbfs kld and mount_smbfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 03 22:30:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Evgeny Zislis
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

System: FreeBSD thinky5e.kesor.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Mon Apr 3 01:40:18 IDT 2006 root@thinky5e.kesor.net
FreeBSD-STABLE world and kernel built on 2nd of April 2006

>Description:

        A compiled custom kernel which includes:
                options NETSMB
        but does not include:
                options SMBFS
        wont allow the smbfs.ko kld to load when running.
        As a side effect, the mount_smbfs command wont work (since it trying to load the module)

>How-To-Repeat:

        1. compile a custom kernel with "options NETSMB" but without "options SMBFS"
        2. try to "kldload smbfs" or "mount_smbfs" with proper syntax
        3. fail
>Fix:

        The smbfs.ko module should not try to load the netsmb.ko module if its already loaded in the kernel


>Release-Note:
>Audit-Trail:
>Unformatted:
 wont work
 



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