Re: [2.6.18-rc2-mm1] libata cdroms not automounted

From: Mark Lord
Date: Fri Aug 04 2006 - 10:03:18 EST

Tejun Heo wrote:
J.A. Magallón wrote:

Following with my switch to libata for everything...
After latest patches, my burner and dvd work ok, apart from the fact that
they do not get auto-mounted in gnome environment.
udevmonitor shows nothing when a CD is inserted.

Media insertion is not notified to user space via udev, so userspace implement cd automount by polling. IIRC, back when libata ATAPI support was premature, we had quite a few bug reports regarding error messages generated by those polling activities. Maybe your distribution disabled polling for SCSI cdroms for that reason. I seem to recollect the polling was done by some gnome daemon, not sure which though.

The problem at the time was that libata error handling was horribly broken
and would randomly lock up the system from time to time. Since CD autopolling
triggers a libata error each time it is done (1 or 2 times per second..),
it tended to trip over the libata EH bug and kill the system quite often.

I don't know what the distros did about it, other than patch the kernel
once we identified the issue.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at