PDA

View Full Version : problema masterizzazione


gefri
17-04-2005, 14:24
uso k3b, e stavo preparando un cd audio.
ho fatto una scrittura in automatico, ha scelto dao, e mi ha fatto errore subito.
ho riprovato in tao, e questa volta mi ha rifatto lo stesso errore al 10%.
ecco l'errore:

could not unlock CD drive

log:


Devices
-----------------------
40X CD-ROM 3.2C (/dev/hdd, ) at /media/cdrom1 [CD-ROM] [Error] [None]
WAITEC SHUTTLE 1.1 (/dev/hdc, ) at /media/cdrom0 [CD-R; CD-RW; CD-ROM] [Error] [TAO; RAW; SAO/R16]

System
-----------------------
K3b Version: 0.11.23
KDE Version: 3.4.0
QT Version: 3.3.3
Kernel: 2.6.10-5-386

cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.10-5-386
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
/usr/bin/cdrecord: Warning: using unofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
Cdrecord-Clone 2.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an unofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <[email protected]>.
The original author should not be bothered with problems of this version.
TOC Type: 0 = CD-DA
Using libscg version 'ubuntu-0.8ubuntu1'.
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'WAITEC '
Identifikation : 'SHUTTLE '
Revision : ' 1.1'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC SWABAUDIO
Supported modes: TAO PACKET RAW/R16
Drive buf size : 1572864 = 1536 KB
FIFO size : 4194304 = 4096 KB
pregap1: -1
Track 01: audio 36 MB (03:34.56) no preemp swab copy
Track 02: audio 40 MB (04:03.40) no preemp swab copy
Track 03: audio 40 MB (04:00.32) no preemp swab copy
Track 04: audio 42 MB (04:15.40) no preemp swab copy
Track 05: audio 63 MB (06:14.85) no preemp swab copy
Track 06: audio 50 MB (04:57.81) no preemp swab copy
Track 07: audio 49 MB (04:54.32) no preemp swab copy
Track 08: audio 57 MB (05:39.25) no preemp swab copy
Track 09: audio 28 MB (02:48.17) no preemp swab copy
Track 10: audio 50 MB (04:57.64) no preemp swab copy
Track 11: audio 39 MB (03:57.24) no preemp swab copy
Track 12: audio 39 MB (03:56.85) no preemp swab copy
Track 13: audio 44 MB (04:25.16) no preemp swab copy
Track 14: audio 50 MB (05:01.45) no preemp swab copy
Track 15: audio 43 MB (04:18.77) no preemp swab copy
Total size: 681 MB (67:33.21) = 303991 sectors
Lout start: 682 MB (67:35/16) = 303991 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 4
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11077 (97:34/23)
ATIP start of lead out: 359848 (79:59/73)
Disk type: Long strategy type (Cyanine, AZO or similar)
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 55857
Starting to write CD/DVD at speed 4 in real TAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
1 seconds.
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: 0 of 36 MB written.
Track 01: 1 of 36 MB written (fifo 100%) [buf 59%] 5.5x.
Track 01: 2 of 36 MB written (fifo 100%) [buf 98%] 2.4x.
Track 01: 3 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 4 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 5 of 36 MB written (fifo 100%) [buf 85%] 3.4x.
Track 01: 6 of 36 MB written (fifo 100%) [buf 98%] 5.3x.
Track 01: 7 of 36 MB written (fifo 100%) [buf 83%] 3.3x.
Track 01: 8 of 36 MB written (fifo 100%) [buf 98%] 5.6x.
Track 01: 9 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 10 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 11 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 12 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 13 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 14 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 15 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 16 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 17 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 18 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 19 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 20 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 21 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 22 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 23 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 24 of 36 MB written (fifo 100%) [buf 98%] 4.0x.
Track 01: 25 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 26 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 27 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 28 of 36 MB written (fifo 100%) [buf 95%] 4.0x.
Track 01: 29 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 30 of 36 MB written (fifo 100%) [buf 98%] 4.0x.
Track 01: 31 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 32 of 36 MB written (fifo 100%) [buf 98%] 4.0x.
Track 01: 33 of 36 MB written (fifo 100%) [buf 98%] 4.2x.
Track 01: 34 of 36 MB written (fifo 100%) [buf 98%] 4.0x.
Track 01: 35 of 36 MB written (fifo 100%) [buf 98%] 4.1x.
Track 01: 36 of 36 MB written (fifo 100%) [buf 95%] 4.0x.
Track 01: Total bytes read/written: 37848384/37848384 (16092 sectors).
Starting new track at sector: 16244
Track 02: 0 of 40 MB written.
Track 02: 1 of 40 MB written (fifo 100%) [buf 59%] 5.8x.
Track 02: 2 of 40 MB written (fifo 100%) [buf 98%] 2.7x.
Track 02: 3 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 4 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 5 of 40 MB written (fifo 100%) [buf 98%] 4.3x.
Track 02: 6 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 7 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 8 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 9 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 10 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 11 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 12 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 13 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 14 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 15 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 16 of 40 MB written (fifo 100%) [buf 95%] 4.1x.
Track 02: 17 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 18 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 19 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 20 of 40 MB written (fifo 100%) [buf 95%] 4.1x.
Track 02: 21 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 22 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 23 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 24 of 40 MB written (fifo 100%) [buf 98%] 4.0x.
Track 02: 25 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 26 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 27 of 40 MB written (fifo 100%) [buf 98%] 4.2x.
Track 02: 28 of 40 MB written (fifo 100%) [buf 97%] 3.9x.
Track 02: 29 of 40 MB written (fifo 100%) [buf 98%] 4.3x.
Track 02: 30 of 40 MB written (fifo 100%) [buf 98%] 4.0x.
Track 02: 31 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 32 of 40 MB written (fifo 100%) [buf 98%] 4.0x.
Track 02: 33 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 34 of 40 MB written (fifo 100%) [buf 70%] 2.7x.
Track 02: 35 of 40 MB written (fifo 100%) [buf 98%] 8.5x.
Track 02: 36 of 40 MB written (fifo 100%) [buf 98%] 4.0x.
Track 02: 37 of 40 MB written (fifo 100%) [buf 98%] 4.1x.
Track 02: 38 of 40 MB written (fifo 100%) [buf 52%] 2.3x.
/usr/bin/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 82 BE 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 13 00 00 00 00 0C 09 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x09 (write error - loss of streaming) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 14112
cmd finished after 0.177s timeout 40s
/usr/bin/cdrecord: The current problem looks like a buffer underrun.
/usr/bin/cdrecord: Try to use 'driveropts=burnfree'.
/usr/bin/cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.
write track data: error after 40515552 bytes
Writing time: 129.524s
Average write speed 32.5x.
Min drive buffer fill was 52%
Fixating...
Fixating time: 61.795s
/usr/bin/cdrecord: fifo had 1298 puts and 1235 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 1224 times full, min fill was 96%.

