kern/95287: When using NETSMB without SMBFS the smbfs kld and mount_smbfs wont work

Evgeny Zislis kesor at kesor.net
Mon Apr 3 22:30:33 UTC 2006


>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 at 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
 


More information about the freebsd-bugs mailing list