From owner-freebsd-scsi Sun Jul 1 7:50:28 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from ns5.pacific.net.au (ns5.pacific.net.au [203.143.252.30]) by hub.freebsd.org (Postfix) with ESMTP id 6A78537B407 for ; Sun, 1 Jul 2001 07:50:23 -0700 (PDT) (envelope-from mckay@thehub.com.au) Received: from dungeon.home (ppp2.dyn248.pacific.net.au [203.143.248.2]) by ns5.pacific.net.au (8.9.0/8.9.1) with ESMTP id AAA21163; Mon, 2 Jul 2001 00:50:20 +1000 (EST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.11.3/8.11.1) with ESMTP id f61EoUw14742; Mon, 2 Jul 2001 00:50:30 +1000 (EST) (envelope-from mckay) Message-Id: <200107011450.f61EoUw14742@dungeon.home> To: Joerg Schilling Cc: ken@kdm.org, freebsd-scsi@freebsd.org, mckay@thehub.com.au Subject: Re: Problems reading burned CDs References: <200107011208.OAA16717@fokus.gmd.de> In-Reply-To: <200107011208.OAA16717@fokus.gmd.de> from Joerg Schilling at "Sun, 01 Jul 2001 14:08:18 +0200" Date: Mon, 02 Jul 2001 00:50:30 +1000 From: Stephen McKay Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday, 1st July 2001, Joerg Schilling wrote: >>From ken@panzer.kdm.org Sun Jul 1 06:01:32 2001 > >>On Thu, Jun 28, 2001 at 22:25:18 +1000, Stephen McKay wrote: >>> Actually, the difference is pressed vs burned CDs. >It is really a bad idea to use dd to read a CD. I think it's important that the raw CD be presented in a fully readable format. Then dd (and everything else) will work properly. >>> Is there any way around these problems with SCSI CD drives? > >Read README.verify & README.copy for a long answer.... I'm still digesting this information (from the cdrecord program, if anyone else is looking for them). I am assuming that 2 (or more) unreadable sectors are added, not that I lose 2 sectors of data. Right? >>Just out of curiosity, what did you use to burn the CD? cdrecord? One was burned with cdrecord (version 1.8, I think). Another by some Adaptec burner program under Windoze (unknown version of both). >There is no difference between a burned and a pressed CD. >There _is_ a difference between a TAO and a DAO CD. I am constantly surprised by the CD standards. Never pleasantly, either. >>It looks like the problem is a capacity reporting problem, possibly due to >>the way the burned CD was burned. > >There is no capacity reporting problem, the capacity is reported as documented >in the CD standards. We might either have to lie about the capacity (so that every reported byte can be read), or deal specially with the run out blocks (by faking them as nulls). >># cdrecord dev=1,4,0 -toc >>Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 Jörg Schilling > >A really old one..... Old software lives on! I'm still using 1.8, by the way. It also looks like you renamed your suite to: cdrtools. I expect the cdrecord port maintainer didn't notice. >>So now the question for Joerg -- do you know of any difference between >>burned CDs and "pressed" CDs (i.e. CDs produced commercially) that would >>account for the reported capacity of the burned CDs apparantly being a >>couple of blocks longer than the actual amount of data that can be read? >If you write in TAO, you get 2 run-out blocks (16 ??? on early Yamaha) >that are part of the TOC. I think we can ignore old drives if we can establish that the standard requires 2 sectors, and that most drives support this. Stephen. PS I checked ATAPI on -current, and now that the new accurate TOC code is in there, it also produces error messages on burned CDs using my Pioneer DVD reader. Progress! :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message