From owner-freebsd-questions@FreeBSD.ORG Sat Jun 27 10:28:22 2009 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 A405A1065674 for ; Sat, 27 Jun 2009 10:28:22 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s7.blu0.hotmail.com (blu0-omc4-s7.blu0.hotmail.com [65.55.111.146]) by mx1.freebsd.org (Postfix) with ESMTP id 51D8F8FC19 for ; Sat, 27 Jun 2009 10:28:22 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP96 ([65.55.111.137]) by blu0-omc4-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 27 Jun 2009 03:28:21 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP96.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sat, 27 Jun 2009 03:28:21 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id DC331228E8 for ; Sat, 27 Jun 2009 06:28:19 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 9CA1C228E5 for ; Sat, 27 Jun 2009 06:28:19 -0400 (EDT) Date: Sat, 27 Jun 2009 06:28:19 -0400 From: Carmel NY To: freebsd-questions@freebsd.org In-Reply-To: <44eit6sp81.fsf@be-well.ilk.org> References: <44eit6sp81.fsf@be-well.ilk.org> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 27 Jun 2009 10:28:21.0575 (UTC) FILETIME=[FEA8CD70:01C9F711] Subject: Re: Adding data to existing CD/DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 10:28:22 -0000 On Fri, 26 Jun 2009 16:40:46 -0400 Lowell Gilbert wrote: > You need to *not* fixate the disk, and on subsequent sessions you need > to tell mkisofs where to start the new image. The burning command > also needs to know that it's a multi-session disk. See the "-C" > option for mkisofs, and the "-multi" option for cdrecord. > > My crib sheet for burning disks provides an example: > > # first session > TZ=UTC-5 mkisofs -R $filenames |cdrecord -v driveropts=burnfree -multi > -data -tao - > > #other sessions > OFST=`cdrecord -msinfo` > echo $OFST > TZ=UTC-5 mkisofs -M $dv -C $OFST -R $filenames |cdrecord -v > driveropts=burnfree -tao -multi -data -eject - OK, using your instructions, I am able to create the disk just fine. However, when I attempt to add data to it, it bombs out. I created a script and then used it to try and add two files to the disk using your instructions. This is the output: $ Update-CD.sh Joker-1.csv k3b.txt Joker-1.csv k3b.txt 0,11702 Cdrecord-Clone 2.01 (i386-unknown-freebsd7.2) Copyright (C) 1995-2004 J\ufffdrg Schilling TOC Type: 1 = CD-ROM cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2). cdrecord: WARNING: This causes a high risk for buffer underruns. cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. mkisofs: Invalid argument. Open by 'devname' not supported on this OS. Cannot open SCSI driver. mkisofs: Invalid argument. Unable to open previous session image -C scsidev: '3,0,0' scsibus: 3 target: 0 lun: 0 Using libscg version 'schily-0.8'. Driveropts: 'burnfree' SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : 'PHILIPS ' Identifikation : 'DVD8801 ' Revision : 'GW02' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0009 Profile: 0x002B Profile: 0x001B Profile: 0x001A Profile: 0x0016 Profile: 0x0015 Profile: 0x0014 Profile: 0x0013 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD. cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R Drive buf size : 1073152 = 1048 KB FIFO size : 4194304 = 4096 KB Track 01: data unknown length Total size: 0 MB (00:00.00) = 0 sectors Lout start: 0 MB (00:02/00) = 0 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type A, high Beta category (A+) (3) ATIP start of lead in: -11634 (97:26/66) ATIP start of lead out: 359846 (79:59/71) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 3 Manufacturer: CMC Magnetics Corporation cdrecord: WARNING: Total disk size unknown. Data may not fit on disk. cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. Starting to write CD/DVD at speed 32 in real TAO mode for multi session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. cdrecord: Premature EOF on stdin. cdrecord: Input buffer error, aborting. cdrecord: fifo had 1 puts and 0 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. As you can see, nothing was written. I am using brand new CD/R disks that work on other platforms so I don't think that is the problem. since I can create the original disc, I can obviously write to one. do you have any ideas what the problem might be? Thanks! -- Carmel carmel@hotmail.com WARNING TO ALL PERSONNEL: Firings will continue until morale improves.