I've made some progress and got a CD to play... here's what I did:

tail -f /var/log/messages gives the following just after cd is ejected:
"Jun 20 17:52:22 localhost kernel: [17179920.660000] cdrom: dropping to single 
frame dma"

dmesg also reports:
"[17179920.660000] cdrom: dropping to single frame dma"

I tried disabling dma on the device (hdparm -d0 /dev/hdd) but I still
got the same message in /var/log/messages and dmesg and the CD still
ejects under gnome.

As requested, I dropped down to a console and stopped gdm/X. I attempted
to play an audio cd with a console based cd player (cdcd) and was able
to play the cd without issues.

So it looks like an X/gnome issue.

I therefore restarted X. I figured I'd have a go at eliminating
possibilities so I issued a "killall gnome-volume-manager" and tried
playing the audio cd again.  Naturally since gvm wasn't there to
autostart it, I had to start sound-juicer manually, but I was then able
to play the CD without problems.

Interestingly the cd still showed up on the desktop as usual (guessing
it's nautilus at work). So the issue is definitely gnome related and
seems to be related to (if not caused by) gnome-volume-manager.
Obviously, killall is not a good long term solution though :)

-- 
CDROM drive eject disc after randomly seconds of use
https://launchpad.net/bugs/47516

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to