From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 01:32:17 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5100C106568E; Wed, 5 Nov 2008 01:32:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD8C8FC14; Wed, 5 Nov 2008 01:32:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA51TbiW015380; Tue, 4 Nov 2008 18:29:37 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Nov 2008 18:30:51 -0700 (MST) Message-Id: <20081104.183051.689649421.imp@bsdimp.com> To: bruce@cran.org.uk From: "M. Warner Losh" In-Reply-To: <20081104165029.225511d8@tau.draftnet> References: <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> <20081104165029.225511d8@tau.draftnet> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Olivier@freebsd.org, bright@mu.org, rbgarga@gmail.com, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, lme@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 01:32:17 -0000 In message: <20081104165029.225511d8@tau.draftnet> Bruce Cran writes: : On Wed, 5 Nov 2008 00:04:02 +0100 : Lars Engels wrote: : > Now I just removed everything but usb2_core from the kernel config and : > load the modules manually. So far it runs pretty good. : > : > Mounting a umass device, removing it and doing an 'ls' on the : > mountpoint freezes the system, I thought this should not happen with : > the new stack? : > : : I seem to remember the problem was tracked back to something in the cam : layer not liking surprise removals? For msdos filesystem, there were a number of minor tweaks that were made to make this suck less. Some were in the old usb layer, but most were in the buffer cache of FreeBSD to make it more resilient to errors from the device... But it wasn't totally fixed... Hans' stack did have a period of time when card removal was working better than the stock FreeBSD stack, but that got cleaned up before 7.0. Warner