From kesor@kesor.net  Mon Apr  3 22:26:03 2006
Return-Path: <kesor@kesor.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4320316A4F8
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Apr 2006 22:26:03 +0000 (UTC)
	(envelope-from kesor@kesor.net)
Received: from smtp1.actcom.co.il (mx1.actcom.co.il [192.114.47.64])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AF84243D75
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Apr 2006 22:25:57 +0000 (GMT)
	(envelope-from kesor@kesor.net)
Received: from mail.kesor.net (line133-201.adsl.actcom.co.il [192.115.133.201])
	by smtp1.actcom.co.il (8.13.3/8.13.3) with ESMTP id k33MPmqR018176
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 Apr 2006 01:25:53 +0300
Received: from [192.168.2.45] (thinky5e.w.kesor.net [192.168.2.45])
	by mail.kesor.net (Postfix) with ESMTP id CB8C73C9
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Apr 2006 01:25:43 +0300 (IDT)
Message-Id: <4431A0EC.1030901@kesor.net>
Date: Tue, 04 Apr 2006 01:25:48 +0300
From: Evgeny Zislis <kesor@kesor.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: When using NETSMB without SMBFS the smbfs kld and mount_smbfs wont
 work

>Number:         95287
>Category:       kern
>Synopsis:       [modules] When using NETSMB without SMBFS the smbfs kld and mount_smbfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 03 22:30:21 GMT 2006
>Closed-Date:    Mon Nov 06 09:17:08 GMT 2006
>Last-Modified:  Mon Nov 06 09:17:08 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: bp 
State-Changed-When: Mon Nov 6 09:11:24 UTC 2006 
State-Changed-Why:  
The smbfs.ko module include both NETSMB and SMBFS modules, so 
it is not required to compile NETSMB into kernel.  The recommended 
way either to include all required options into kernel configuration 
or use smbfs.ko module.  Although this not complete solution and 
issue might be fixed in the future. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95287 
>Unformatted:
 wont work
 
