Re: hdparm and removable IDE?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Mar 26 2003 - 09:33:07 EST


On Wed, 2003-03-26 at 04:41, Ron House wrote:
> The scenario: I have a ViPower hot-swap mobile rack for swapping IDE HDs
> on the fly. I am assuming that this device properly disconnects the
> hardware and that I am faced with a software problem. Our technical
> staff tell me that they have 'tested' hot swapping under RedHat 7.3
> (Kernel 2.4.18-3) and it 'works'. In other words, they unmounted,
> swapped, and mounted a new disk and didn't observe data loss. I am sure

IDE hotswap at drive level is not supported by Linux. It might work ok.
Providing you shut the drive down fully and flush the cache before you
unregister/unplug and replug before registering the new interface

> Here are a few other factoids that may be relevant. This utility comes
> with Windoze drivers to set up hot-swapping. I installed them and they
> worked, but immediately Partition Magic started crashing Windoze
> whenever it was run. This behaviour even continued after uninstallation
> of the hot-swap drivers. Furthermore, at that point Linux started
> producing lines like this in /var/log/messages:
>
> Mar 26 13:35:44 Loris kernel: hdd: dma_intr: status=0x51 { DriveReady
> SeekComplete Error }
> Mar 26 13:35:44 Loris kernel: hdd: dma_intr: error=0x84 {
> DriveStatusError BadCRC }

Looks like it left the drive misprogrammed

Alan

-
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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:23 EST