cdrecord comand:
-----------------------
/usr/bin/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=4 -tao -eject -useinfo -pad -shorttrack -audio /tmp/kde-marco/k3b_audio_1_01.inf /tmp/kde-marco/k3b_audio_1_02.inf /tmp/kde-marco/k3b_audio_1_03.inf /tmp/kde-marco/k3b_audio_1_04.inf /tmp/kde-marco/k3b_audio_1_05.inf /tmp/kde-marco/k3b_audio_1_06.inf /tmp/kde-marco/k3b_audio_1_07.inf /tmp/kde-marco/k3b_audio_1_08.inf /tmp/kde-marco/k3b_audio_1_09.inf /tmp/kde-marco/k3b_audio_1_10.inf /tmp/kde-marco/k3b_audio_1_11.inf /tmp/kde-marco/k3b_audio_1_12.inf /tmp/kde-marco/k3b_audio_1_13.inf /tmp/kde-marco/k3b_audio_1_14.inf /tmp/kde-marco/k3b_audio_1_15.inf

Avete qualche suggerimento? Devo masterizzare da root?

wubby
17-04-2005, 14:27
/usr/bin/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 82 BE 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 13 00 00 00 00 0C 09 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x09 (write error - loss of streaming) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 14112
cmd finished after 0.177s timeout 40s
/usr/bin/cdrecord: The current problem looks like a buffer underrun.
/usr/bin/cdrecord: Try to use 'driveropts=burnfree'.
/usr/bin/cdrecord: Make sure that you are root, enable DMA and check your
Segui il suggerimento:
/usr/bin/cdrecord: Try to use 'driveropts=burnfree'.

gefri
17-04-2005, 14:38
k, ma cosa dovrei fare precisamente per usare driveropts=burnfree?
per la cronaca, ho provato a masterizzare da root: nuovo errore, ecco il log:

(12%)
error while decoding audio tracks

log:

