From owner-freebsd-bugs Sun Oct 28 12:20:14 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 90C2C37B408 for ; Sun, 28 Oct 2001 12:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9SKK3V49649; Sun, 28 Oct 2001 12:20:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EEB0837B405 for ; Sun, 28 Oct 2001 12:12:55 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9SKCtT48887; Sun, 28 Oct 2001 12:12:55 -0800 (PST) (envelope-from nobody) Message-Id: <200110282012.f9SKCtT48887@freefall.freebsd.org> Date: Sun, 28 Oct 2001 12:12:55 -0800 (PST) From: Brad Laue To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/31565: USB devices cripple SMBFS Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31565 >Category: kern >Synopsis: USB devices cripple SMBFS >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 28 12:20:03 PST 2001 >Closed-Date: >Last-Modified: >Originator: Brad Laue >Release: 4.4-STABLE >Organization: >Environment: FreeBSD Discovery.brad-x.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Oct 28 12:52:29 EST 2001 root@Discovery.brad-x.com:/usr/src/sys/compile/PHOENIX i386 >Description: Compile the following into your kernel: options NETSMB #SMB/CIFS requester options NETSMBCRYPTO #encrypted password support for SMB # mchain library. It can be either loaded as KLD or compiled into kernel options LIBMCHAIN #mbuf management library # Kernel side iconv library options LIBICONV options SMBFS Plug a Microsoft USB mouse in and try to mount an SMB share after the USB mouse has detected. This will return a "no buffer space available" message. All other networking functions are unimpaired. Tested this with all but umass compiled directly into the kernel, and no modules. I will be able to do further tests on monday, e.g. does an existing share stop responding when the mouse is plugged in? Does SMBFS work if the USB mouse is plugged in at system startup? Disconnecting the mouse does not solve the issue; shares remain non-mountable. Using 4.4-STABLE cvsuped to Friday, and smbfs userland version 1.4.1, from ports, an EtherExpress Pro 10/100, and both Windows 98 and Windows 2000 AS servers. Let me know if there is anything more I should look for and report. Brad >How-To-Repeat: Compile both USB and SMBFS fully into the kernel, plug in a USB device, and try to mount a share using mount_smbfs. I will test out modularization and see if this changes matters, but the flaw exists nonetheless in this configuration. >Fix: Don't use USB if you need to access SMBFS shares. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message