From owner-freebsd-firewire@FreeBSD.ORG Thu Sep 21 15:58:34 2006 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C98BC16A40F for ; Thu, 21 Sep 2006 15:58:34 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id B969343D5A for ; Thu, 21 Sep 2006 15:58:30 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (tdivkekbqqk4zxlh@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k8LFwSuE087444; Thu, 21 Sep 2006 08:58:28 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k8LFwN7c087443; Thu, 21 Sep 2006 08:58:23 -0700 (PDT) (envelope-from jmg) Date: Thu, 21 Sep 2006 08:58:23 -0700 From: John-Mark Gurney To: "M. L. Dodson" Message-ID: <20060921155823.GO23915@funkthat.com> Mail-Followup-To: "M. L. Dodson" , Eric Anderson , freebsd-firewire@freebsd.org References: <200609191005.17015.mldodson@houston.rr.com> <4511FF85.1000102@centtech.com> <20060921040355.GM23915@funkthat.com> <200609210758.36433.mldodson@houston.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609210758.36433.mldodson@houston.rr.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 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-firewire@freebsd.org Subject: Re: devfs and hot unplugging firewire device X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 15:58:34 -0000 M. L. Dodson wrote this message on Thu, Sep 21, 2006 at 07:58 -0500: > On Wednesday 20 September 2006 23:03, John-Mark Gurney wrote: > > Eric Anderson wrote this message on Wed, Sep 20, 2006 at 21:57 -0500: > > > On 09/20/06 15:16, M. L. Dodson wrote: > > > >On Wednesday 20 September 2006 14:42, John-Mark Gurney wrote: > > > >>M. L. Dodson wrote this message on Wed, Sep 20, 2006 at 14:14 -0500: > > > >>>More experimental results on firewire disks and hot unplugging: > > > >>> > > > >>>Transcripts of two sessions can be retrieved from > > > >>>http://siegfried.utmb.edu/bdodson/firewire.on.histidine.txt and > > > >>>http://siegfried.utmb.edu/bdodson/firewire.on.serine.txt > > > >> > > > >>doh, I think I know what your problem is... you need to do three > > > >>or so fwcontrol -r's before the device will disappear... This is > > > >>necessary, since each plug causes a rescan, and you don't want > > > >> devices disappearing when you add your cd drive... It looks like > > > >> adding a timeout would be a good thing to the device orphan... If > > > >> the device has been orphaned for more than a minute, drop it, or > > > >> three or so resets... > > > > > > > >That worked. Thanks again! > > > > > > It's too bad firewire doesn't act more like USB storage in this case - > > > you can yank and plug in the same or similar storage using the same > > > adapter many many times without issue - I've done this many times. > > > > And that is the behaviour I expected. I did not appreciate the > differences between a chain and a tree. I'm a scientist, but not > a computer scientist. I have been somewhat verbose in these > emails to document my experiences for the archives. Thanks to you > all. sbp(4) documents this behavior too, for the archives... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."