From: jw schultz <jw@pegasys.ws>
To: linux-kernel@vger.kernel.org
Subject: Re: DE and hot-swap disk caddies
Date: Tue, 26 Mar 2002 00:21:28 -0800 [thread overview]
Message-ID: <20020326002128.L6223@pegasys.ws> (raw)
In-Reply-To: <200203252316.g2PNGD011116@numbat.Os2.Ami.Com.Au> <01c501c1d487$14ce9180$7e0aa8c0@bridge>
On Mon, Mar 25, 2002 at 09:28:21PM -0800, Jeremy Jackson wrote:
> At the interface level, there is some support.
> Look at hdparm's -b option to tristate the bus.
> But that's the whole bus. If the controller implements
> master/slave on one cable, you're hosed, electrically.
> It's the whole interface. 95% of controlers are like this.
>
> Intel's PIIX can do master/slave on separate ports, but
> then you loose one bus. Laptops with bays also do things
> like this, but that's special hardware, hard to get programming
> specs for.
>
> I think if you add the drive *after* boot, it doesn't
> have the benefit of the BIOS setting up PIO/UDMA modes,
> so I would try the hdparm -X speed settings also.
>
> Jeremy
>
> ----- Original Message -----
> From: "John Summerfield" <summer@os2.ami.com.au>
> Sent: Monday, March 25, 2002 3:16 PM
> Subject: Re: IDE and hot-swap disk caddies
>
> > > > The device is hot-swap capable and has a switch (others have a key)
> > > > that locks the drive in and powers it up; in the other position the
> > > > drive is powered down and can be removed.
> > >
> > > Linux doesn't support IDE hot swap at the drive level. Its basically
> > > waiting people to want it enough to either fund it or go write the code
> > >
> >
> > What needs to be done? How extensive is the surgery needed?
>
IDE isn't really meant to allow hot swap but it can be done.
As Jeremy says, electrically it is difficult to do it with a
master+slave on one cable because you really must power down
the interface (cable) and that would mean downing both devices.
As Alan and others have indicated the IDE drivers are a little
untested at doing this as well.
The big issue is powering down the interface. You need a
card that can do so selectively. I gather the 3Ware cards
can do this, i don't have one yet so don't go by me on this.
Perhaps someone else can confirm it. They also have the
advantage here in that they present the drives (in JBOD
mode) as SCSI devices or luns and SCSI has handled hot
(un)plug pretty well since at least the 1.2 kernel.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws
Remember Cernan and Schmitt
next prev parent reply other threads:[~2002-03-26 8:21 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-25 9:32 IDE and hot-swap disk caddies John Summerfield
2002-03-25 15:56 ` Alan Cox
2002-03-25 19:34 ` Bill Davidsen
2002-03-25 19:55 ` Alan Cox
2002-03-25 20:26 ` Wakko Warner
2002-03-25 21:20 ` Andre Hedrick
2002-03-25 22:32 ` Wakko Warner
2002-03-26 0:11 ` Thunder from the hill
2002-03-26 18:52 ` Pavel Machek
2002-03-27 22:38 ` Alan Cox
2002-03-27 22:29 ` Pavel Machek
2002-03-27 22:47 ` Pedro M. Rodrigues
2002-03-27 23:21 ` Jos Hulzink
2002-03-28 11:37 ` Jos Hulzink
2002-03-27 22:51 ` Alan Cox
2002-03-28 0:01 ` Itai Nahshon
2002-03-28 0:11 ` Andre Hedrick
2002-03-27 23:53 ` Vojtech Pavlik
2002-03-25 23:16 ` John Summerfield
2002-03-26 3:32 ` Mark Lord
2002-03-26 5:28 ` Jeremy Jackson
2002-03-26 8:21 ` jw schultz [this message]
2002-03-26 19:01 ` DE " Pavel Machek
2002-03-27 22:34 ` jw schultz
2002-03-27 23:17 ` Jos Hulzink
2002-03-27 23:57 ` Andre Hedrick
2002-03-28 0:17 ` Erik Andersen
2002-03-28 0:23 ` Andre Hedrick
2002-03-28 0:31 ` Benjamin LaHaise
2002-03-28 0:40 ` Andre Hedrick
2002-03-28 2:02 ` IDE " Jeremy Jackson
2002-03-28 9:33 ` Alan Cox
2002-03-28 9:28 ` Simon Richter
2002-03-28 16:25 ` Jeremy Jackson
2002-03-28 9:33 ` DE " Jos Hulzink
2002-03-28 0:37 ` Alan Cox
2002-03-28 0:27 ` Andre Hedrick
2002-03-28 4:24 ` Chuck Campbell
2002-03-28 4:32 ` Andre Hedrick
2002-03-28 8:00 ` Martin Dalecki
2002-03-28 8:21 ` Andre Hedrick
2002-03-28 9:01 ` Martin Dalecki
2002-03-28 9:39 ` Alan Cox
2002-03-28 9:50 ` Offtopic: " Jos Hulzink
2002-03-28 9:53 ` Martin Dalecki
2002-03-28 18:31 ` Herman Oosthuysen
2002-03-28 9:29 ` Jos Hulzink
2002-03-26 22:53 ` IDE " John Summerfield
2002-03-28 16:46 ` Bill Davidsen
2002-03-28 18:10 ` Mark Lord
2002-03-28 20:59 ` John Summerfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020326002128.L6223@pegasys.ws \
--to=jw@pegasys.ws \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox