NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38122: no sd? detach on firewire when disconnect harddisk

The following reply was made to PR kern/38122; it has been noted by GNATS.

From: David Huang <>
Subject: Re: kern/38122: no sd? detach on firewire when disconnect harddisk
Date: Fri, 29 Feb 2008 11:18:30 -0600

 On Feb 29, 2008, at 2:15 AM, wrote:
 > When detaching sd?-firewire-node physically the kernel doesn't  
 > detach the sd? device.  The firewire<->IDE controller is an Oxford  
 > 911 bridge.  No such things happen when using the USB-part of that  
 > controller.  No problems at all on Mac OS X with the controller &  
 > firewire (so I assume the controller is working fine).
 The sbp(4) manpage mentions:
       Some users familiar with umass(4) might wonder why the device is  
       detached at the scsi(4) layer when the device is unplugged.  It is
       detached only if the device has not been plugged again during  
 several bus
       resets.  This is for preventing to detach an active file system  
 even when
       the device cannot be probed correctly for some reason after a  
 bus reset
       or when the device is temporary disconnected because the user  
 changes the
       bus topology.  If you want to force to detach the device, run  
 fwctl -r
       several times.
 So, it's working as designed. I do think it's a bit counter-intuitive,  
 but I can see how it'd be useful to be able to temporarily unplug the  
 device and plug it back in without having to unmount the filesystem...
 Name: Dave Huang         |  Mammal, mammal / their names are called /
 INet: |  they raise a paw / the bat, the cat /
 FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
 Dahan: Hani G Y+C 31 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA 
 + PL++

Home | Main Index | Thread Index | Old Index