From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 05:54:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4820316A4CE for ; Sun, 26 Sep 2004 05:54:40 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07C0843D58 for ; Sun, 26 Sep 2004 05:54:40 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 24183 invoked from network); 26 Sep 2004 05:54:39 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Sep 2004 05:54:38 -0000 Received: from hydrogen.funkthat.com (gxwfwn@localhost.funkthat.com [127.0.0.1])i8Q5sYlb006712; Sat, 25 Sep 2004 22:54:34 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i8Q5sVU1006711; Sat, 25 Sep 2004 22:54:31 -0700 (PDT) Date: Sat, 25 Sep 2004 22:54:31 -0700 From: John-Mark Gurney To: "Daniel O'Connor" Message-ID: <20040926055431.GD1383@funkthat.com> Mail-Followup-To: Daniel O'Connor , freebsd-current@freebsd.org, Jeremy Chadwick References: <41555396.4030009@fer.hr> <20040926021347.721a025f.benlutz@datacomm.ch> <20040926005943.GA61350@parodius.com> <200409261142.24759.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409261142.24759.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org cc: Jeremy Chadwick Subject: Re: USB memory stick hotswap problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 05:54:40 -0000 Daniel O'Connor wrote this message on Sun, Sep 26, 2004 at 11:42 +0930: > > Seems like we're eventually going to need this to make hot-swappable USB > > devices more friendly. I understand why you must unmount a device > > before SCSI CAM gets disconnected from it, but it just seems that this > > should be a job for usbd. > > The problem is that once the device is removed it's too late :( Exactly... > One possibility would be to add a facility to mark all the data for a certain > device to be non-critical so it will throw it away when it tries to flush it > and fails instead of panicing. phk is working on fixing this right now... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."