ide hotplug and 2.4.1

From: Ian Soboroff (
Date: Thu Feb 01 2001 - 09:27:02 EST

i've started playing with 2.4.1 on my Dell Latitude CS and it's pretty
peppy; my only complaints are PCMCIA-related, which i think i'll solve
by using the standalone package...

anyway, my real question is this. i noticed the new options for
hotplug, and am wondering if i can use this with my laptop. the
Latitude CS has a port on the side, with which you can connect a cable
that hooks up to either a floppy drive or a CDROM.

if you boot the machine cold with the CDROM attached, linux notices it
on a second IDE bus (/dev/hdc). if you boot without it, /dev/hdc
isn't there. if you plug in the CDROM while the system is running,
there is a noticeable pause for a couple seconds, which seems to imply
some kind of BIOS action or interrupt or something happens which could
be caught.

back in 2.2.x, i used to build IDE as a module, and after plugging up
the CDROM do a 'rmmod ide-probe; modprobe ide-probe' which had a
pretty good success rate. i'm hoping maybe the 2.4.x hotplug features
have made this obsolete.

(plugging up the floppy drive always works, because PC floppy
controllers are too dumb to care if they actually have a drive


Ian Soboroff                             
University of MD Baltimore County
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:12 EST