[opensuse] CD question
Hi all, Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting? Thanks, JIM -- Jim Hatridge Linux User #88484 Ebay ID: WartHogBulletin ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.WartHogBulletin.de Many Enemies -- Much Honor! Anti-US Propaganda stamp collection http://www.manyenemies-muchhonor.info An American in Bavaria http://www.gaubodengalerie.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Many drives have a small hole, where you can insert a piece of stiff wire, to force an eject. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 5/31/07, James Knott <james.knott@rogers.com> wrote:
James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Many drives have a small hole, where you can insert a piece of stiff wire, to force an eject.
They sell those stiff wires in a nice convenient bent over shape. You just unbend it and stick in the hole with a little bit of force. They can even multi-task as paperclips, but I rarely use them for that. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Freemyer wrote:
On 5/31/07, James Knott <james.knott@rogers.com> wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying
James Hatridge wrote: that the
CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Many drives have a small hole, where you can insert a piece of stiff wire, to force an eject.
They sell those stiff wires in a nice convenient bent over shape. You just unbend it and stick in the hole with a little bit of force.
They can even multi-task as paperclips, but I rarely use them for that.
Greg
A word of caution, this is a manual release originally intended for use when the unit has powered down. Using this when the device is actually doing something is probably not wise, unless you know that the release mechanism has been designed to kill rotation before ejection. I have also been in the situation where software has promptly reloaded the disc (and nearly my fingers in the process). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGX3BHasN0sSnLmgIRAtAtAJ9Q0k2ZXgMS8L4oolKSFMCZz+46KgCg8hR/ gvmSRHRadgY7d6tVqUK9lvA= =ZtXd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Thanks,
JIM
Not clear whether this is when burning or when reading, and which applications you are having a problem with. If it is a data CD try manually unmounting before ejecting. It this fails this most likely means the device is still in use by the application or a process of the application that you last accessed the CD/DVD with. Close the application if possible. If the application has crashed it is possible that the process accessing the device is still running in the background. Use ps to find the process and kill it. Cannot really give info on what to look for without further details. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGXwMMasN0sSnLmgIRAkBRAJ0YqWc9Try+TJThbYSly+CJbIZOSgCeLeqB m+gfBAcrJVX+sv7k/vZxUho= =9qYu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
you can also try eject -m -m -- do not unmount device even if it is mounted Dnia czwartek 31 maj 2007, G T Smith napisał:
James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Thanks,
JIM
Not clear whether this is when burning or when reading, and which applications you are having a problem with.
If it is a data CD try manually unmounting before ejecting.
It this fails this most likely means the device is still in use by the application or a process of the application that you last accessed the CD/DVD with. Close the application if possible. If the application has crashed it is possible that the process accessing the device is still running in the background. Use ps to find the process and kill it. Cannot really give info on what to look for without further details.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
HI all, On Thursday 31 May 2007 19:26, Fazer wrote:
you can also try
eject -m
-m -- do not unmount device even if it is mounted
I'll try this the next time it happens. To go futher into it, problems are normally when the CD will not read correctly and the system just keeps trying and trying to read the CD. I can kill the program, but somewhere the system is still trying to read, there does not seem to be a timeout. JIM BTW, thanks to everyone that helps on this list, you guys are great!
Dnia czwartek 31 maj 2007, G T Smith napisał:
James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Thanks,
JIM
Not clear whether this is when burning or when reading, and which applications you are having a problem with.
If it is a data CD try manually unmounting before ejecting.
It this fails this most likely means the device is still in use by the application or a process of the application that you last accessed the CD/DVD with. Close the application if possible. If the application has crashed it is possible that the process accessing the device is still running in the background. Use ps to find the process and kill it. Cannot really give info on what to look for without further details.
-- Jim Hatridge Linux User #88484 Ebay ID: WartHogBulletin ------------------------------------------------------ WartHog Bulletin Info about new German Stamps http://www.WartHogBulletin.de Many Enemies -- Much Honor! Anti-US Propaganda stamp collection http://www.manyenemies-muchhonor.info An American in Bavaria http://www.gaubodengalerie.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Hatridge wrote:
normally when the CD will not read correctly and the system just keeps trying and trying to read the CD. I can kill the program, but somewhere the system is still trying to read, there does not seem to be a timeout.
it's the inboard system that is faulty, often this mean a failing drive, and the problem is the same whatever OS you use. jdd -- http://www.dodin.net http://gourmandises.orangeblog.fr/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 31 May 2007 18:17:00 G T Smith wrote:
James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
Thanks,
JIM
Not clear whether this is when burning or when reading, and which applications you are having a problem with.
If it is a data CD try manually unmounting before ejecting.
Use ps to find the process and kill it. Cannot really give info on what to look for without further details.
And don't forget the handy lsof command, particularly combined with grepping where the CD has been mounted... Jon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* James Hatridge <James.Hatridge@gmx.de> [2007-05-31 17:32:24]:
Hi all, Lo
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting? In this particular case, I try first to unmount the media and then to eject it. You should also take a look at the output of ps. If you see a process that keeps on your media, kill it. Then if nothing at all works, I try to introduce a little needle in the small hole. Generally it works but I dislike doing that... Guillaume -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 31 May 2007 09:32, James Hatridge wrote:
Hi all,
Sometimes I have a CD/DVD go bad etc and it will not come out of the CD reader. As root I try the eject command and it will not work saying that the CD is busy. So far I've ended up rebooting to get the !"§$ CD out. Is there a way to force the eject command to work without rebooting?
It seems that some processes "hold" the ejection of your CD ROM unit. What you can do is an: lsof -i -P -n | grep "/dev/hdx" or lsof -i -P -n | grep "/media/WHEREYOURCDROMISMOUNTED" This will give you the list of processes that hold your CD. Good luck ! -- David Salgado linux@intelnet.net.gt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (9)
-
David Salgado
-
Fazer
-
G T Smith
-
Greg Freemyer
-
Guillaume R.
-
James Hatridge
-
James Knott
-
jdd
-
Jonathan Ervine