Subject: Re: Is hot-swapping IDE drives possible under netbsd?
To: Monroe Williams <monroe@criticalpath.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 07/23/2002 21:00:25
On Mon, Jul 22, 2002 at 07:34:49PM -0700, Monroe Williams wrote:
> 
> I have a system running netbsd (macppc-current, if that's relevant).  One of
> the IDE channels is attached to a removable hard drive sled.  It's the
> "InClose Mobile Dock":
> 
> http://www.westec-net.com/products/MobileDocks/MobileDocks.html
> 
> Removing the drive without powering down the machine works, but any attempts
> to access that device afterwards seem to really irritate the pciide driver.
> A couple of minutes and several console messages later, it gives up on the
> drive and things start working again.
> 
> How difficult would it be to add real support for hot-swap in the pciide
> driver?  I expect there would be limitations (probably only one drive per
> channel, etc.), but would it be possible to make it work?

Some IDE controllers have support for it (promise, for example). I have some
plans for it, but it's low on my priority list, and it needs some
changes in the IDE code to work properly.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--