← Back to team overview

sslug-teknik team mailing list archive

Re: Backup af ikke-standard cder

 

Kære Frank.
Har du sammenlignet /verify af cdimage, nogen gange
har læsefejl indflydelse på resultatet.
Hvis det ikke er standard-ISO format så kan du vel ikke
mounte det image med loop-device for at teste :(

Jeg kan ikke komme så langt som at få lavet et image.

Hvad får du af fejl ?

Med fare for at blive beskyldt for at spilde båndbredde, så kommer her et dump af det jeg prøvet:

*****
dd if=/dev/scd0 of=/mnt/data/img
*****

/var/log/messages
Mar 21 20:39:14 spiderman kernel: SCSI CD error : host 0 id 3 lun 0 return code
= 28000002
Mar 21 20:39:14 spiderman kernel: Info fld=0xc, Current sr0b:00: sns = f0  8
Mar 21 20:39:14 spiderman kernel: ASC=64 ASCQ= 0
Mar 21 20:39:14 spiderman kernel: Raw sense data:0xf0 0x00 0x08 0x00 0x00 0x00 0x0c 0x0a 0x00 0x00 0x00 0x00 0x64 0x00 0x00 0x00
Mar 21 20:39:14 spiderman kernel: CD-ROM I/O error: dev 0b:00, sector 36
... For sector 40-64

*****
cdrecord -v dev=0,3,0 speed=4 -isosize /dev/hdb
*****

*****
/var/log/messages
*****
Mar 21 21:33:35 spiderman kernel: end_request: I/O error, dev 03:40 (hdb), sector 66 Mar 21 21:33:35 spiderman kernel: end_request: I/O error, dev 03:40 (hdb), sector 64
... Indtil jeg trykker <CTRL>-C

*****
cdrecord -v dev=0,3,0 speed=4 -isosize /dev/scd1
Stanard out:
*****

Cdrecord release 1.6 Copyright (C) 1995-1998 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,3,0'
scsibus: 0 target: 3 lun: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : RELADR SYNC LINKED
Vendor_info    : 'TEAC    '
Identifikation : 'CD-R50S-000     '
Revision       : '1.0E'
Device seems to be: Teac CD-R50S.
Using driver for Teac CD-R50S, Teac CD-R55S, JVC XR-W2010, Pinnacle RCD-5020 (teac_cdr50).
Driver flags   : SWABAUDIO
Track 01: data  616 MB
Total size:     708 MB (70:09.84) = 315738 sectors
Lout start:     708 MB (70:11/63) = 315738 sectors

Med SCSI emulation slaet til:
cdrecord -v dev=0,3,0 speed=4 -isosize /dev/scd1
Cdrecord release 1.6 Copyright (C) 1995-1998 J
Waiting for reader process to fill input-buffer ... input-buffer ready.
Judging disk...done.
Calibrating laser...cdrecord: Success. opt_power_judge: scsi sendcmd: retryable
error
CDB:  EC 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 FF FF FF 6A 0A 00 00 00 11 15 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x15 Qual 0x00 (random positioning error) Fru 0x0
Sense flags: Blk -150 (valid)
cmd finished after 43.059s timeout 60s
done.
cdrecord: Cannot open new session.

*****
/var/log/messages
*****

Mar 21 21:40:17 spiderman kernel: SCSI CD error : host 1 id 1 lun 0 return code
= 28000000
Mar 21 21:40:17 spiderman kernel: CD-ROM I/O error: dev 0b:01, sector 0
Mar 21 21:40:17 spiderman kernel: SCSI CD error : host 1 id 1 lun 0 return code
= 28000000
... Op til sector 60


*****
./readcd 3 f=/mnt/data/img
Standard out:
*****

dev: '(NULL POINTER)'
Copy from SCSI (0,3,0) disk to file '/mnt/data/img'
end:    315736
addr: 0 cnt: 16^M./readcd: Input/output error. read_g1: scsi sendcmd: retryable error
status: 0x2 (CHECK CONDITION)
l1: 0x1000003 l2: 0x0
Bus: 0 Target: 3 Lun: 0 Chan: 0 Ino: 1
scsi_getbuf: 32768 bytes
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x0805CF58 size: 36 - using copy buffer
DMA addr: 0x00000000 size: 0 - using copy buffer
DMA addr: 0x0805CF80 size: 8 - using copy buffer
Capacity: 315736 Blocks = 631472 kBytes = 616 MBytes = 646 prMB
Sectorsize: 2048 Bytes
CDB:  28 00 00 00 00 00 00 00 10 00
Sense Bytes: F0 00 08 00 00 00 0C 0A 00 00 00 00 64 00 00 00
Sense Key: 0x8 Blank Check, Segment 0
Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
Sense flags: Blk 12 (valid)
cmd finished after 1.410s timeout 20s

./readcd: Input/output error. Cannot read source disk
./readcd: Retrying from sector 0.

*****
/var/log/messages
*****

Mar 21 21:47:25 spiderman kernel: CD-ROM I/O error: dev 0b:01, sector 0
Mar 21 21:47:25 spiderman kernel: SCSI CD error : host 1 id 1 lun 0 return code
= 28000000
... Op til sector 60

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



Follow ups