Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-22-2001, 05:39 AM
|
#1
|
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028
Rep:
|
Red Hat 7.1 unmount/eject problem.
I have experienced some problem with Red Hat 7.1 and Gnome.
When I insert a CD it get's automatically mounted and the filemanager pops up.
Fine, but sometimes when for example I have played mp3 from a CD and try to unmount/eject the cd it refuses.
It says the device is busy.
I have tried to figure out what is wrong but can't come to a solution but to reboot, very annoying.
I have the drive applet running for both floppy and cd, never had a problem with floppy though.
I tried to unmount manually as root with both umount /mnt/cdrom and
also with umount -f /mnt/cdrom wich is supposed to force.
Nothing works, always get "device busy"
I have double check that I'm not standing in the /mnt/cdrom directory anywhere.
No running program is accessing the drive.
I wonder if anyone have had the same problem and if there might be solution to the problem?
|
|
|
10-22-2001, 11:37 AM
|
#2
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
No, I don't think you're stupid, but... are you still playing the cd when you want to unmount/eject it? or are you in the /mnt/cdrom directory possibly listing the contents? Before trying to unmount the drive make sure you do something like "cd ~" or "cd /" then do the unmount. The system will see the directory as busy if you are cd'd to the directory or if the cdrom is being read from.
|
|
|
10-22-2001, 11:45 AM
|
#3
|
Member
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105
Rep:
|
ugge:
I stopped using Gnome a couple of months ago because I prefer KDE, but now that you mention it I did experience the same issue. Unfortunately, I don't have a solution ( unless you consider switching to KDE a solution ). I remember thinking at the time that either XMMS or X was not releasing the resource correctly....
|
|
|
10-22-2001, 11:46 AM
|
#4
|
LQ Newbie
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24
Rep:
|
try using the `fuser` utility to find out which processes are keeping the device busy.
eg.
fuser /mnt/cdrom or fuser /dev/cdrom
(I think!)
`man fuser` should give you a better explanation of this!
Hope this helps
Chris
|
|
|
10-22-2001, 11:50 AM
|
#5
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
I have had similar problems with all version of Mandy that I've used. I have even had this message after I have ejected and removed the media (my DVD drive will allow you to eject the media even if it's still technically being accessed - it's one of those front loading, not tray jobbies).
I have found, however, that the problem sorts itself out after a few minutes. I just keep 'umount /mnt/cdrom2'ing the device and eventually it works (BTW I don't have the automount thing on).
The only thing that I could come up with (and I have yet to prove it) is that the media was of low quality (to the point where I sometimes couldn't read it under Windows, but Linux would still see the files/data).
|
|
|
All times are GMT -5. The time now is 03:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|