Re: Happy ending of: How to check *CDROM* correctness?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07 Apr 2003 12:09:06 -0500, David Krider wrote:

> On Mon, 2003-04-07 at 10:35, M. Fioretti wrote: 
> > Thanks to all those who explained how to proceed, and gave the exact
> > sizes and checksum of the 3 iso images of shrike.
> 
> 
> > [root@xxxxxxx root]# dd if=/dev/cdrom bs=2048 count=326656 | md5sum -
> > 326656+0 records in
> > 326656+0 records out
> > 400c7fb292c73b793fb722532abd09ad  -
> 
> I just re-downloaded the disc1 iso, md5sum'ed it, burned it using "-dao"
> and it did NOT give a correct result when performing a `md5sum
> /dev/cdrom'.
> 
> 
> [root@xxxxxxxx kriderde]# cdrecord -v -dao dev=0,2,0 speed=12
> driveropts=burnproof shrike-i386-disc1.iso
> 
> Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '0,2,0'
> scsibus: 0 target: 2 lun: 0
> Linux sg driver version: 3.1.24
> Using libscg version 'schily-0.7'
> Driveropts: 'burnproof'
> atapi: 0
> Device type    : Removable CD-ROM
> Version        : 2
> Response Format: 2
> Capabilities   : SYNC LINKED
> Vendor_info    : 'PLEXTOR '
> Identifikation : 'CD-R   PX-W1210S'
> Revision       : '1.02'
> Device seems to be: Generic mmc CD-RW.
> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags   : MMC SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
> RAW/R96R
> Drive buf size : 2394336 = 2338 KB
> FIFO size      : 4194304 = 4096 KB
> Track 01: data   638 MB
> Total size:      732 MB (72:35.41) = 326656 sectors
> Lout start:      733 MB (72:37/31) = 326656 sectors
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 5
>   Is not unrestricted
>   Is not erasable
>   Disk sub type: Medium Type A, low Beta category (A-) (2)
>   ATIP start of lead in:  -11634 (97:26/66)
>   ATIP start of lead out: 359849 (79:59/74)
> Disk type:    Short strategy type (Phthalocyanine or similar)
> Manuf. index: 3
> Manufacturer: CMC Magnetics Corporation
> Blocks total: 359849 Blocks current: 359849 Blocks remaining: 33193
> Starting to write CD/DVD at speed 12 in real SAO mode for single
> session.
> Last chance to quit, starting real write    0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> BURN-Free is ON.
> Performing OPC...
> Sending CUE sheet...
> Writing pregap for track 1 at -150
> Starting new track at sector: 0
> Track 01:  638 of  638 MB written (fifo 100%) [buf  99%]   0.9x.
> Track 01: Total bytes read/written: 668991488/668991488 (326656
> sectors).
> Writing  time:  389.990s
> Average write speed  11.3x.
> Min drive buffer fill was 95%
> Fixating...
> Fixating time:    5.189s
> cdrecord: fifo had 10538 puts and 10538 gets.
> cdrecord: fifo was 0 times empty and 8930 times full, min fill was 96%.
> 
> 
> As you can see, my drive supports SAO, counted 326,656 sectors, and
> didn't have an underrun. Without actually booting this disc and doing a
> media check, I'm going to assume that the burn is good. I should be all
> set. But when I try to actually do the md5sum on the disc...
> 
> 
> [root@xxxxxxxx kriderde]# dd if=/dev/cdrom bs=2048 count=326656 | md5sum
> -
> 
> 314323+0 records in
> 314323+0 records out
> 4e2fc66c78d566209be2022baebc6db9  -
> 
> 
> md5sum doesn't even get the number of sectors right. Anyone have any
> insight here?

Premature end of disc. :)  Not good if dd is interrupted like that.

Really, you should get 326656 records as show at the top of the quote.
Try enabling DMA for your drive. Try again to see whether it stops too
early always. Or try reading the ISO image with the "readcd" utility.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+kbk80iMVcrivHFQRAjisAJ4pmqyl7KE2Ks7sYtCxqlymBBLqrACfe2Oz
fGN25afKa0jYtKxu+TcCOEQ=
=bwdN
-----END PGP SIGNATURE-----





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux