Jak na vypaleni multisession CD-RW

Martin Lebeda mlebeda na centrum.cz
Pondělí Květen 26 10:11:46 CEST 2003


Ahoj lidi,

snazim se vypalit multisession, precetl jsem snad uz vsechno, ale neco
duleziteho jsem asi prehledl...

Posilam postup ktery aplikuji a budu velmi rad, pokud mi nekdo rekne kde je
chyba. Pokud bude uvedene malo, poslu klidne dalsi informace, pokud mi reknete
ktere...


[root na arwen /tmp]# cdrecord -v dev=0,0,0 blank=fast
   Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   TOC Type: 1 = CD-ROM
   scsidev: '0,0,0'
   scsibus: 0 target: 0 lun: 0
   Using libscg version 'schily-0.1'
   atapi: 1
   Device type    : Removable CD-ROM
   Version        : 0
   Response Format: 1
   Vendor_info    : 'SAMSUNG '
   Identifikation : 'CD-R/RW SW-248F '
   Revision       : 'R603'
   Device seems to be: Generic mmc CD-RW.
   Current Secsize: -1
   ATIP info from disk:
     Indicated writing power: 3
     Reference speed: 6
     Is not unrestricted
     Is erasable
     Disk sub type: 1
     ATIP start of lead in:  -11745 (97:25/30)
     ATIP start of lead out: 359848 (79:59/73)
     speed low: 4 speed high: 8
     power mult factor: 1 5
     recommended erase/write power: 5
     A2 values: 00 00 00
   Disk type: phase change
   Manuf. index: 40
   Manufacturer: INFODISC Technology Co., Ltd.
   Blocks total: 359848 Blocks current: 330000 Blocks remaining: 330150
   Starting to write CD/DVD at speed 10 in write mode for single session.
   Last chance to quit, starting real write in 9 seconds.
   Blanking PMA, TOC, pregap
   Blanking time:   24.118s

[root na arwen /tmp]# mkisofs -v -r -J -l -o prvni.iso 1.tar.gz
   mkisofs 1.12 (i686-pc-linux-gnu)
    86.73% done, estimate finish Mon May 26 09:46:58 2003
   Total extents actually written = 5772
   Total translation table size: 0
   Total rockridge attributes bytes: 249
   Total directory bytes: 0
   Path table size(bytes): 10
   Max brk space used 5fa4
   5772 extents written (11 Mb)

[root na arwen /tmp]# cdrecord -v dev=0,0,0 -multi prvni.iso
   Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   TOC Type: 3 = CD-ROM XA mode 2
   scsidev: '0,0,0'
   scsibus: 0 target: 0 lun: 0
   Using libscg version 'schily-0.1'
   atapi: 1
   Device type    : Removable CD-ROM
   Version        : 0
   Response Format: 1
   Vendor_info    : 'SAMSUNG '
   Identifikation : 'CD-R/RW SW-248F '
   Revision       : 'R603'
   Device seems to be: Generic mmc CD-RW.
   Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
   Driver flags   : SWABAUDIO
   Drive buf size : 1359872 = 1328 KB
   FIFO size      : 4194304 = 4096 KB
   Track 01: data   11 MB        
   Total size:      12 MB (01:16.98) = 5774 sectors
   Lout start:      13 MB (01:18/74) = 5774 sectors
   Current Secsize: -1
   ATIP info from disk:
     Indicated writing power: 3
     Reference speed: 6
     Is not unrestricted
     Is erasable
     Disk sub type: 1
     ATIP start of lead in:  -11745 (97:25/30)
     ATIP start of lead out: 359848 (79:59/73)
     speed low: 4 speed high: 8
     power mult factor: 1 5
     recommended erase/write power: 5
     A2 values: 00 00 00
   Disk type: phase change
   Manuf. index: 40
   Manufacturer: INFODISC Technology Co., Ltd.
   Blocks total: 359848 Blocks current: 359848 Blocks remaining: 354074
   Starting to write CD/DVD at speed 10 in write mode for multi session.
   Last chance to quit, starting real write in 9 seconds.Waiting for reader process to fill input buffer ... input buffer ready.
   Starting new track at sector: 0
   Track 01:  11 of  11 MB written (fifo 100%).
   Track 01: Total bytes read/written: 11821056/11821056 (5772 sectors).
   Writing  time:   16.250s
   Fixating...
   Fixating time:   32.552s
   cdrecord: fifo had 361 puts and 361 gets.
   cdrecord: fifo was 0 times empty and 153 times full, min fill was 97%.

