LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   cdrom keeps freezing up (http://www.linuxquestions.org/questions/debian-26/cdrom-keeps-freezing-up-412783/)

DanTaylor 02-07-2006 07:09 PM

cdrom keeps freezing up
 
When I run Kpackage in kde3.3 and install more than a few packages, my
cdrom freezes up. It won't eject, and it tells me that it is busy. What can I do?

Dead Parrot 02-08-2006 01:02 PM

To see what processes lock your cdrom drive, you can use the "fuser" command (from psmisc package) or "lsof" (from lsof package).

Supposing your cdrom is /dev/hdc, you can try these commands:

$ fuser /dev/hdc
# lsof /dev/hdc

Then you can kill the misbehaving process(es) and unmount your cdrom drive with the "eject" command. If unmounting the cdrom with "eject" doesn't seem to work, you can set the "setuid to root" bit for "eject" by running as root "chmod 4755 /usr/bin/eject".

More info here: http://www.crazysquirrel.com/computi...nmounting.jspx

DanTaylor 02-09-2006 12:25 AM

thanks for the help.


All times are GMT -5. The time now is 12:45 PM.