From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 08:33:37 2007 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9743916A417 for ; Thu, 1 Nov 2007 08:33:37 +0000 (UTC) (envelope-from freebsdathome@shaw.ca) Received: from pd7mo4no.prod.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7491713C4BC for ; Thu, 1 Nov 2007 08:33:37 +0000 (UTC) (envelope-from freebsdathome@shaw.ca) Received: from pd5mr3no.prod.shaw.ca (pd5mr3no-svcs.prod.shaw.ca [10.0.144.214]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JQT0043IGXU0F30@l-daemon> for FreeBSD-questions@freebsd.org; Thu, 01 Nov 2007 01:32:18 -0600 (MDT) Received: from pd6ms1no.prod.shaw.ca ([10.0.145.192]) by pd5mr3no.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JQT005NVGXTLI60@pd5mr3no.prod.shaw.ca> for FreeBSD-questions@freebsd.org; Thu, 01 Nov 2007 01:32:18 -0600 (MDT) Received: from shaw.ca (pd6ms1no-con [10.0.145.192]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JQT00C4NGXTGSE0@l-daemon> for FreeBSD-questions@freebsd.org; Thu, 01 Nov 2007 01:32:17 -0600 (MDT) Received: from [10.0.144.232] (Forwarded-For: [10.0.146.232]) by pd6ims1.prod.shaw.ca (mshttpd); Thu, 01 Nov 2007 00:32:17 -0700 Date: Thu, 01 Nov 2007 00:32:17 -0700 From: Andriy Babiy In-reply-to: <1193848470.4728ae96f115f@webmail.rawbw.com> To: FreeBSD-questions Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7bit Content-disposition: inline X-Accept-Language: en Priority: normal References: <1193848470.4728ae96f115f@webmail.rawbw.com> Cc: Yuri Subject: Re: Getting errors writing large iso image to DVD (bug in atapi driver?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 08:33:37 -0000 ----- Original Message ----- From: Yuri Date: Wednesday, October 31, 2007 11:05 Subject: Getting errors writing large iso image to DVD (bug in atapi driver?) To: freebsd-questions@freebsd.org Cc: yuri@tsoft.com > I am trying to write iso image to blank DVD-R. > Every time I try (with a new blank disk of course) I get this error: > > 4534108160/4691437568 (96.6%) @15.8x, remaining 0:10 RBU > 100.0% UBU 53.1% > :-[ WRITE@LBA=21df50h failed with SK=3h/ASC=0Ch/ACQ=00h]: > Input/output error > :-( write failed: Input/output error > /dev/pass0: flushing cache > /dev/pass0: updating RMA > /dev/pass0: closing disc > > And dmesg says: > g_vfs_done():acd0[READ(offset=4290936832, length=65536)]error = 5 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > g_vfs_done():acd0[READ(offset=4290936832, length=4096)]error = 5 > acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > g_vfs_done():acd0[READ(offset=4290940928, length=65536)]error = 5 > > ISO file is very large, almost at the limit: 4691437568 bytes. > (limit is > 4700000000+tiny bit). > I use command 'growisofs -dvd-compat -speed=16 -Z > /dev/cd0=my.iso' to write. > And my burner is brand new PIONEER DVD-RW DVR-112D 1.21. Burned > only 5-6 DVDs yet. > > Why would is such error be reproducible? > I vaguely remember that my old writer (Sony) had similar problem > and particular > large iso images were reproducibly failing with the similar message. > > Does this suggest that ATAPI driver has some bug? > > Thanks, > Yuri > > FreeBSD xxx.xxx.xxx 6.2-STABLE FreeBSD 6.2-STABLE #9: Tue > Oct 2 01:27:22 PDT > 2007 > yuri@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC i386 Just a question: do both DVD disks and DVD writer have a maximum speed limit x16? I am asking because I experienced similar problem on TDK disks; in my case the speed limit was x8. The writer managed to successfully write some disks while failing on others. After I have limited speed to x4, all the disks were written successfully. It looks like when I go maximum, the disk quality is in question. Have you tried setting the speed limit below the maximum? HTH, Andriy