LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 10-22-2001, 05:39 AM   #1
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
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?
 
Old 10-22-2001, 11:37 AM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
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.
 
Old 10-22-2001, 11:45 AM   #3
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
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....
 
Old 10-22-2001, 11:46 AM   #4
GOLDF1NG3R
LQ Newbie
 
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24

Rep: Reputation: 15
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
 
Old 10-22-2001, 11:50 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake doesn't unmount/eject devices kriidler Linux - Newbie 6 06-12-2005 12:27 PM
CD Tray do not eject in Red Hat 9 anindyanuri Linux - Hardware 4 02-10-2005 09:12 AM
switch unmount for eject in gnome? tallest Linux - Software 2 02-08-2005 11:19 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 07:33 PM
red hat 9.0.93. -beta red hat 10-xmms problem ronss Red Hat 1 09-08-2003 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration