public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jos Hulzink <josh@stack.nl>
To: jw schultz <jw@pegasys.ws>
Cc: linux-kernel@vger.kernel.org
Subject: Re: DE and hot-swap disk caddies
Date: Thu, 28 Mar 2002 00:17:06 +0100 (CET)	[thread overview]
Message-ID: <20020327235029.P78593-100000@snail.stack.nl> (raw)
In-Reply-To: <20020327143427.N6223@pegasys.ws>

On Wed, 27 Mar 2002, jw schultz wrote:

> On Tue, Mar 26, 2002 at 07:01:18PM +0000, Pavel Machek wrote:
> > > 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.
> >
> > But that's not a problem most times, right? Downing device on same
> > channel for 10 second it takes to plug it in should not be a problem.
> > 								Pavel
>
> Sure, just be sure you POWER down the device(s) and the
> interface.  IDE is no more designed to be hot-swap than the
> ISA buss.  It was originally a buss level emulation of a
> specific Western Digital controller for ST506 drives.  Talk
> to an EE familiar with the spec and implementations and make
> sure that your card can either power down or go buffered
> tristate.  Smoking can be hazardous to your computer's
> health.

Hi, here your EE :)

IDE indeed never was ment to be hot pluggable. With SCSI, you can tell a
hard disk to shut down and disconnect from the bus. With IDE, your
controller has to shut down completely. You can tell your disk to
spin down, but in any case, your disk will remain powered. In shutdown
mode, your disk will not consume much power anymore, but the electronics
are NOT in a "feel free to disconnect now" state. The disk is still
listening to the bus.

This means that unplugging one device can have undetermined results for
both that device and the complementary device on the bus. As an EE, I must
admit the chances are VERY, VERY odd that it will actually affect data,
but personally, I'm one of those guys who say: In theory, it's possible,
so this is a "don't".

There are controllers who say they can shut down completely, but I have
never seen an IDE disk which can do it. The fact you can bring any disk
back alive after a sleep command (part of the latest ATA standards), means
the disk isn't suitable for hot-swapping.

If you really want to build in IDE hot swap support, I demand it comes
with a warning: Enabling this option will probably destroy your harddisks
and your chipset. Feel free to continue, but don't blame us.

> Disclaimer: I am not an Electronics Engineer, nor an expert
> on IDE/ATA/ATAPI yadda, yadda, yadda.  I wrote because this
> thread, while useful for the future  was on a tangent that
> wasn't telling John Summerfield how he might actually do
> what he wants, today.

Disclaimer: I am an EE, well known with IDE/ATA. I wrote this because my
opinion is Linus should block any attempts of hot pluggable IDE devices,
for Linux will be the only OS that supports it and destroys your harddisks
thanks to the fact it supports it (If other OSes support it, please let
me know, I'll guarantee you there are lots of warnings involved). Hot
plugging might work, when you are lucky. Luck is not something that should
be the base of a decent OS. If hot IDE plugging makes its way in, don't
blame me...

Jos


  reply	other threads:[~2002-03-27 23:17 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       ` DE " jw schultz
2002-03-26 19:01         ` Pavel Machek
2002-03-27 22:34           ` jw schultz
2002-03-27 23:17             ` Jos Hulzink [this message]
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=20020327235029.P78593-100000@snail.stack.nl \
    --to=josh@stack.nl \
    --cc=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