From edwin@mavetju.org  Sun Jan  8 23:35:48 2006
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7D1D716A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jan 2006 23:35:48 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7287A43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jan 2006 23:35:46 +0000 (GMT)
	(envelope-from edwin@mavetju.org)
Received: by mail2out.barnet.com.au (Postfix, from userid 27)
	id 61F597073C7; Mon,  9 Jan 2006 10:35:45 +1100 (EST)
Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK))
	by mail2.barnet.com.au (Postfix) with ESMTP id D9E057073B6
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jan 2006 10:35:44 +1100 (EST)
Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mail2-auth.barnet.com.au (Postfix) with ESMTP id 2DC037073B1
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jan 2006 10:35:44 +1100 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 20791294; Mon,  9 Jan 2006 10:35:43 +1100 (EST)
Message-Id: <20060108233543.20791294@k7.mavetju>
Date: Mon,  9 Jan 2006 10:35:43 +1100 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: burncd -t feature strangeness
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91536
>Category:       bin
>Synopsis:       burncd(8): burncd -t feature strangeness
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 08 23:40:02 GMT 2006
>Closed-Date:    
>Last-Modified:  Tue May 12 04:34:49 UTC 2009
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:

When trying to test-burn and really-burn a DVD, I got the following
experience:

    [/home/ftp/pub] root@k7>burncd -t -f /dev/acd0 data dd.iso 
    next writeable LBA 0
    writing from file dd.iso size 7443022 KB
    written this track 7443022 KB (100%) total 7443022 KB

    [/home/ftp/pub] root@k7>burncd -f /dev/acd0 data dd.iso 
    next writeable LBA 3721520
    writing from file dd.iso size 7443022 KB

    Input/output error

So the test run (-t) started at LBA 0, but the real run started at
3721520. The disc doesn't get recognized by a DVD player after this
test, which makes me believe that the disk is written on during the
test burn.

The DVD burner is: <HL-DT-ST DVDRAM GSA-4167B/DL10>

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: bin/91536: burncd -t feature strangeness
Date: Mon, 9 Jan 2006 10:52:56 +1100

 On request of flz@ a couple of more tests:
 
 - When retrying the test now:
       [/home/ftp/pub] root@k7>burncd -t -f /dev/acd0 data dd.iso 
       next writeable LBA 3721520
       writing from file dd.iso size 7443022 KB
 
 - I didn't eject the disk between the test and the real run, but I
   tried it after the first real run failure.
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: bin/91536: burncd -t feature strangeness
Date: Mon, 9 Jan 2006 13:42:02 +1100

 It also happens with cdroms:
 
     /home/edwin/iso] root@k7>burncd -t -f /dev/acd0 6.0-RELEASE-i386-disc1.iso 
     burncd: no data format selected
     [/home/edwin/iso] root@k7>burncd -t -f /dev/acd0 data 6.0-RELEASE-i386-disc1.iso 
     next writeable LBA 0
     writing from file 6.0-RELEASE-i386-disc1.iso size 564852 KB
     written this track 564852 KB (100%) total 564852 KB
 
     [/home/edwin/iso] root@k7>burncd -t -f /dev/acd0 data 6.0-RELEASE-i386-disc1.iso 
     next writeable LBA 282578
     writing from file 6.0-RELEASE-i386-disc1.iso size 564852 KB
     written this track 18976 KB (3%) total 18976 KB
 
 I've asked others to test if -t also plays with their burners.
 
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 9 03:45:46 UTC 2006 
Responsible-Changed-Why:  
Over to author of acd and burncd 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91536 

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: bin/91536: burncd -t feature strangeness
Date: Mon, 9 Jan 2006 14:45:38 +1100

 On Mon, Jan 09, 2006 at 02:50:05AM +0000, Edwin Groothuis wrote:
 >  I've asked others to test if -t also plays with their burners.
 
 Groogle@#thatchannel also reports that on his CDROM burner it happens
 when he uses -t. He suggest that it could be a acd driver issue.
 
 Edwin
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/

From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@deepcore.dk>
To: bug-followup@FreeBSD.org, edwin@mavetju.org
Cc:  
Subject: Re: bin/91536: burncd(8): burncd -t feature strangeness
Date: Mon, 09 Jan 2006 11:19:15 +0100

 You cannot testburn a DVD, its not supported by the spec.
 
 However testburning CD's should work, but some burners do not support 
 it. I'll test if its broken here on a drive I know supports testwriting,
 
 -Sren
Responsible-Changed-From-To: sos->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 12 04:34:23 UTC 2009 
Responsible-Changed-Why:  
sos@ is not actively working on ATA-related PRs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91536 
>Unformatted:
