DVD/CD rom unmount problem

Andy Green andy at warmcat.com
Sat Apr 2 09:55:14 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin wrote:
| Why do I have to reboot to change DVD/CDs?  This is
| driving me crazy!  It works sometimes, then all of a
| sudden it refuses to unmount, refuses to eject, tells
| me that it is already unmounted, or any random
| combination of the above.  I resorted to the old
| paperclip which made things worse!  I try umount -f
| /dev/cdrom, umount -f /dev/hdc nothing, it reports
| that it is not mounted, and sometimes that it is
| busy.....AAARRRGGGHHH!

Cool command:

lsof -n | grep /dev/cdrom

This will show if any process has an open file handle on /dev/cdrom.
There have been problems with gam_server IIRC fondling your cdrom.  If
that is who is touching it (and so stopping the unmount) have a google /
look through bugzilla about gam_server.

Another way to get the problem is if you have a terminal open with your
cdrom mountpoint as the current working directory.  That'll show up from
lsof -n too.

- -Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCTmwCjKeDCxMJCTIRAplPAJ96x51JaQZ8/6NrZaqNM/HjAtSgygCgi5xl
zvOWVH4cicNA06Dma0Z7IAQ=
=lN/k
-----END PGP SIGNATURE-----




More information about the users mailing list