Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Damaged CD medium
Date: Sat, 14 Mar 2015 00:25:04
Message-Id: 201503140024.53490.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Re: Damaged CD medium by Neil Bothwick
1 On Friday 13 Mar 2015 22:24:32 Neil Bothwick wrote:
2 > On Fri, 13 Mar 2015 17:54:01 +0000 (UTC), Grant Edwards wrote:
3 > > IIRC, there are ebuilds for ddrescue, photorec, and testdisk.
4 >
5 > There's also app-cdr/dvdisaster.
6
7 Thank you all. dd and ddrescue don't work, because the block device is not
8 recognised. I had already tried this with not success.
9
10 dvddisaster requires to have created a file with error correction ("ecc") data
11 in advance of the hardware failure, then use that to recover the lost bits.
12
13 readcd is great - thanks Joerg! However, this is what I got in my first
14 attempt:
15 =================================================================
16 $ readcd dev=1,0,0 -v
17 scsidev: '1,0,0'
18 scsibus: 1 target: 0 lun: 0
19 Linux sg driver version: 3.5.36
20 readcd: Input/output error. set cd speed: scsi sendcmd: no error
21 CDB: BB 00 FF FF FF FF 00 00 00 00 00 00
22 status: 0x2 (CHECK CONDITION)
23 Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
24 Sense Key: 0x2 Not Ready, Segment 0
25 Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru
26 0x0
27 Sense flags: Blk 0 (not valid)
28 cmd finished after 0.042s timeout 40s
29 Read speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x).
30 Write speed: 0 kB/s (CD 0x, DVD 0x, BD 0x).
31 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap
32 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk
33 13:scsireset 14:seektest 15: readda 16: reada 17: c2err
34 18:readcd 19: lin 20: full toc
35 Enter selection: 0 (0 - 20)/<cr>:
36 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap
37 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk
38 13:scsireset 14:seektest 15: readda 16: reada 17: c2err
39 18:readcd 19: lin 20: full toc
40 Enter selection: 4 (0 - 20)/<cr>:5 <==Not sure if I entered the correct No.
41 Doing 1000 'TEST UNIT READY' operations.
42 Time total: 0.296sec
43 Doing 1000 'SEEK_G1 (0)' operations.
44 Time total: 418.463sec
45 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap
46 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk
47 13:scsireset 14:seektest 15: readda 16: reada 17: c2err
48 18:readcd 19: lin 20: full toc
49 Enter selection: 10 (0 - 20)/<cr>:
50 =================================================================
51
52
53 Here I tried different values, none of which produced anything until:
54 =================================================================
55 Enter selection: 10 (0 - 20)/<cr>:11
56 Capacity: 2295104 Blocks = 4590208 kBytes = 4482 MBytes = 4700 prMB
57 Sectorsize: 2048 Bytes
58 Ignore disk size? y
59 Copy from SCSI (1,0,0) disk to file
60 Enter filename [disk.out]: disk.out
61 Enter starting sector for copy: 0 (0 - 9999999)/<cr>:0
62 Enter number of sectors to copy: 10000000 (1 - 10000000)/<cr>:
63 Enter number of sectors per copy: 64 (1 - 64)/<cr>:
64 end: 10000000
65 readcd: Input/output error. read_g1: scsi sendcmd: no error
66 CDB: 28 00 00 00 00 00 00 00 40 00
67 status: 0x2 (CHECK CONDITION)
68 Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 3E 02 00 00
69 Sense Key: 0x4 Hardware Error, Segment 0
70 Sense Code: 0x3E Qual 0x02 (timeout on logical unit) Fru 0x0
71 Sense flags: Blk 0 (not valid)
72 cmd finished after 10.414s timeout 40s
73 readcd: Input/output error. Cannot read source disk
74 readcd: Retrying from sector 0.
75 .~~-readcd: Input/output error. test unit ready: scsi sendcmd: no error
76 CDB: 00 00 00 00 00 00
77 status: 0x2 (CHECK CONDITION)
78 Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
79 Sense Key: 0x2 Not Ready, Segment 0
80 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
81 Sense flags: Blk 0 (not valid)
82 cmd finished after 0.009s timeout 40s
83 ~readcd: Input/output error. test unit ready: scsi sendcmd: no error
84 CDB: 00 00 00 00 00 00
85 status: 0x2 (CHECK CONDITION)
86 =================================================================
87
88
89 This repeated itself for a while, until:
90 =================================================================
91 readcd: Input/output error. Error on sector 0 not corrected. Total of 1
92 errors.
93 readcd: Input/output error. read_g1: scsi sendcmd: no error
94 CDB: 28 00 00 00 00 00 00 00 01 00
95 status: 0x2 (CHECK CONDITION)
96 Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
97 Sense Key: 0x2 Not Ready, Segment 0
98 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
99 Sense flags: Blk 0 (not valid)
100 cmd finished after 0.009s timeout 40s
101
102 Time total: 156.756sec
103 Read 0.00 kB at 0.0 kB/sec.
104 Max corected retry count was 0 (limited to 128).
105 The following 1 sector(s) could not be read correctly:
106 0
107 readcd: Input/output error. test unit ready: scsi sendcmd: no error
108 CDB: 00 00 00 00 00 00
109 status: 0x2 (CHECK CONDITION)
110 Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
111 Sense Key: 0x2 Not Ready, Segment 0
112 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
113 Sense flags: Blk 0 (not valid)
114 cmd finished after 0.010s timeout 40s
115 readcd: Device not ready.
116 $
117 =================================================================
118
119 Does this above mean that the first sector is damaged? How to proceed from
120 here?
121
122 --
123 Regards,
124 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: Damaged CD medium Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Re: Damaged CD medium Joerg Schilling <Joerg.Schilling@××××××××××××××××.de>