Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gimmie Back My CD!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Sat Nov 08, 2003 7:07 pm    Post subject: Gimmie Back My CD!!! Reply with quote

I'm using a Cendyne CD-RW drive, it mounts just fine. I made a link to the device to my desktop for easy access. I'll place a CD in the drive, it mounts, reads the CD and everything seems fine. Until I want to take the CD out. Ejecting always fails, and If I try to unmount it, it tells me that its busy, when its not...cuz I'm no longer using it, closed the window to it. (In this example here I'm using a CD that I burned with some files on it).

Any ideas if there is anything I can change to make this work right?

Thanks you very much.
_________________
I'm not a slacker, I'm just doing what I do best.
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Sat Nov 08, 2003 7:12 pm    Post subject: Re: Gimmie Back My CD!!! Reply with quote

Mystic wrote:
I'm using a Cendyne CD-RW drive, it mounts just fine. I made a link to the device to my desktop for easy access. I'll place a CD in the drive, it mounts, reads the CD and everything seems fine. Until I want to take the CD out. Ejecting always fails, and If I try to unmount it, it tells me that its busy, when its not...cuz I'm no longer using it, closed the window to it. (In this example here I'm using a CD that I burned with some files on it).

Any ideas if there is anything I can change to make this work right?

Thanks you very much.


Sometimes processes can still be using the CD, even when you think you've gotten rid of them all. Emerge 'lsof', and then try the following command (I believe you have to be root, but not sure:

Code:

lsof /dev/cdrom


Of course, replace /dev/cdrom with whatever your CDROM device is...lsof shows what processes are keeping that device open; if there's anything listed, then you know what's keeping your CD from ejecting ^_^
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Nov 08, 2003 7:14 pm    Post subject: Reply with quote

Here is what you need to do to find out what program is keeping you cdrom busy (I suspect kde) :
Code:
# emerge lsof
# man lsof
# lsof /mnt/cdrom
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Sat Nov 08, 2003 7:31 pm    Post subject: Reply with quote

This happens to me all the time.
Just close the terminal. open another one, and unmount...
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Sat Nov 08, 2003 7:41 pm    Post subject: Reply with quote

blueworm wrote:
This happens to me all the time.
Just close the terminal. open another one, and unmount...


That doesn't always do it...fam, for example, which both Gnome and KDE use, sometimes keeps a device open until it times out, which can take a while at times...
Back to top
View user's profile Send private message
Mystic
n00b
n00b


Joined: 30 Oct 2003
Posts: 21
Location: Benson, MN USA

PostPosted: Sat Nov 08, 2003 11:07 pm    Post subject: Reply with quote

Thanks for the help guys!
_________________
I'm not a slacker, I'm just doing what I do best.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum