From owner-freebsd-questions@freebsd.org Sat Feb 23 19:47:27 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 9EFE61503206 for ; Sat, 23 Feb 2019 19:47:27 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id C07F26CCC5 for ; Sat, 23 Feb 2019 19:47:26 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [10.0.0.8] (adsl-108-68-160-152.dsl.chcgil.sbcglobal.net [108.68.160.152]) by kicp.uchicago.edu (Postfix) with ESMTP id 1176371804F for ; Sat, 23 Feb 2019 13:47:19 -0600 (CST) Subject: Re: Recover failed SD card To: freebsd-questions@freebsd.org References: <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it> From: Valeri Galtsev Message-ID: Date: Sat, 23 Feb 2019 13:47:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C07F26CCC5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dmarc=fail reason="" header.from=uchicago.edu (policy=none) X-Spamd-Result: default: False [-1.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.742,0]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.837,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.01)[country: US(-0.07)]; NEURAL_SPAM_SHORT(0.30)[0.299,0]; MX_GOOD(-0.01)[kicp.uchicago.edu]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 19:47:27 -0000 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" -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++