Click to See Complete Forum and Search --> : help figuring out how to force the cd-rom to eject in slackware 9.0


templest
09-24-2003, 09:19 PM
Slackware 9.0 is feeding me this crap that the CD-Rom drive is currently Busy... Actually, no, it isn't and I need to put a CD in to install Java. Did a google search and came up with nothing... did some searching around in this site but didn't get results as for TFM ... nothing on the subject. I'm lost, can anyone help me? I tried the usual: "umount /mnt/cdrom" but it says it's busy. Annoying as hell. I'm not going to wait 3 minutes everytime I want to swap discs becuase I have to restart TFC(omputer).

Thanks,
Templest

elderdays
09-24-2003, 09:20 PM
Paperclip time!

Fryguy8
09-24-2003, 09:44 PM
if there is a disk in the drive and ANY prompt is within the mounted directory structure, you are going to get an error that it's busy.

Make sure that NO terminals are in the mounted directories.

razor_01
09-24-2003, 09:48 PM
Are you sure that is not busy! When I recieve that guess what it is. By the way I am running slack 9.0 without that problem. Maybe a hardware problem?

drummerboy195
09-24-2003, 09:55 PM
as root, try

eject cdrom

it works for me in mandrake. it automatically unmounts and ejects it.

terribleRobbo
09-24-2003, 10:21 PM
Gnome or KDE (if you're using either of them) can be set up to 'automount' drives, and won't let go of them until you 'unmount' them from the Gnome/KDE desktop.

Just a thought.

Satanic Atheist
09-25-2003, 07:01 AM
I've had a problem whereby there is NOTHING accessing the CDROM drive and the current directory is outside the mountpoint, but the drive still fails to eject or even unmount. I use Supermount, BTW.

Eventually, I found the problem was Konqueror. Apparently it doesn't leave the directory even if you tell it to. You have to actually close it down to eject the disk.

Interesting shortcut: to load Konqueror quickly, go to a blank virtual desktop (i.e. no apps running) and hit enter.

James

mdwatts
09-25-2003, 04:14 PM
Originally posted by Satanic Atheist

Eventually, I found the problem was Konqueror. Apparently it doesn't leave the directory even if you tell it to. You have to actually close it down to eject the disk.


I've had the same problem with certain versions of Konqueror and have to do the same (close Konqueror) to be able to umount a device (cd, floppy or partition mountpoint).

templest
09-26-2003, 01:30 PM
I've done those all... that's why I resorted to posting the question in the forums.
umount is a no go. Tried it with all consoles closed. I ever tried "eject" by pressing "alt-F2" in GNOME. (I don't use KDE). Even tried logging out completely and then logging in as root to eject. same thing. Device is Busy it says. It will work more often than not (unmounting) but when it doesn't I have to restart PC to use it. This is really annoying. Specially whne you have to do something that requieres CD swapping a lot. (ie: burning my original disks to back-up copies). Any other suggestions?

ph34r
09-26-2003, 01:59 PM
What does

lsof | grep /mnt/cdrom


show?

Satanic Atheist
09-26-2003, 08:38 PM
Well, that was my problem - Konqueror.

You may wish to try

> ps -aux

And find out what's happening... This is definitely odd.

You should have all terminals closed after shutting down X, and if you accessed anything through the virtual terminals (ALT+Fx then they'll remain active and could be the cause of your problems.

James