Hello,

Perhaps someone can suggest why this command
% cdwrite /dir

where cdwrite is 

cdwrite () 
{ 
    IMG_SIZE=`mkisofs -R -q -print-size $1 2>&1 | sed -e "s/.* = //"`;
    echo Backing up $IMG_SIZE bytets;
    [ "0$IMG_SIZE" -ne 0 ] && mkisofs -r $1 | cdrecord speed=10 dev=0,2,0
tsize=${IMG_SIZE}s -data - >/tmp/cdwrite.log 2>&1
}

gives this error output:

Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
scsidev: '0,2,0'
scsibus: 0 target: 2 lun: 0
Using libscg version 'schily-0.1'
Device type    : Removable CD-ROM
Version        : 4
Response Format: 2
Capabilities   : SYNC 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX145S  '
Revision       : '1.0b'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : SWABAUDIO
Starting to write CD/DVD at speed 10 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Track 01: Total bytes read/written: 454912000/454912000 (222125 sectors).
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)
CDB:  5B 00 02 00 00 00 00 00 00 00
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 72 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x04 (empty or partially written reserved track) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.014s timeout 480s

The same command (except for speed=4) works find when I use re-writable media.

Thanks.

----------------------------------
E-Mail: Geoffrey Leach <[EMAIL PROTECTED]>
Date: 02-Jul-2000
Time: 15:40:22

This message was sent by XFMail
----------------------------------


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to