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

Gravando CD em multisessão



Boa tarde,

senhores, estou tentando gravar um cd em multi-sessão, mas alguma coisa está 
saindo errada! Se alguém puder contribuir com uma ajuda agradeço , segue 
a sequencia que estou realizando:

## informação de localização da gravadora:
ams:/home/angelo# wodim --devices
Beginning native device scan. This may take a while if devices are busy...
wodim: Overview of accessible drives (1 found) :
----------------------------------------------------------------------
0    dev='/dev/sr0'   rwrw-- :  'HL-DT-ST'  'DVDRAM GH20NS10'
----------------------------------------------------------------------

## apagando cd-rw:
ams:/home/angelo# wodim -blank=all
Quickly guessing the name of a drive capable to write CD-R, please wait...
Found /dev/cdrw, assuming dev=/dev/cdrw
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GH20NS10 '
Revision       : 'EL00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 in real BLANK mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.


## gerando imagem iso:
ams:/home/angelo# mkisofs -J -o bancos_PagTransf/cd.iso bancos_PagTransf
Warning: creating filesystem with Joliet extensions but without Rock Ridge
         extensions. It is highly recommended to add Rock Ridge.
I: -input-charset not specified, using utf-8 (detected in locale settings)
Unknown file type (unallocated) bancos_PagTransf/.. - ignoring and continuing.
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 418
Path table size(bytes): 10
Max brk space used 0
743 extents written (1 MB)

## confirmando que o arquivo foi criado:
ams:/home/angelo/bancos_PagTransf# ls
bb_ext_080629  comprov_livroNet  transf_CartPeabiru    transf_sebo_alternativa
cd.iso         copel_20090115    transf_MiguelRogerio  TransLivroProg

## gravando arquivo no cd-rw:
ams:/home/angelo/bancos_PagTransf# wodim dev=/dev/sr0 -v -multi -data speed=4 
dr
iveropts=burnfree cd.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.2
Driveropts: 'burnfree'
SCSI buffer size: 51200
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GH20NS10 '
Revision       : 'EL00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A (CD-RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW) (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
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053696 = 1029 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 13950 kB/s 79x CD 10x DVD
FIFO size      : 12582912 = 12288 KB
Track 01: data     1 MB
Total size:        1 MB (00:09.93) = 745 sectors
Lout start:        2 MB (00:11/70) = 745 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 359103
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 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.
Performing OPC...
Starting new track at sector: 0
Track 01:    1 of    1 MB written (fifo 100%) [buf  99%]   2.7x.
Track 01: Total bytes read/written: 1521664/1521664 (743 sectors).
Writing  time:    4.836s
Average write speed   2.1x.
Min drive buffer fill was 99%
Fixating...
Fixating time:   33.916s

## pegando o final da sessão 1 para continuar outra sessão:
ams:/home/angelo# wodim dev=/dev/sr0 -msinfo
Speed set to 1764 KB/s
wodim: Drive needs to reload the media to return to proper status.
Errno: 5 (Input/output error), read track info scsi sendcmd: no error
CDB:  52 01 00 00 00 FF 00 00 1C 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 52 FF 00 90 24 00 00 C0
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid) error refers to command part, bit ptr 0 (not 
valid) field ptr 0
resid: 28
cmd finished after 0.002s timeout 240s
wodim: Cannot get next writable address for 'invisible' track.
wodim: This means that we are checking recorded media.
wodim: This media cannot be written in streaming mode anymore.
wodim: If you like to write to 'preformatted' RW media, try to blank the media 
first.
wodim: Cannot read first writable address


Estou seguindo este tutorial:  http://www.dicas-l.com.br/print/20051011.html
pelo que entendi, no último comando ele deveria retornar apenas um valor 
numérico. Não sei em que estou errando!

-- 
Angelo M. S.
google talk: angelo.magno.silva
-- 


Angelo M. S.
msn messenger, e-mail: angelo.m.silva@ibest.com.br
icq: 152 406 595
skype: angelo.m.silva
google talk: angelo.magno.silva


Reply to: