Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2008 19:24:11 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Gavin Atkinson <gavin@FreeBSD.org>
Cc:        freebsd-firewire@FreeBSD.org, FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   Re: firewire disk disconnected but da* remains?
Message-ID:  <491479BB.10404@icyb.net.ua>
In-Reply-To: <1226072532.69416.4.camel@buffy.york.ac.uk>
References:  <49142861.6020304@icyb.net.ua> <1226072532.69416.4.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
on 07/11/2008 17:42 Gavin Atkinson said the following:
> On Fri, 2008-11-07 at 13:37 +0200, Andriy Gapon wrote:
>> I am a firewire newbie, so forgive me the following question.
>> I disconnect external firewire HDD, firewire subsystem notices this but
>> da0 device entry persists. Is this correct/expected behavior?
> 
> Yes.  From sbp(4):
> 
>  Some users familiar with umass(4) might wonder why the device is not
>  detached at the CAM 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 ``fwcontrol
>  -r'' several times or set hw.firewire.hold_count=0 by sysctl(1).

Thanks a lot!
I should have RTFM.


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491479BB.10404>