retitle 550316 broken cd-rom polling/detection with (legacy) ide-cd
thanks

Josselin Mouette wrote:
> As requested on IRC, I tested this quick hack to work around broken code
> that identifies CD drives (my drive being /dev/hdb):

...

> With this, the CD isn’t locked anymore and I can insert disks into it,
> but it is still not usable by nautilus, which behaves as if no media was
> introduced in the drive. After that my kernel logs are full of scary
> error messages:

All replies so far indicate that this behaviour only happens for systems using
ide-cd/ide-core, i.e. the old IDE subsystem.

The code also makes assumptions (see the is_cdrom check) that only the new
libata subsystem is in use, so the cd-rom drive is opened with the wrong flags
causing the drive to be retracted when it is polled.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to