md finished after 2.740s timeout 40s
/usr/bin/cdrecord: The current problem looks like a buffer underrun.
/usr/bin/cdrecord: Try to use 'driveropts=burnfree'.
/usr/bin/cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.
write track data: error after 9779616 bytes
Writing time: 158.301s
Average write speed 27.1x.
Min drive buffer fill was 19%
Fixating...
Fixating time: 62.240s
/usr/bin/cdrecord: fifo had 1491 puts and 1428 gets.
/usr/bin/cdrecord: fifo was 34 times empty and 1152 times full, min fill

quindi è proprio quello che devo fare

wubby
17-04-2005, 14:40
Non riesci ad abilitare il burn-proof nel menu di k3b?

gefri
17-04-2005, 14:57
dovrei andare su settings-->k3b-->programs e cdrdao vero? ma per poter modificare devo essere root? sarò ceffo, ma non riesco a capire cosa devo fare per modificare le impostazioni di cdrdao! :(
(ha scritto burnproof disable)

wubby
17-04-2005, 15:02
dovrei andare su settings-->k3b-->programs e cdrdao vero? ma per poter modificare devo essere root? sarò ceffo, ma non riesco a capire cosa devo fare per modificare le impostazioni di cdrdao! :(
(ha scritto burnproof disable)
No, non devi essere root.
Prova come utente :)

gefri
17-04-2005, 15:07
penso di avere capito qual'è il problema: in devices, la voce support burnfree (che sarebbe il burnproof), è impostata su no e non può essere attivata: mi manca qualche plugin/funzione? cambiando ogni possibile cdrdo driver non si attiva questa voce, quindi mi sa che mi manca proprio qualcosa; devo scaricare librerie qualcosa?

gefri
17-04-2005, 17:14
penso di avere capito qual'è il problema: in devices, la voce support burnfree (che sarebbe il burnproof), è impostata su no e non può essere attivata: mi manca qualche plugin/funzione? cambiando ogni possibile cdrdo driver non si attiva questa voce, quindi mi sa che mi manca proprio qualcosa; devo scaricare librerie qualcosa?

dai, non sapete se può essere questione di plugin, di un cdrdao più aggiornato o qualcosa? sono l'unico ad avere la nuova ubuntu? chi ce l'ha, può dirmi se k3b gli supporta il burnfree? Scusate ma è un mese che switcho distribuzioni, e riformattare per masterizzare un cd mi scoccerebbe...

wubby
17-04-2005, 17:21
Non è una questione di plugin.

wubby
17-04-2005, 17:30
Edita

/etc/default/cdrecord

al fondo aggiungi il tuo masterizzatore


# drive name device speed fifosize driveropts
traxdata= 0,0,0 -1 -1 burnfree

gefri
17-04-2005, 17:47
ti ringrazio wubby! :D
cmq, io ho editato cd record, ed alla fine, ho appunto aggiunto alla "tabella" già esistente, la riga

traxdata= 0,0,0 -1 -1 burnfree

ma non funziona ancora.
se aggiungessi il parametro burnproof alle voci già esistenti, risolverei il problema?

wubby
17-04-2005, 18:00
P.S.
Per non confonderti metti waitec al posto di traxdata... ;)

P.P.S.
rileggendo il messaggio iniziale mi vien da chiedere: il DMA è attivo?

Da root digita:

hdparm /dev/hdc

gefri
17-04-2005, 18:34
premessa, in un qualche modo ce l'ho fatta, mi ha fatto ancora errore, ma è colpa di una traccia sicuramente. :D
dma non è attivo (using dma= 0off), e penso che il burnproof sia ancora disabilitato, cmq ce l'ho fatta! magari, dato che ci siamo dietro, se mi dai qualche consiglio per ottimizzare ottimizzo, cmq non è più questione di vita o morte come prima! :D

o almeno fino al prossimo cd... :stordita:

wubby
17-04-2005, 18:43
hdparm -d1 /dev/hdc

e vedi che insulti restituisce... :stordita: :fagiano:

gefri
17-04-2005, 21:51
/dev/hdc:
setting using_dma to 1 (on)
using_dma = 1 (on)

speciale direi; siamo già a posto così?

wubby
17-04-2005, 22:00
/dev/hdc:
setting using_dma to 1 (on)
using_dma = 1 (on)
speciale direi; siamo già a posto così?
tutto ok :)

gefri
18-04-2005, 19:25
tutto ok :)

ottimo! :D