Re: CD tray closes spontaneously after opening it

From: Frans Pop
Date: Tue Sep 30 2008 - 08:36:00 EST


On Tuesday 30 September 2008, Frans Pop wrote:
> Hmm, in Debian unstable /etc/udev/rules.d/60-persistent-storage.rules
> also has:
> # skip removable ide devices, because open(2) on them causes an events
> loop KERNEL=="hd*[!0-9]", ATTR{removable}=="1",
> DRIVERS=="ide-cs|ide-floppy", \ GOTO="persistent_storage_end"
>
> I wonder if we've got a simple case of a typo here: ide-cs instead of
> ide-cd? However, there is such a thing as an ide-cs driver (legacy
> driver for PCMCIA IDE/ATA disk cards).
> But it does seem logical that rule should also cover IDE CDs...

Well, in upstream udev 128 the comment for that rule has been changed to:
# never access non-cdrom removable ide devices, the drivers are causing
# event loops on open()

So it looks like that's not it either.
--
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/