LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-21-2005, 04:03 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Why is cdrom always Device BUSY


FC3 can't mount or umount /media/cdrecord always busy.
What gives with Fedors cdrom problems, trying to burn a cd
even under root is a problem xcdroast or k3b , always can't
find /dev/hdc. And then again somtimes I can burn a Cd.
Even with a new Cd/DVD/burner
Frustrated

Jim

Last edited by mickeyboa; 02-21-2005 at 04:05 PM.
 
Old 02-22-2005, 12:33 AM   #2
dhenjhidz
LQ Newbie
 
Registered: Feb 2005
Location: Philippines
Distribution: Fedora 3
Posts: 4

Rep: Reputation: 0
i had the same problem before but what i did is install the latest udev update form the fedora update site and everything is ok now. i can burn cd even when not root i do not encounter anymore problems with unmounting the cdrom.hope that helps
 
Old 02-22-2005, 04:11 AM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
It doesn't make any difference what version of udev up to .6 I still have the same problem..

Jim
 
Old 02-22-2005, 07:45 PM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
This problem even exist in SU.
# umount /dev/hdc /media/cdrecorder
umount: /media/cdrecorder: device is busy

This happens on two different PCs and a Laptop.
It doesn't make any difference as to what version of udev is installed.
Boy is this frustrating.

Jim
 
Old 02-23-2005, 03:42 AM   #5
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
hey,

this isn't too much of an issue, I had the same thing with my ipod mini (do not disconnect) To solve it type
$eject /dev/hdc

I had to use eject /dev/sda (cos its a usb device) and you may have to run it as root.

Hope that helps (and works!!)

Dave
 
Old 02-23-2005, 04:20 AM   #6
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
That works sometimes, but most the times being SU doesn't help.
What is the command for killing autorun

Jim
 
Old 02-23-2005, 05:41 AM   #7
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
I'm afraid I'm a suse user so not familiar with FC at all, but this excerpt from the suse website should work on both (shouldn't it?)


"Situation

You are not comfortable with the automatic mounting via submount implemented by default in SUSE LINUX 9.1 and later for removable media (floppy, CD, and DVD)

Procedure

For the floppy, CD, and DVD drives, this can easily be done by editing the file /etc/fstab. For example, for a DVD drive and a floppy drive, simply change the respective lines from

/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0

to

/dev/dvd /media/dvd auto ro,noauto,user,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy auto noauto,user,exec,sync 0 0
 
Old 02-26-2005, 07:57 AM   #8
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Phyrexicaid, I tryed your ideal that they use in Suse , FC3 just wasn't
fazed by it, I still get the device BUSY.
Surely the FC project leaders must see there is a problem here,
nobody is that blind to what's going on.
Or maybe they are perplexed also.
Thanks for your help.

Jim
 
Old 02-26-2005, 02:26 PM   #9
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Below is a command I picked up off of Google to use ,to determind what programs that is using your
Device to make it BUSY all the time. I ran the command :
/usr/sbin/lsof | grep /media/cdrecorder1 | awk '{ print("PID: ["$2"] COMMAND: ["$1"] USER: ["$3"]") }'

And this is the result I got, but does anyone understand what this PID is and is it determental to shutdown ?

PID: [4887] COMMAND: [gam_serve] USER: [mickey]

Thanks
Jim
 
Old 02-28-2005, 01:58 PM   #10
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Quote:
Originally posted by mickeyboa
Below is a command I picked up off of Google to use ,to determind what programs that is using your
Device to make it BUSY all the time. I ran the command :
/usr/sbin/lsof | grep /media/cdrecorder1 | awk '{ print("PID: ["$2"] COMMAND: ["$1"] USER: ["$3"]") }'

And this is the result I got, but does anyone understand what this PID is and is it determental to shutdown ?

PID: [4887] COMMAND: [gam_serve] USER: [mickey]

Thanks
Jim
PID = process ID
To kill a PID use the command

kill [PID]

Check out the man pages for
kill
killall

Also checkout the commands
ps -aux
top
they list the current processes running
 
Old 02-28-2005, 11:32 PM   #11
dwight1
Member
 
Registered: Feb 2005
Posts: 42

Rep: Reputation: 15
I think `/usr/bin/lsof /media/cdrecorder` will also get you the information you want, with a little less typing.

Also, if the `kill PID` doesn't work, try doing a `kill -9 PID`.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/: Device busy? ginda Linux - Newbie 4 02-02-2005 04:29 PM
CDrom busy m2stian Linux - Hardware 2 11-28-2004 11:54 AM
Device is busy anamika123 Linux - General 6 09-19-2004 11:58 AM
Device is Busy...??? GrumpyGnome Linux - Software 2 07-01-2004 11:43 AM
Device is busy juanb Linux - General 5 11-05-2003 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:59 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