Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2011 01:29:06 -0800 (PST)
From:      "Ronald F.Guilmette" <rfg@tristatelogic.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/162609: Cannot write to Sony DRU-835A DVD drive
Message-ID:  <20111116092906.79F9450838@segfault.tristatelogic.com>
Resent-Message-ID: <201111160930.pAG9U8Ux028100@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162609
>Category:       kern
>Synopsis:       Cannot write to Sony DRU-835A DVD drive
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 09:30:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
entropy
>Environment:

FreeBSD 8.2-RELEASE amd64 GENERIC

>Description:

I have a Sony DRU-835A multi-format CD/DVD burner that I've had for some long
time now.  I had serious problems getting it to write either CDs of DVD under
FreeBSD 7.0 so I put it on the shelf and was planning to just take it to the
recyclers, but today I decided to re-test it.

First I tested it uder Windoze 2000.  There it has no problems.  I can from it,
and I can use Nero to write DVDs on it under Windowze 2000.

Then I tried re-testing it on on a freshly installed FreeBSD 8.2/amd64 system.
Here again, it can be used for _reading_, but I get only errors (strange ones?)
when trying to write to it.

First I tried writing a pre-made .ISO image file to a good quality (Verbatim)
blank DVD+R disk using the drive and that crapped out after about 30-40
seconds.  When it dies, there is a console error saying:

	acd0: FAILURE WRITE_BIG timed out

Meanwhile, the user gets the following errors at the same time:

	:-( unable to Write@LBA=0h: Input/output error
	:-( write failed: Input/output error

(Note that the "progress" message from growisofs up to that point all indicate
0.0% actually written, and indeed after I pop out the blank DVD, it appears
that nothing at all has been written to it.)

Trying to use this same Sony drive to write a pre-made .ISO image file to a
blank CD (rather than a blank DVD) produced some rather different results.
On the first try, the user session actually locked up and it no longer even
seemed to be accepting keyboard input... at least for a couple of minutes or
more.  Meanwhile, in the console window, the following messages were produced:

Nov 16 00:04:57  kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly
Nov 16 00:04:57  kernel: acd0: FAILURE - TEST_UNIT_READY timed out
Nov 16 00:06:57  kernel: acd0: WARNING - PREVENT_ALLOW taskqueue timeout - completing request directly
Nov 16 00:08:57  kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly
Nov 16 00:10:57  kernel: acd0: WARNING - READ_TOC taskqueue timeout - completing request directly
Nov 16 00:12:57  kernel: acd0: WARNING - READ_TOC taskqueue timeout - completing request directly

A few minutes after this, the system decided entirely on it own that it was
time for a reboot, and it rebooted.

Strangely, I subsequent attempt to write the same .ISO file (again using
burncd) to the same drive and with the same blank CD went just fine.  There
were a couple of odd consol messages at the end, to wit:

Nov 16 00:18:19  kernel: acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 
Nov 16 00:18:19  kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x21 ascq=0x00 

but I verified that the CD that had been produced was in fact written correctly
and was just fine.


>How-To-Repeat:

Get yourself a Sony DRU-835A and try writing DVDs and/or CDs with it under
FreeBSD... anything from 7.0 thru 8.2.

>Fix:

I have no idea how to fix this.  I am not really a drivers kinds of guy.
However I'll be happy to try to work with anybody who knows the guts of the
IDE driver to try to sort this out.  If worse comes to worse, I can even mail
the drive to anybody (in the U.S.) who is willing and able to research thus
further.

Obviously anything (like this drive) with a PATA interface is going the way
of the dinosaurs, but it is troubling that just trying to write a CD on this
apparently caused an outright kernel crash, although I'm not sure how
reproducible that is... it may be a Heisenbug. :-(
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111116092906.79F9450838>