CD doesn't eject from the drive.

Jerry McAllister jerrymc at msu.edu
Thu Sep 17 14:58:14 UTC 2009


On Wed, Sep 16, 2009 at 09:22:10PM -0700, Yuri wrote:

> I have PIONEER Model DVD-RW  DVR-112D.
> I started the command "cdda2wav -v255 -D5,0,0 -B -Owav" to grab audio 
> but stopped it with Ctrl-C.
> Now disk doesn't eject. Both "eject" command and "cdcontrol -f /dev/acd0 
> eject" commands hang, and system log gets messages, see below.
> 
> It seems like a bug in atapi driver, since it didn't clear the state of 
> cdrom hardware after controlling app died.
> 
> Anybody knows how to eject the disk now without rebooting?

Do you have some process active in the CD image - such as is some
process or shell (X-window or whatever) CD-ed to somewhere in the 
mount point of the DVD.    eg, say you mounted the DVD at  /cdrom
and then did a   cd /cdrom/song   or whatever or some process you 
were using such as the 'cdda2wav' utility CD-ed to it and was left
there.    For example, after you did the CTRL-C, it quit right there
and stayed  CD-ed to the image.

In that case, it will not eject, either under program control or
manually.   The solution is to make sure there is no process or shell
that is CD-ed to the image.

////jerry


> 
> 72-STABLE.
> 
> Yuri
> 
> 
> ---- messages ----
> acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request
> acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request 
> directly
> acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request
> aaccdd00::  WWAARRNNIINNGG  --  PRREEAVDE_NTTO_CA LtLaOsWk qtuaesukeq 
> uteiumee otuitm e-o ucto m-p lceotmipnlge trienqgu ersetq udeisrte cdtilryec
> tly
> acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie request
> acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request 
> directly
> acd0: WARNING - READ_TOC freeing taskqueue zombie request
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list