LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2005, 11:41 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
can't eject a cd


when I mout a cd and open this cd then, after, I umount the same ce but a can no eject the cd, not if a click on cd bottom (don't open).
Why?
How can i dolve this problem?
slack10.1
 
Old 04-30-2005, 12:35 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Try to eject it with command-line then see if it outputs error

eject /dev/<your cdrom device>
 
Old 04-30-2005, 12:53 PM   #3
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
It's probably a permissions problem, so what you'll need to do is run chmod +rwx /dev/cdrom or wherever your CD drive is located.
 
Old 04-30-2005, 01:39 PM   #4
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Or you are still in the cdrom directory, even after umounting.
 
Old 04-30-2005, 02:22 PM   #5
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
I can eject with the command:
eject /dev/sr0
But the problem not begin when I install slack. It begins today. In the last week the cdrom works fine.
 
Old 04-30-2005, 02:26 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
You try to eject the cd from kde right click on the cd icon ?
 
Old 04-30-2005, 02:52 PM   #7
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
Yes I do.
But the curious it's about 10 min after I umount the cd, I can remove the cd from the drive. Maybe It's any process that not stop imediatly.
 
Old 04-30-2005, 03:00 PM   #8
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 138Reputation: 138
I occasionally get this problem, usually caused by an open audio process, to fix it I use the following:

Try the following code as root

Code:
lsof /dev/sr0
It will tell you if there are any open files associated with your cdrom, if there are you can kill them with

Code:
kill PID
Where PID is the number of the process.
 
Old 04-30-2005, 03:15 PM   #9
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
I did:

lsof /dev/sr0

and the output was:

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
kdeinit 2990 helder 12r BLK 11,0 354593 /dev/sr0

So I did:
kill 2990

and the I can open the cd drive. It seams that the umount cd don't unmount immediately.
 
Old 05-01-2005, 06:44 PM   #10
fast_rizwaan
Member
 
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
Try Supermount to eject and mount cd automatically

that's the reason i write this MINI HOWTO:

http://www.linuxquestions.org/questi...slackware+10.1

Supermount allows WINDOWS like CD behavior
1. no mounting/unmounting required
2. you can eject your cd by pressing the eject button on your driver ANYTIME
3. even when you are using the drive!!!

or IF you can't compile supermount (which is very unlikely)

here is the DEADLY command to eject your CDROM at any cost!!!

cdrecord -eject
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
cd eject? mithereal Debian 6 08-09-2005 09:36 AM
CD won't eject... Vermis Fedora 4 02-03-2005 09:36 PM
CD Won't Eject With "eject" Command Dr. Ephemeron Slackware 13 11-13-2003 12:27 AM
Cant eject bkxsammy Linux - Hardware 1 11-13-2002 05:55 PM

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

All times are GMT -5. The time now is 08:52 AM.

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