[root na arwen /tmp]# cdrecord -msinfo dev=0,0,0
   0,17174

[root na arwen /tmp]# mkisofs -v -r -J -l -C `cdrecord -msinfo dev=0,0,0` -M /dev/scd0 -o druha.iso 2.tar.gz
   mkisofs 1.12 (i686-pc-linux-gnu)
    87.18% done, estimate finish Mon May 26 09:48:02 2003
   Total extents actually written = 5772
   Total translation table size: 0
   Total rockridge attributes bytes: 329
   Total directory bytes: 0
   Path table size(bytes): 10
   Max brk space used 5000
   22946 extents written (44 Mb)

[root na arwen /tmp]# cdrecord -v dev=0,0,0 -multi druha.iso
   Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   TOC Type: 3 = CD-ROM XA mode 2
   scsidev: '0,0,0'
   scsibus: 0 target: 0 lun: 0
   Using libscg version 'schily-0.1'
   atapi: 1
   Device type    : Removable CD-ROM
   Version        : 0
   Response Format: 1
   Vendor_info    : 'SAMSUNG '
   Identifikation : 'CD-R/RW SW-248F '
   Revision       : 'R603'
   Device seems to be: Generic mmc CD-RW.
   Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
   Driver flags   : SWABAUDIO
   Drive buf size : 1359872 = 1328 KB
   FIFO size      : 4194304 = 4096 KB
   Track 01: data   11 MB        
   Total size:      12 MB (01:16.98) = 5774 sectors
   Lout start:      13 MB (01:18/74) = 5774 sectors
   Current Secsize: -1
   ATIP info from disk:
     Indicated writing power: 3
     Reference speed: 6
     Is not unrestricted
     Is erasable
     Disk sub type: 1
     ATIP start of lead in:  -11745 (97:25/30)
     ATIP start of lead out: 359848 (79:59/73)
     speed low: 4 speed high: 8
     power mult factor: 1 5
     recommended erase/write power: 5
     A2 values: 00 00 00
   Disk type: phase change
   Manuf. index: 40
   Manufacturer: INFODISC Technology Co., Ltd.
   Blocks total: 359848 Blocks current: 342674 Blocks remaining: 336900
   Starting to write CD/DVD at speed 10 in write mode for multi session.
   Last chance to quit, starting real write in 9 seconds.
   Waiting for reader process to fill input buffer ... input buffer ready.
   Starting new track at sector: 17174
   Track 02:  11 of  11 MB written (fifo 100%).
   Track 02: Total bytes read/written: 11821056/11821056 (5772 sectors).
   Writing  time:   11.712s
   Fixating...
   Fixating time:   17.640s
   cdrecord: fifo had 361 puts and 361 gets.
   cdrecord: fifo was 0 times empty and 145 times full, min fill was 97%.

[root na arwen /tmp]# mount  -t iso9660 -r /dev/scd0 /mnt/cdrom

[root na arwen /tmp]# ls /mnt/cdrom
   1.tar.gz

[root na arwen /tmp]# umount /mnt/cdrom

[root na arwen /tmp]# cdrecord -atip dev=0,0,0
   Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
   scsidev: '0,0,0'
   scsibus: 0 target: 0 lun: 0
   Using libscg version 'schily-0.1'
   Device type    : Removable CD-ROM
   Version        : 0
   Response Format: 1
   Vendor_info    : 'SAMSUNG '
   Identifikation : 'CD-R/RW SW-248F '
   Revision       : 'R603'
   Device seems to be: Generic mmc CD-RW.
   Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
   Driver flags   : SWABAUDIO
   ATIP info from disk:
     Indicated writing power: 3
     Reference speed: 6
     Is not unrestricted
     Is erasable
     Disk sub type: 1
     ATIP start of lead in:  -11745 (97:25/30)
     ATIP start of lead out: 359848 (79:59/73)
     speed low: 4 speed high: 8
     power mult factor: 1 5
     recommended erase/write power: 5
     A2 values: 00 00 00
   Disk type: phase change
   Manuf. index: 40
   Manufacturer: INFODISC Technology Co., Ltd.

uff... to je to dlouhe, ale kde je chyba?

-- 
Martin Lebeda
  ...nebruc, taky jsi se ucil...


Další informace o konferenci Linux