From nobody@FreeBSD.org  Thu Nov 22 20:46:51 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A49D316A46B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Nov 2007 20:46:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 91A1813C46A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Nov 2007 20:46:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAMKkmDi043264
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 Nov 2007 20:46:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lAMKkmYX043263;
	Thu, 22 Nov 2007 20:46:48 GMT
	(envelope-from nobody)
Message-Id: <200711222046.lAMKkmYX043263@www.freebsd.org>
Date: Thu, 22 Nov 2007 20:46:48 GMT
From: Yuri <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: burncd gives I/O error writing CD on Pioneer DVDR-112D/1.21
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118207
>Category:       bin
>Synopsis:       burncd(8) gives I/O error writing CD on Pioneer DVDR-112D/1.21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 22 20:50:02 UTC 2007
>Closed-Date:    
>Last-Modified:  Fri Nov 28 19:20:03 UTC 2008
>Originator:     Yuri
>Release:        7.0-BETA3
>Organization:
n/a
>Environment:
>Description:
burncd recommended in handbook doesn't work with ATAPI Pioneer DVR-112D/1.21.
I get I/O error every time I try to write CD. No dmesg messages during this failure.

And cdrecord works just fine.

This PR is a followup to the previous one filed against handbook:
http://www.freebsd.org/cgi/query-pr.cgi?pr=118106

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Wayne Sierke <ws@au.dyndns.ws>
To: Yuri <yuri@tsoft.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/118207: burncd gives I/O error writing CD on Pioneer
	DVDR-112D/1.21
Date: Sat, 09 Feb 2008 03:33:51 +1030

 > burncd recommended in handbook doesn't work with ATAPI Pioneer DVR-112D/1.21.
 > I get I/O error every time I try to write CD. No dmesg messages during this failure.
 > 
 > And cdrecord works just fine.
 > 
 > This PR is a followup to the previous one filed against handbook:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=118106
 
 I've just experienced the same with:
 
 acd0: DVDR <PIONEER DVD-RW DVR-111D/1.29> at ata1-master UDMA33
 
 albeit I only tried burncd with -t.
 
 I've not had a good success rate with burncd (prior to this Pioneer it
 was with a LiteOn CD-RW drive). I'll risk producing a few more coasters
 if there are updates to try, preferably with burncd reporting success
 with the -t option first.
 
 Similarly as with Yuri, cdrecord succeeded.
 
 This is with a recent (~ 1 week) RELENG_7.
 

From: Remko Lodder <remko@FreeBSD.org>
To: Yuri <yuri@tsoft.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/118207: burncd gives I/O error writing CD on Pioneer	DVDR-112D/1.21
Date: Sat, 09 Feb 2008 12:56:00 +0100

 Yuri wrote:
 
 Hello,
 
 Please provide us with the I/O error information and if possible issue a 
 burncd -v so that there is verbose information available that might
 tell us more.
 
 thanks,
 remko
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
   X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News

From: Remko Lodder <remko@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/118207: burncd gives I/O error writing CD on	Pioneer	DVDR-112D/1.21
Date: Sun, 10 Feb 2008 10:40:45 +0100

 Record this in the ticket as well so that this doesn't get lost :)
 
 
 Hi Remko,
 
 
 Out of curiosity another run, this time with -d (dao):
 
 # burncd -t -v -d -f /dev/acd0 -s max data /root/7.0-RC1-i386-disc1.iso 
 fixate
 adding type 0x08 file /root/7.0-RC1-i386-disc1.iso size 522028 KB 261014 
 blocks
 next writeable LBA 0
 CUE sheet:
 41 00 00 14 00 00 02 00
 41 01 01 10 00 00 04 00
 41 aa 01 14 00 3a 04 0e
 burncd: ioctl(CDRIOCSENDCUE): Input/output error
 
 (immediate 2nd attempt)
 
 # burncd -t -v -d -f /dev/acd0 -s max data /root/7.0-RC1-i386-disc1.iso 
 fixate
 adding type 0x08 file /root/7.0-RC1-i386-disc1.iso size 522028 KB 261014 
 blocks
 next writeable LBA -150
 CUE sheet:
 41 00 00 14 00 00 00 00
 41 01 01 10 00 00 02 00
 41 aa 01 14 00 3a 02 0e
 burncd: ioctl(CDRIOCSENDCUE): Input/output error
 
 (disk ejected and reinserted)
 
 # burncd -t -v -d -f /dev/acd0 -s max data /root/7.0-RC1-i386-disc1.iso 
 fixate
 adding type 0x08 file /root/7.0-RC1-i386-disc1.iso size 522028 KB 261014 
 blocks
 next writeable LBA -150
 CUE sheet:
 41 00 00 14 00 00 00 00
 41 01 01 10 00 00 02 00
 41 aa 01 14 00 3a 02 0e
 burncd: ioctl(CDRIOCSENDCUE): Input/output error
 
 
 Curiously, all subsequent attempts have all had "next writeable LBA
 -150" even after ejecting disk, until another run was made without -d,
 then "next writeable LBA" reverted to 0. Above results have been
 consistent regardless of -s and fixate.
 
 
 Let me know if there's anything specific you want to see the results of.
 
 
 
 Thanks,
 
 Wayne
 
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
   X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News

