From owner-freebsd-questions@freebsd.org Sat Feb 23 21:41:37 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27AC11506306 for ; Sat, 23 Feb 2019 21:41:37 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (50-196-187-248-static.hfc.comcastbusiness.net [50.196.187.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "baywinds.org", Issuer "rr-v" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 16C147092D for ; Sat, 23 Feb 2019 21:41:32 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from bruces-MacBook-Pro.local (mac [192.0.2.93]) by baywinds.org (8.14.4/8.14.4) with ESMTP id x1NKoAKp028503 for ; Sat, 23 Feb 2019 12:50:10 -0800 Subject: Re: Recover failed SD card To: freebsd-questions@freebsd.org References: <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it> From: Bruce Ferrell Message-ID: Date: Sat, 23 Feb 2019 12:50:10 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Greylist: inspected by milter-greylist-4.5.12 (baywinds.org [192.0.2.134]); Sat, 23 Feb 2019 12:50:10 -0800 (PST) for IP:'192.0.2.93' DOMAIN:'mac' HELO:'bruces-MacBook-Pro.local' FROM:'bferrell@baywinds.org' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.12 (baywinds.org [192.0.2.134]); Sat, 23 Feb 2019 12:50:10 -0800 (PST) X-Rspamd-Queue-Id: 16C147092D X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of bferrell@baywinds.org designates 50.196.187.248 as permitted sender) smtp.mailfrom=bferrell@baywinds.org X-Spamd-Result: default: False [-1.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.79)[-0.793,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.92)[-0.920,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.30)[0.302,0]; MX_GOOD(-0.01)[mail2.baywinds.org,mail1.baywinds.org,mail.baywinds.org]; DMARC_NA(0.00)[baywinds.org]; IP_SCORE(0.05)[ipnet: 50.128.0.0/9(0.85), asn: 7922(-0.54), country: US(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 21:41:37 -0000 On 2/23/19 11:47 AM, Valeri Galtsev wrote: > > > On 2/23/19 10:50 AM, Andrea Venturoli wrote: >> Hello. >> >> A customer of mine gave me an SD card which is quite surely failing. >> I'm trying to recover what I can. >> >> >> >> I first tried using an USB based reader: altough the SD card should >> be 4GB in size, dd just copies 121MB. So does recoverdisk. >> "camcontrol readcap /dev/da3" gives: >>> Last Block: 248319, Block Length: 512 bytes >> which agains means about 121MB. >> >> I put the card in another box and i get: >>> mmcsd0: 127MB at mmc0 >>> 0.4MHz/4bit/65535-block >> >> >> >> Is there any way I can get beyond this 121-127MB limit and read what >> I can of the rest? >> I looked into camcontrol's man page, but came up with no idea. > > I would be sceptical about that. The card is a single chip, not even a > printed circuit board, so whatever the failure it is it is inside the > chip (read: integrated circuit). Yet, out of desperation, I would try > what we did with failing printed circuit boards: put it for some time > in a freezer (say for 20-40 min), take it out and try to read again. > Heat moderately, I would say to about 90 C (for about 20-40 min), and > try to read it again. > > Next step is paid recovery services, with those stay away from the > ones who charge even for "taking a look", use only those who charge if > they recover most of the stuff. These will be expensive, expect to pay > $500 - $1000. Ask me off the list which ones I know are good just by > someone's I know experience. The cases I know of were hard drives, but > some of them may work with Flash devices as well. > > Good luck! > > Valeri > > >> >> The card should hold pictures, so I could go ahead with photorec once >> I got an even partial image. >> >>   bye & Thanks >>      av. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > Unfortunately flash memory "wears out".  There are spare storage blocks and logic to level wear by switching th the spares when main block failures are detected. More expensive devices set themselves read only before ultimate failure happens.  From what you describe, this one isn't on of them so now there is data loss and no way to recover. this isn't a matter of removing the spinning rust media and mounting into a "jig" to recover from (in the old days recovery services advertised clean rooms to do this).