LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2004, 03:45 AM   #1
psa
Member
 
Registered: Aug 2004
Posts: 83

Rep: Reputation: 15
cd doesn't eject in cd-rw & ejects in dvd rom


I inserted a cd-rom in the cd-rw drive, i finished what i'm doing, then i tried to eject using kde, doesnt work... i've also tried lots of diffrent techqniques... like unmounting it, still wont work.. same with my dvd-rom drive, it doesnt work, but when i click on the eject button on the computer (not keyboard, but the box), my dvvd drive ejects, when i do the same thing for the cd-rw, it still has no reactions.. help?
 
Old 08-28-2004, 03:47 AM   #2
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
sorrie, my mistake, both doesnt work..
 
Old 08-28-2004, 04:18 AM   #3
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
type this on the command line

#eject

as far as the other drive its probably called cdrom1 or something if it is cdrom1 youd type this

#eject /mnt/cdrom1

if that pops out the same one just typing eject did then try

#eject /mnt/cdrom2

and so on...you get the point.


linux_terror

-------------------------------------------------------------------------
In the game of life it takes a root prompt to really foul up.
 
Old 08-28-2004, 04:52 AM   #4
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
hm.. works for my dvd rom, but not my cd-rw rom
 
Old 08-28-2004, 05:03 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi try this

#fuser -k /mnt/cdrom

/mnt/cdrom is the path where ur cd rom is mounted
and it will kill any processs accessing it
then
unmount /dev/cdrom
eject /dev/cdrom

regards
 
Old 08-28-2004, 04:53 PM   #6
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
same stuff happens
 
Old 08-28-2004, 05:00 PM   #7
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Any error messages?
 
Old 08-28-2004, 05:31 PM   #8
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
Unable to eject: last error: Invalid arguement
 
Old 08-28-2004, 11:45 PM   #9
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Try to lazily unmount them. Some times helps to be lazy about it

#umount -l /mnt/cdrom
#eject -v /mnt/cdrom

thats a lower case "L" not a pipe. stands for lazy.

Now I'm grasping at straws as you can see.

you can also try the -f option with umount, it stands for force.

check out #man umount and #man eject...maybe you can gleen something from that.

Keep us posted...we're "root"ing for ya!! sry bad joke.

linux_terror

------------------------------------------------------------------------
In the game of life it takes a root prompt to really foul up.
 
Old 08-29-2004, 01:01 AM   #10
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
unmount: command not found..
 
Old 08-29-2004, 01:09 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey

it is "umount"
not "unmount"

regards
 
Old 08-29-2004, 01:14 AM   #12
cogburnjs
LQ Newbie
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
if all else fails on my comp I sometimes have to
umount /dev/cdroms/cdrom0
and
umount /dev/cdroms/cdrom1
 
Old 08-29-2004, 03:21 AM   #13
psa
Member
 
Registered: Aug 2004
Posts: 83

Original Poster
Rep: Reputation: 15
when i try to kill all processes (fuser -k /media/cdrom0) it says no automatic removal and asks me to use umount

when i use umount, it says proccess in use... weird..
 
Old 08-29-2004, 03:42 AM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi
do u get any output of


#fuser /dev/cdrom

any pid????


regards
 
Old 08-29-2004, 03:45 AM   #15
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
I hate to say it but reboot. Then try again.

usually rebooting will reset the cdroms...I've run into issues with resource busy before when i've closed a terminal that has me logged into the /mnt/cdrom directory.

you cannot have anything or anybody in the cdrom directory and umount it.


linux_terror
 
  


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
mount DVD Rom & CD-R/RW ernesto_lelo Slackware 5 10-28-2004 08:38 PM
CD-Rom drive ejects when X-server is started Pcghost Linux - Hardware 2 10-23-2004 10:08 PM
CD & DVD-ROM Mounting Errors JinSeung Linux - General 2 09-10-2004 11:19 PM
Problems with CD-RW & DVD-ROM drive smashkode Debian 3 07-06-2004 06:34 PM
can't eject dvd rom boda Linux - General 4 08-31-2003 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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