Re: Hotswap IDE

From: Johannes Stezenbach
Date: Thu Feb 05 2004 - 18:39:16 EST


Mike Black wrote:
> I use a removable IDE chassis to allow me to mirror my primary drive for offsite storage.
> I'd like to hotswap the IDE but can't seem to get the drive to allow DMA access after restarting it.
> A reboot is necessary for DMA access.
> I'm using idectl from hdparm-5.4 which generates the following hdparm commands:
> /sbin/hdparm -U 1 /dev/hda
> /sbin/hdparm -R 0x170 0 0 /dev/hda

I haven't tried myself, but Alan Cox did:

Linux 2.4.22-rc2-ac3
o Finish off the core IDE hotplug support (me)
| If your hardware supports it you can now
| hdparm -b0 /dev/hdc change drive hdparm -b1 /dev/hdc

Maybe that works better than -U/-R ?

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