devfs and hot unplugging firewire device

John-Mark Gurney gurney_j at resnet.uoregon.edu
Thu Sep 21 08:58:34 PDT 2006


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."


More information about the freebsd-firewire mailing list