Re: CD doesn't eject from the drive.

2009-09-17 Thread Mark
Read man camcontrol before using this. I have a sony that hangs every now and 
then. I also have needed to use reset.

  Command to un-jam dvd tray
To allow removal:
camcontrol cmd cd1 -v -c 1e 0 0 0 0 0




--- On Wed, 9/16/09, Yuri y...@rawbw.com wrote:

 From: Yuri y...@rawbw.com
 Subject: CD doesn't eject from the drive.
 To: freebsd-questions@freebsd.org
 Date: Wednesday, September 16, 2009, 11:22 PM
 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?
 
 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@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CD doesn't eject from the drive.

2009-09-17 Thread Jerry McAllister
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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


CD doesn't eject from the drive.

2009-09-16 Thread Yuri

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?

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org