From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 57762138CBF for ; Sat, 14 Mar 2015 00:25:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A267CE08DC; Sat, 14 Mar 2015 00:24:58 +0000 (UTC) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43450E08C2 for ; Sat, 14 Mar 2015 00:24:57 +0000 (UTC) Received: by wetk59 with SMTP id k59so2698748wet.3 for ; Fri, 13 Mar 2015 17:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=uOnt2VZPdHU7+RQYnvofAQipfApmnncgSwhT6Bi4l70=; b=MEQJICQi0i7xLM6vLeaeB7YS0Dtj22AaYGsfHHR4/EL8II3mebayYNMD2lp2v0CW1W UtmMRBbp2Wh7AqysxxGdr0KiNxdNQgQBZRsyQJTV/2FbZj8nZt316OybHOsddXNGhYcU 2k14FAwKZ+HHIbs/e9L+7JBKtYqhBKtn5I8F3CnXTCBczsDc9PO5c+IILK1nPS28hkrp XTfvV3z9NIsubaSZ8Yi22w1h7uASBF7YWzybPqRQBVEeRjtaQijPia+ftJcoWxPbPZSl jazYCMb0wlF5Jr/wP/tJ5atR6eV5z6mqY35FDlRhfNbmJnC4FbQNTbnFMHXPuzo/cywz cBKw== X-Received: by 10.194.21.137 with SMTP id v9mr100022634wje.140.1426292696029; Fri, 13 Mar 2015 17:24:56 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id lb6sm4876092wjb.22.2015.03.13.17.24.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Mar 2015 17:24:55 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Damaged CD medium Date: Sat, 14 Mar 2015 00:24:30 +0000 User-Agent: KMail/1.13.7 (Linux/3.18.7-gentoo; KDE/4.14.3; x86_64; ; ) References: <201503131631.02862.michaelkintzios@gmail.com> <20150313222432.715f5cef@digimed.co.uk> In-Reply-To: <20150313222432.715f5cef@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1707726.j3cNjJl0Z4"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201503140024.53490.michaelkintzios@gmail.com> X-Archives-Salt: 68bf7c1e-4906-4acb-b4c7-34775c6b6d55 X-Archives-Hash: 9b0583820bcf13164e97ccc0bb3bf670 --nextPart1707726.j3cNjJl0Z4 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday 13 Mar 2015 22:24:32 Neil Bothwick wrote: > On Fri, 13 Mar 2015 17:54:01 +0000 (UTC), Grant Edwards wrote: > > IIRC, there are ebuilds for ddrescue, photorec, and testdisk. >=20 > There's also app-cdr/dvdisaster. Thank you all. dd and ddrescue don't work, because the block device is not= =20 recognised. I had already tried this with not success. dvddisaster requires to have created a file with error correction ("ecc") d= ata=20 in advance of the hardware failure, then use that to recover the lost bits. readcd is great - thanks Joerg! However, this is what I got in my first=20 attempt: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ readcd dev=3D1,0,0 -v scsidev: '1,0,0' scsibus: 1 target: 0 lun: 0 Linux sg driver version: 3.5.36 readcd: Input/output error. set cd speed: scsi sendcmd: no error CDB: BB 00 FF FF FF FF 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) F= ru=20 0x0 Sense flags: Blk 0 (not valid)=20 cmd finished after 0.042s timeout 40s Read speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x). Write speed: 0 kB/s (CD 0x, DVD 0x, BD 0x). 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk 13:scsireset 14:seektest 15: readda 16: reada 17: c2err 18:readcd 19: lin 20: full toc Enter selection: 0 (0 - 20)/: 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk 13:scsireset 14:seektest 15: readda 16: reada 17: c2err 18:readcd 19: lin 20: full toc Enter selection: 4 (0 - 20)/:5 <=3D=3DNot sure if I entered the corr= ect No. Doing 1000 'TEST UNIT READY' operations. Time total: 0.296sec Doing 1000 'SEEK_G1 (0)' operations. Time total: 418.463sec 0:read 1:veri 2:erase 3:read buffer 4:cache 5:ovtime 6:cap 7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk 13:scsireset 14:seektest 15: readda 16: reada 17: c2err 18:readcd 19: lin 20: full toc Enter selection: 10 (0 - 20)/: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Here I tried different values, none of which produced anything until: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Enter selection: 10 (0 - 20)/:11 Capacity: 2295104 Blocks =3D 4590208 kBytes =3D 4482 MBytes =3D 4700 prMB Sectorsize: 2048 Bytes Ignore disk size? y Copy from SCSI (1,0,0) disk to file Enter filename [disk.out]: disk.out Enter starting sector for copy: 0 (0 - 9999999)/:0 Enter number of sectors to copy: 10000000 (1 - 10000000)/: Enter number of sectors per copy: 64 (1 - 64)/: end: 10000000 readcd: Input/output error. read_g1: scsi sendcmd: no error CDB: 28 00 00 00 00 00 00 00 40 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 3E 02 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x3E Qual 0x02 (timeout on logical unit) Fru 0x0 Sense flags: Blk 0 (not valid)=20 cmd finished after 10.414s timeout 40s readcd: Input/output error. Cannot read source disk readcd: Retrying from sector 0. =2E~~-readcd: Input/output error. test unit ready: scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0 Sense flags: Blk 0 (not valid)=20 cmd finished after 0.009s timeout 40s ~readcd: Input/output error. test unit ready: scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This repeated itself for a while, until: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D readcd: Input/output error. Error on sector 0 not corrected. Total of 1=20 errors. readcd: Input/output error. read_g1: scsi sendcmd: no error CDB: 28 00 00 00 00 00 00 00 01 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0 Sense flags: Blk 0 (not valid)=20 cmd finished after 0.009s timeout 40s Time total: 156.756sec Read 0.00 kB at 0.0 kB/sec. Max corected retry count was 0 (limited to 128). The following 1 sector(s) could not be read correctly: 0 readcd: Input/output error. test unit ready: scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 Sense Key: 0x2 Not Ready, Segment 0 Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0 Sense flags: Blk 0 (not valid)=20 cmd finished after 0.010s timeout 40s readcd: Device not ready. $ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Does this above mean that the first sector is damaged? How to proceed from= =20 here? =2D-=20 Regards, Mick --nextPart1707726.j3cNjJl0Z4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVA3/VAAoJELAdA+zwE4YeXD8H/AgNwePrPYUD1DZFON9x6fKu cuJE4eqAKK8b85tuBsmdTjjfj++7dxYRQWbHH2f4Rh02/IQ6SOSExGFnnHrboUJ3 rI2Mj9QHhQiRhpIs+6F9oM8KknYnJRnmenYMg+ytLLQRnimorMCjWWShO/aCCRag 3wHvjngEYL1D88DvKm1GYQR5DJixsvFCicNpXaxx04fWG4huLMNOCmyx1YZQAdPH xQpXBtpARm2gbTHD/LNhbAP9VA16Kht5oBOYfXRxCMIcAIy/cokoEXdpGQMlJWqt khdnKW9I5fcaluwDdS5fX8E0DUMNQnOHiKThbsY3s81F+x3HsobwBpx3/GLDYSg= =Shmd -----END PGP SIGNATURE----- --nextPart1707726.j3cNjJl0Z4--