From: Yuri <yuri@tsoft.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118207: burncd(8) gives I/O error writing CD on Pioneer DVDR-112D/1.21
Date: Tue, 12 Feb 2008 18:35:11 -0800

 Hi Remko,
 
 With the current 7.0 I can't burn any audio CDs at all, even with the 
 command
 'cdrecord -v -dao -force dev=1,0,0 speed=4 driveropts=burnfree *.cdr' 
 from cdrtools-2.01_6
 that used to work fine few months ago.
 
 cdrecord finishes but produces unreadable CD.
 cdrecord doesn't work on the older SONY writer and current 70 as well.
 Seems like something has changed in kernel that prevents cdrecord from 
 succeeding.
 
 This makes the only workaround not working, therefore this is a major issue.
 
 Should this be added as 7.0 stopper issue?
 Should I file a separate PR for this?
 
 Yuri
 

From: "Remko Lodder" <remko@elvandar.org>
To: yuri@tsoft.com
Cc: bug-followup@freebsd.org
Subject: Re: bin/118207: burncd(8) gives I/O error writing CD on Pioneer 
     DVDR-112D/1.21
Date: Wed, 13 Feb 2008 07:16:45 +0100 (CET)

 On Wed, February 13, 2008 3:35 am, Yuri wrote:
 > Hi Remko,
 >
 > With the current 7.0 I can't burn any audio CDs at all, even with the
 > command
 > 'cdrecord -v -dao -force dev=1,0,0 speed=4 driveropts=burnfree *.cdr'
 > from cdrtools-2.01_6
 > that used to work fine few months ago.
 >
 > cdrecord finishes but produces unreadable CD.
 > cdrecord doesn't work on the older SONY writer and current 70 as well.
 > Seems like something has changed in kernel that prevents cdrecord from
 > succeeding.
 >
 > This makes the only workaround not working, therefore this is a major
 > issue.
 >
 > Should this be added as 7.0 stopper issue?
 > Should I file a separate PR for this?
 >
 > Yuri
 >
 >
 
 No seperate PR's please if we talk about the same issue. I dont see this
 as a show stopper, there are a few edge cases with burncd around, some
 hardware doesnt work while others do. That is not a showstopper, but I can
 imagine that it is annoying for you. I also do not see this as a major
 issue, just something inconvient.
 
 Soren, do you have anything which we should be delivering to you to get
 this up and running? Do you need similiar hardware to be able to see what
 is going on etc? (Yuri you would be involved here).
 
 Thanks,
 Remko
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
 

From: Yuri <yuri@rawbw.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118207: burncd(8) gives I/O error writing CD on Pioneer DVDR-112D/1.21
Date: Fri, 28 Nov 2008 11:19:08 -0800

 Any hope to have this resolved?
 
 I still see this problem with the same Pioneer DVD burner in
 FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Thu Nov 27 
 23:04:23 PST 2008     yuri@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC  i386
 
 I also have these messages in dmesg during failure:
 ata0: FAILURE - non aligned DMA transfer attempted
 acd0: setting up DMA failed
 ata0: FAILURE - non aligned DMA transfer attempted
 acd0: setting up DMA failed
 
>Unformatted:
