2001-02-01 14:33:53

by Ian Soboroff

[permalink] [raw]
Subject: ide hotplug and 2.4.1


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
attached).

ian

--
----
Ian Soboroff [email protected]
University of MD Baltimore County http://www.cs.umbc.edu/~ian


2001-02-01 20:04:14

by Andre Hedrick

[permalink] [raw]
Subject: Re: ide hotplug and 2.4.1


Nope........you have to wack subdrivers and flush things.
Cheers,

On 1 Feb 2001, Ian Soboroff wrote:

>
> 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
> attached).
>
> ian
>
> --
> ----
> Ian Soboroff [email protected]
> University of MD Baltimore County http://www.cs.umbc.edu/~ian
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
Linux ATA Development