Re: hot(un)plugging IDE disks

Andre Hedrick (andre@suse.com)
Tue, 16 Nov 1999 20:19:57 -0800 (PST)


As for the full rescan of the block device upon open........
It is on the list of things to do/finish............

Complain to me and not -ml, he is nice enough to cover when I am out of
pocket or do not have time to get to all messages.

Andre Hedrick
The Linux IDE guy

On Tue, 16 Nov 1999, Francois-Rene Rideau wrote:

> On Sat, Nov 13, 1999 at 01:28:41PM -0500, Mark Lord wrote:
> > Easy. There are NO hotswappable IDE bays.
> [Ok, except for the previously advertised $$$ raidzone.com].
>
> > Still, a few clowns (like you and I) sometimes think it would be nice
> > to support them anyway.
> Yeah!
>
> > The best way to do it is to place them on
> > a separate IDE interface chip, independent of any "permanent" drives.
> Ok (although I took the risk of putting a CDROM as slave of the removable
> IDE hda, to allow for the possibility of a removable losedoze partition
> that would nonetheless see the CD).
>
> Still, the remaining question is: how to tell the kernel to rescan
> for a new drive geometry?
>
> > It also allows using modules to load/unload the IDE support as needed,
> > exactly the way that the existing PCMCIA code handles it.
> The problem is, you can't unload the IDE support when the root filesystem
> is on (another) IDE interface.
>
> > Look there for details.
> PCMCIA uses a utility named "ide_info", but that utility seemingly won't help
> with the geometry problem. The geometry stuff looks like it is handled inside
> the PCMCIA modules.
>
> Ionut Badulescu (multu mesc!) proposed to use
> ioctl(fd, HDIO_SCAN_HWIF, args);
> but it requires having a fd already open on the same IDE interface,
> which I can do thanks to my CDROM, but which is incompatible with the setup
> you recommend. Also, he says the code is basically unused, and sometimes
> crashes on him; and also that he can't enable DMA with it.
> I'll test when I have my monitor repaired (Grrr!).
>
> Best regards,
>
> [ "Faré" | VN: Уng-Vû Bân | Join the TUNES project! http://www.tunes.org/ ]
> [ FR: François-René Rideau | TUNES is a Useful, Nevertheless Expedient System ]
> [ Reflection&Cybernethics | Project for a Free Reflective Computing System ]
> Pyramid schemes are illegal. Social Security is a pyramid scheme.
> -- Alan Grimes
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

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