Problemas ao apagar mídia de CD-ROM [Resolvido]

Iniciado por fabiobianchi, 17 de Outubro de 2010, 11:31

tópico anterior - próximo tópico

fabiobianchi

Olá, estou precisando de uma ajuda.
Estou com mais de 50 CD-ROMs que recebi da TIM (telecomunicações/ celular) com gravações de ligações ao serviço de atendimento ao consumidor.

Como não preciso mais delas, pensei em dar melhor uso para essas mídias.
Mas ao tentar apagar o CD com esses comandos:

$umount /dev/cdrom
$wodim -vv dev=/dev/cdrom blank=all


Aparece o seguinte resultado:

fabio@fabio-ldesktop:~$ umount /dev/cdrom
fabio@fabio-ldesktop:~$ wodim -vv dev=/dev/cdrom blank=all
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
Using libusal version 'Cdrkit-1.1.10'.
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD-RAM GSA-H22N'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
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: 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)
Drive current speed: 48
Drive default speed: 48
Drive max speed    : 48
Selected speed     : 48
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 : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 107520 kB/s 610x CD 77x DVD
01 00 00 01 00 00 00 00
01 a 01 01 00 00 00 00
Track 1 start -150
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:  -11607 (97:27/18)
 ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Speed set to 8468 KB/s
Starting to write CD/DVD at speed  48.0 in real BLANK mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Performing OPC...
Blanking entire disk
Errno: 5 (Input/output error), blank unit scsi sendcmd: no error
CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 9600s
wodim: Cannot blank disk, aborting.
fabio@fabio-ldesktop:~$ wodim -vv dev=/dev/cdrom blank=all
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
Using libusal version 'Cdrkit-1.1.10'.
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD-RAM GSA-H22N'
Revision       : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
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: 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)
Drive current speed: 48
Drive default speed: 48
Drive max speed    : 48
Selected speed     : 48
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 : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 99249 kB/s 563x CD 71x DVD
01 00 00 01 00 00 00 00
01 a 01 01 00 00 00 00
Track 1 start -150
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:  -11607 (97:27/18)
 ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 18
Manufacturer: Plasmon Data systems Ltd.
Speed set to 8468 KB/s
Starting to write CD/DVD at speed  48.0 in real BLANK mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Performing OPC...
Blanking entire disk
Errno: 5 (Input/output error), blank unit scsi sendcmd: no error
CDB:  A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 64 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 9600s
wodim: Cannot blank disk, aborting.

No entanto
, usando o Brasero, eu consigo adicionar arquivos ao CD, mas não consigo apagar o único arquivo .wav contido no mesmo.

Alguém pode me ajudar?
Pelo que entendi eu preciso forçar a quebra das permissões do sistema de arquivos dos CDs.



rjbgbo

opa pelo que sei mídia de cdr ñ se apaga, e sim mídia de cdrw (as regraváveis)
Linux User #440843 | Ubuntu User #11469

fabiobianchi

Mas se eu consigo gravar outros arquvos, porque eu não posso apagar?
É só uma questão de permissão, ou trata-se de uma limitação física mesmo, inerente à própria midia?

Outra coisa:
tem como eu ao menos isolar esse arquivo .wav;

por exemplo: se eu usar esse CDs para gravar musica, e não quiser que esse arquivo já presente no CD execute. tem como fazer?

Obrigado

rjbgbo

CitarMas se eu consigo gravar outros arquvos, porque eu não posso apagar?
qdo se grava algo numa mídia assim, o programas por padrão deixam a opção de gravar mais dados (disco aberto), se o usuário ñ quiser mais gravar nada, deve assinalar a opção fechar

Citartem como eu ao menos isolar esse arquivo .wav;
por exemplo: se eu usar esse CDs para gravar musica, e não quiser que esse arquivo já presente no CD execute. tem como fazer?
como essa mída ñ é regravável, acho que não
Linux User #440843 | Ubuntu User #11469

fabiobianchi

Obrigado por tirar minhas dúvidas tão prontamente rjbgbo.

Agora só me resta usar para backup!