From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 3 22:30:33 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0945616A48C for ; Mon, 3 Apr 2006 22:30:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B8E43D5E for ; Mon, 3 Apr 2006 22:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k33MULLR058141 for ; Mon, 3 Apr 2006 22:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k33MULnl058140; Mon, 3 Apr 2006 22:30:21 GMT (envelope-from gnats) Resent-Date: Mon, 3 Apr 2006 22:30:21 GMT Resent-Message-Id: <200604032230.k33MULnl058140@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Evgeny Zislis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4320316A4F8 for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: kern/95287: When using NETSMB without SMBFS the smbfs kld and mount_smbfs wont work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 22:30:33 -0000 >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