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

Re: Issues with cdrsin and USB devices on RHEL5



On Mon, 14 Jul 2008 16:28:43 +0200, Joerg.Schilling@fokus.fraunhofer.de
(Joerg Schilling) wrote:


>BTW: why do you like to use cdrskin although cdrecord works for you?

The more option I have the better.

ie: 

- BD-RE media: cdrskin can format it (when media is new/maiden), and has an
option (not default) to write BD-RE in a "quick" mode (don't recall
technical name, I think it's "streaming", it avoids defect management, I
always do md5sum checks anyway) even if BD-RE is formatted with spare/defect
management area. So writing with cdrskin takes half the time of cdrecord,
basically it burns at the nominal speed of BD-RE media.

- sometime cdrecord fails and cdrskin will succeed, I can't give you many
details, this is a log from last night backup on one of my systems (it's not
totally uptodate, so both cdrecord and cdrskin are not the latest versions)
I understand you'll rightly say it's a Linux issue, but I'm not a programmer
and cannot do anything to force Linux people to make things the right way, I
just need the best chance for the backup to complete ok.


13/07/2008 02:31:19
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
Linux sg driver version: 3.1.25
SCSI buffer size: 64512
Cdrecord-ProDVD-ProBD-Clone 2.01.01a38 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision       : 'A103'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RAM
Profile: DVD-RAM (current)
Profile: DVD-R sequential recording 
Profile: DVD-RW sequential recording 
Profile: DVD-RW restricted overwrite 
Profile: DVD+RW 
Profile: DVD+R 
Profile: DVD+R/DL 
Profile: DVD-ROM 
Profile: CD-R 
Profile: CD-RW 
Profile: CD-ROM 
Profile: Removable Disk (current)
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 851968 = 832 KB
Drive pbuf size: 1966080 = 1920 KB
Drive DMA Speed: 2364 kB/s 13x CD 1x DVD 0x BD
FIFO size      : 4194304 = 4096 KB
cdrecord: DMA speed too slow (OK for 1x). Cannot write at speed 2x.
Track 01: data  3891 MB         padsize:    1 MB
Total size:     3892 MB = 1992974 sectors
Current Secsize: 2048
Total power on  hours: -972995840
WARNING: Phys disk size 2314080 differs from rzone size 2236704! Prerecorded
disk?
WARNING: Phys start: 200704 Phys end 2514783
Blocks total: 2236704 Blocks current: 2236704 Blocks remaining: 243730
Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Starting new track at sector: 0
Track 02:    0 of 3891 MB written.cdrecord: Input/output error. write_g1:
scsi sendcmd: no error
CDB:  2A 00 00 00 01 74 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F1 00 03 00 00 00 00 10 31 88 00 02 0C 02 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x02 (write error - auto reallocation failed) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 6.773s timeout 100s
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.

write track data: error after 761856 bytes
Writing  time:   11.870s
Average write speed 248.8x.
Fixating...
Fixating time:    0.001s
cdrecord: fifo had 76 puts and 13 gets.
cdrecord: fifo was 0 times empty and 3 times full, min fill was 92%.

------ ATTN: scrittura con cdrecord fallita, tenta con cdrskin

cdrskin 0.4.5 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sg4'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: beginning to burn disc
cdrskin: status 1 burn_disc_blank "The drive holds a blank disc"
Current: DVD-RAM
Track 01: data  3891 MB         padsize:  1024 KB
Total size:     3892 MB (442:54.98) = 1992974 sectors
Lout start:     3892 MB (442:56/98) = 1992974 sectors
Starting to write CD/DVD at speed MAX in real SAO 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.
Starting new track at sector: 0
Track 01:    1 of 3892 MB written (fifo 100%) [buf  92%]   2.7x.
Track 01:    2 of 3892 MB written (fifo 100%) [buf 100%]   2.0x
...
Track 01: 3890 of 3892 MB written (fifo 100%) [buf 100%]   2.0x.
Track 01: 3891 of 3892 MB written (fifo 100%) [buf 100%]   2.0x.
Track 01: 3892 of 3892 MB written (fifo 100%) [buf 100%]   2.1x.
cdrskin: thank you for being patient since 1468 seconds                   
Track 01: Total bytes read/written: 4080562176/4081614848 (1992976 sectors).
Writing  time:  1467.890s
Cdrskin: fifo had 1992462 puts and 1992462 gets.
Cdrskin: fifo was 0 times empty and 207760 times full, min fill was 99%.
Min drive buffer fill was 88%
cdrskin: burning done
-- 
giulioo@pobox.com


Reply to: