From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 12 04:54:57 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5799716A4CE for ; Wed, 12 Jan 2005 04:54:57 +0000 (GMT) Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F5AA43D2D for ; Wed, 12 Jan 2005 04:54:57 +0000 (GMT) (envelope-from keebler@mindspring.com) Received: from user-11faknj.dsl.mindspring.com ([66.245.82.243] helo=[192.168.1.100]) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 1CoaX2-0005Ma-00 for freebsd-hackers@freebsd.org; Tue, 11 Jan 2005 23:54:57 -0500 Message-ID: <41E4AE0B.4060907@mindspring.com> Date: Tue, 11 Jan 2005 23:56:43 -0500 From: Carleton Vaughn User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: growisofs killing every other DVD+R X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 04:54:57 -0000 [I originally posted this in -questions, no replies yet] I'm new to this list and how to ask it for help, so please bear with me if I have omitted anything critical or have included too much or am in the wrong place entirely. I'm running: > sally# uname -a > FreeBSD sally.keebler.homeunix.net 4.10-RELEASE FreeBSD 4.10-RELEASE > #3: Mon Dec 27 18:45:53 EST 2004 > root@sally.keebler.homeunix.net:/usr/src/sys/compile/C3 i386 And I recently installed a DVD burnerso that I could do system backups: > sally# dmesg|grep cd1 > acd1: DVD-R at ata1-slave PIO4 > acd1: DVD-R at ata1-slave PIO4 > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 16.000MB/s transfers > cd1: cd present [1 x 2048 byte records] I know there are "better" backup solutions, but this system is for home use and I just want to get backups going. Eventually (e.g. as soon as I figure out how) I will be doing proper dumps, but for now I'm pouring things off into cd9660 filesystems. I've been using growfs > sally# growisofs --version > * growisofs by , version 5.19-1, > front-ending to mkisofs: mkisofs 2.0.3 (i386-unknown-freebsd4.10) to do all this, and for the first disk, it did just fine. The problem is the *second* disk: > sally# growisofs -dvd-compat -Z /dev/cd1c=farm5.iso > Executing 'builtin_dd if=farm5.iso of=/dev/pass1 obs=32k seek=0' > /dev/pass1: "Current Write Speed" is 8.2x1385KBps. > 0/3085238272 ( 0.0%) @0x, remaining ??:?? > 0/3085238272 ( 0.0%) @0x, remaining ??:?? > 0/3085238272 ( 0.0%) @0x, remaining ??:?? > :-? the LUN appears to be stuck writing LBA=10h, retry in 0ms > :-[ WRITE@LBA=80000010h failed with SK=2h/ASC=04h/ACQ=08h]: Resource > temporarily unavailable > :-( write failed: Resource temporarily unavailable > /dev/pass1: flushing cache > /dev/pass1: closing track > /dev/pass1: closing disc When I take the ruined disk out, I can see the physical evidence of a short write, but the disk isn't mountable. The best part of all is that once I replace the ruined media and rerun growisofs, the new disk burns flawlessly. Just to taunt me. I am getting this result every single time. I know very little about SCSI but my theory is that some sort of state is being set on the device but not cleared before the next disk is attempted. Any help would be greatly appreciated, and I will happily provide further information if you clue me on how to obtain it. Thanks. -- Carleton Vaughn College Park, Georgia, USA