Re: IDE Hot-Swap, does it work?, Conspiracy is afoot! (more questions)

Pozsar Balazs (pozsy@sch.bme.hu)
Sat, 13 Oct 2001 00:14:01 +0200 (MEST)


I've been too asked this question two times in the list, and i haven't
received any useful answer.

Wakko, could you tell me in detail how to use hdparm -R and -U, because i
couldn't get it work. Does it (or shoudl it) work for harddisks too?

What chipset/hardware supports ide-hot-swap, and which of these are
supported in linux?
Under The Other Operating System 2000 i have seen this working on a few
machines for example on an asus cusl2 mobo, so that chipset (i think
intel 815e) at least can got to do this job.

Please someone with more knowledge enlighten me, beaces i really hate
rebooting just to remove or add a harddisk.

On Fri, 12 Oct 2001, Wakko Warner wrote:

> I've done this with my IDE cdrom in my laptop. It's hot swappable and I
> asked about this at one time. In the source package for hdparm (i know it's
> in the debian's source package) there's a script for hot add/remove of ide
> devices. there's a nice warning attached about ide hotswap
>
> > Ok, I have played with this a bit since I have recieved no
> > real respose other than one other person having the same
> > question, here is what I have found out...
> >
> > I have a piece of hardware that does have hot-swap IDE
> > chassis on it, so atleast the IDE bus xcvers should be
> > able to handle the swapping, as the connection to the
> > drive is disabled before the can comes all the way out
> > of the slot.
> >
> > - I can remove a drive while the system is on and I have
> > a software raid 5 on the 4 drives, everything is ok
> > after about 2 minutes the system recovers and the software
> > raid fails the drive I removed. This makes sense.
> > - After a few minutes I replace the drive I had just failed
> > by removing it, and I try to readd it to the system via
> > raidhotadd. One of 2 things happens in this instance,
> > depending on what kernel I have loaded.
> > - If I have kernel 2.4.2-2 loaded (a stock redhat 7.1
> > kernel), the drive reappears, and can be added back
> > to the raid (and is added back).
> > - If I am running kernel 2.4.10 or any later (AC or non)
> > the machine fails to ever be able to read from the disk
> > again. I cannot readd the disk to the arry, nor can I
> > fdisk it (or access it in any other way).
> > - None of this solves the adding of a drive to the system
> > where there was none before boot... I tried the hdparm -R
> > stuff but its useless and hangs my box no matter what I give
> > it as paramaters. This of course may be because I do not
> > know how to use it very well...
> >
> > If anyone can help it would be greatly appreciated. I am
> > really beginning to believe that IDE will never be as capable
> > as SCSI in this reguard, atleast not in linux, espically as
> > any (even if it was broken) support that used to be in the
> > kernel has disappeared. Please someone convince me otherwise!
> > Atleast point me in the correct direction as to what in the
> > kernel would have to be changed to make this work...
> >
> > Thanks,
> > Mike
> >
> > --
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> --
> Lab tests show that use of micro$oft causes cancer in lab animals
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-- 
Pozsar Balazs.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/