LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't eject dvd rom (https://www.linuxquestions.org/questions/linux-general-1/cant-eject-dvd-rom-86883/)

boda 08-29-2003 02:49 AM

can't eject dvd rom
 
Hello everybody

I have a problem
I can't eject my cdrom, if i try it I receive an error

cdrecord: input/output error

I also tried this: dmesg | grep hd[a-z]

And then i receive this error:

hdd: dvd drive
...
hdd: irq timeout: status 0xd0 (busy)

Does somebody have a solution?

thank you

Boda

Hangdog42 08-29-2003 07:04 AM

Did you unmount it before you tried to eject it? If it really is hdd then the command would be

unmount /dev/hdd

Then try to eject it.

siyeclover 08-29-2003 09:07 AM

leave the DVD's directory before u eject it.


siyeclover

boda 08-30-2003 03:18 AM

Yes, i tried to unmount it and then there's a message shown that it already is unmounted. I will now try to reboot the machine, maybe this solves the case.

Thank you

Greetzz boda

enigmasoldier 08-31-2003 03:26 AM

Make a script to unmount and eject the dvd drive for you.

==========start cutting below this line===========
#!/bin/bash
umount /dev/hdd
eject /dev/hdd
==========end cutting above this line============

save this script as /bin/ejectdvd or something along those lines

Make the script executeable with a:
chmod 755 /bin/ejectdvd

If you don't want to save it in the /bin directory then make a scripts subfolder under your home directory and add that folder to your path.

Alternatively...
a simple
umount /dev/hdd && eject

would probably work the && will execute the second command as long as the first command executes successfully.


All times are GMT -5. The time now is 07:28 PM.