[conspire] cd burning giving slight errors

Sean sean.channel at pacbell.net
Sun Nov 6 23:02:22 PST 2011


Sean you ignorant slut. I retract both of my previous comments.

The problem with track-at-once and session-oriented burning is that they
add formatting information to the disk structure that has already been
included within the iso9660 image file (the .iso). This extra
information is where your checksums are getting skewed.

If you are burning a complete filesystem image such as your common OS
distro (e.g.: the .iso file can be "mounted" like a disk), then "raw"
mode is probably the best, though disk-at-once will probably work, but
may still result in incorrect checksums on the resulting disk, though
it's contents will probably be unharmed.

For wodim; in either raw or DAO mode, you supposedly have to pipe the
output from "genisoimage --print-size" to the wodim burn command, which
makes me scratch my head. (really, wodim? you can't read the size of a
file? okayee..).

I still suggest just adding "-dao" or "-raw" to the burn command line
and seeing if that works.  Otherwise, Please RTFM wodim(1) and notice
the frequent references to "genisoimage --print-size" along with the
one, single, not-very-helpful looking example toward the end of the
EXAMPLES section.

That's really all I got.
_S



On Sun, 2011-11-06 at 18:17 -0800, Peter Knaggs wrote:
> Hi All,
> 
> Both of the CD-burners on my machine are writing
> stuff which is slightly different to what I asked: a few
> bytes here and there have the wrong values after the
> burn (compared using "cmp -l"). There's no errors from
> the burning.
> 
> Any ideas what could cause this?
> The operating system is Ubuntu 11.04 (natty).
> I've written CDs on this machine before using k3b
> and they verified OK, and it seems strange that both
> burners would start to fail at the same time.
> 
> Thanks,
> Peter.
> 
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=11.04
> DISTRIB_CODENAME=natty
> DISTRIB_DESCRIPTION="Ubuntu 11.04"
> 
> 
> $ uname -a
> Linux velocity 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25
> UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> 
> $ wodim --devices
> wodim: Overview of accessible drives (2 found) :
> -------------------------------------------------------------------------
>  0  dev='/dev/scd0'     rwrw-- : 'ATAPI' 'iHAS222   8'
>  1  dev='/dev/scd1'     rwrw-- : 'ATAPI' 'DVD C  DH52C2S'
> -------------------------------------------------------------------------
> 
> 
> 
> $ wodim speed=1 -v dev=/dev/scd0 -data ubuntu-11.10-desktop-amd64.iso
> wodim: No write mode specified.
> wodim: Assuming -tao mode.
> wodim: Future versions of wodim may have different drive dependent defaults.
> TOC Type: 1 = CD-ROM
> scsidev: '/dev/scd0'
> devname: '/dev/scd0'
> scsibus: -2 target: -2 lun: -2
> Linux sg driver version: 3.5.27
> Wodim version: 1.1.11
> SCSI buffer size: 64512
> Device type    : Removable CD-ROM
> Version        : 5
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'ATAPI   '
> Identification : 'iHAS222   8     '
> Revision       : '4L01'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> Current: 0x0009 (CD-R)
> Profile: 0x002B (DVD+R/DL)
> Profile: 0x001B (DVD+R)
> Profile: 0x001A (DVD+RW)
> Profile: 0x0016 (DVD-R/DL layer jump recording)
> Profile: 0x0015 (DVD-R/DL sequential recording)
> Profile: 0x0014 (DVD-RW sequential recording)
> Profile: 0x0013 (DVD-RW restricted overwrite)
> Profile: 0x0012 (DVD-RAM)
> Profile: 0x0011 (DVD-R sequential recording)
> Profile: 0x0010 (DVD-ROM)
> Profile: 0x000A (CD-RW)
> Profile: 0x0009 (CD-R) (current)
> Profile: 0x0008 (CD-ROM)
> Profile: 0x0002 (Removable disk)
> Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
> Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> Drive buf size : 1867008 = 1823 KB
> Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
> communication breaks or freezes immediately after that.
> FIFO size      : 12582912 = 12288 KB
> Track 01: data   697 MB
> Total size:      800 MB (79:20.21) = 357016 sectors
> Lout start:      801 MB (79:22/16) = 357016 sectors
> Current Secsize: 2048
> ATIP info from disk:
>   Indicated writing power: 5
>   Is not unrestricted
>   Is not erasable
>   Disk sub type: Medium Type B, low Beta category (B-) (4)
>   ATIP start of lead in:  -12369 (97:17/06)
>   ATIP start of lead out: 359849 (79:59/74)
> Disk type:    Short strategy type (Phthalocyanine or similar)
> Manuf. index: 69
> Manufacturer: Moser Baer India Limited
> Manufacturer is guessed because of the orange forum embargo.
> The orange forum likes to get money for recent information.
> The information for this media may not be correct.
> Blocks total: 359849 Blocks current: 359849 Blocks remaining: 2833
> Forcespeed is OFF.
> Speed set to 1412 KB/s
> Starting to write CD/DVD at speed   8.0 in real TAO mode for single session.
> Last chance to quit, starting real write in    0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> Performing OPC...
> Starting new track at sector: 0
> Track 01:  697 of  697 MB written (fifo 100%) [buf 100%]   8.4x.
> Track 01: Total bytes read/written: 731164672/731164672 (357014 sectors).
> Writing  time:  598.999s
> Average write speed   8.0x.
> Min drive buffer fill was 99%
> Fixating...
> Fixating time:   39.719s
> BURN-Free was never needed.
> wodim: fifo had 11517 puts and 11517 gets.
> wodim: fifo was 0 times empty and 11309 times full, min fill was 95%.
> 
> 
> 
> $ readom -v dev=/dev/scd0 f=./testing_read
> scsidev: '/dev/scd0'
> devname: '/dev/scd0'
> scsibus: -2 target: -2 lun: -2
> Linux sg driver version: 3.5.27
> Read  speed:  8468 kB/s (CD  48x, DVD  6x).
> Write speed:  8468 kB/s (CD  48x, DVD  6x).
> Capacity: 357014 Blocks = 714028 kBytes = 697 MBytes = 731 prMB
> Sectorsize: 2048 Bytes
> Copy from SCSI (2,0,0) disk to file './testing_read'
> end:    357014
> addr:   357014 cnt: 22
> Time total: 143.180sec
> Read 714028.00 kB at 4986.9 kB/sec.
> 
> 
> 
> $ cmp -l testing_read ubuntu-11.10-desktop-amd64.iso
>  14776952 271 371
>  15958776  66 276
> 126001912 251 241
> 139168502 330 230
> 201790448 131 130
> 253641728 173 373
> 365486456 133 337
> 417118968 350 353
> 464745462  34  30
> 479204336 376 176
> 479204352 250 210
> 491099128 125 124
> 493947640 342 362
> 542407664 104 100
> 554846840 222 220
> 629814256 340 140
> 664755200   6   2
> 682847216 150 170
> 682847224  42   2
> 714806272 216 217
> 
> 
> Or on a few other burns, the differences were:
> 
> $ cmp -l testing_read ubuntu-11.10-desktop-amd64.iso
>  18775032  20  21
>  99685366   6 106
> 227574784 233 223
> 270672878 374 375
> 270672894 360 160
> 305185784 321 361
> 321367032 247 267
> 337765360 143 141
> 569025518 165 127
> 569025534 257 256
> 603778048 366 367
> 651611120 222  22
> 652893166 312 352
> 722068480  67  66
> 
> 
> 
> $ cmp -l testing_read ubuntu-11.10-desktop-amd64.iso
>  80493560  12  13
>  89390064 312 310
> 140755952 350 310
> 149490672 165 365
> 220417022 322 326
> 230341632 336 332
> 234007157  71 171
> 260547568 131  31
> 263523326 360 362
> 284498552  67  66
> 369306616 372 312
> 381924350 211 201
> 465279984 230 220
> 518091760 360 363
> 519597056 207 205
> 525816832 263 267
> 526449016  54  55
> 530187248 154 174
> 591408112 354 314
> 629431288 374 370
> 649278448 276 256
> 686959614  70  54
> 698923640 160 162
> 698923768 132 112
> 706345968 114 134
> 
> $ cmp -l testing_read ubuntu-11.10-desktop-amd64.iso
>  44878830 253 257
>  44878846  16   6
>  44977134 272 372
>  46400510 104   4
>  82830069 343 345
>  91491320 112 102
> 101862382 142 140
> 101862398 141 143
> 178394096 130 110
> 201771640  73  71
> 233347704 260 270
> 241828848 361 161
> 241828864 363 367
> 249025144  41  51
> 293772272 121 321
> 293772280 310 350
> 300210808 171 371
> 313215608 170 150
> 313215736 130 134
> 329863928 353 351
> 331080312 342 343
> 372746872 173  73
> 495936248 167 163
> 546145272 306 317
> 570237941 220  20
> 593537656 151 351
> 703062776 216 236
> 724154998 121  21
> 724155126  14 214
> 
> _______________________________________________
> conspire mailing list
> conspire at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/conspire





More information about the conspire mailing list