From owner-freebsd-questions@freebsd.org Tue Feb 26 20:13:16 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 E41AB1502463 for ; Tue, 26 Feb 2019 20:13:15 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from mailout4.ceti.pl (mailout4.ceti.pl [62.121.128.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F619713B8 for ; Tue, 26 Feb 2019 20:13:15 +0000 (UTC) (envelope-from rtomek@tau1.ceti.pl) Received: from localhost (localhost [127.0.0.1]) by mailout4.ceti.pl (Postfix) with ESMTP id 20AE0C0552F04; Tue, 26 Feb 2019 21:13:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailout1.ceti.pl Received: from mailout4.ceti.pl ([62.121.128.44]) by localhost (mailout1.ceti.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQwpJ+zTTBMz; Tue, 26 Feb 2019 21:12:59 +0100 (CET) Received: from tau1.ceti.pl (tau.ceti.pl [62.121.128.11]) by mailout4.ceti.pl (Postfix) with ESMTP id B6A27C0552F22; Tue, 26 Feb 2019 21:12:59 +0100 (CET) Received: by tau1.ceti.pl (Postfix, from userid 3727) id 778EB960E07; Tue, 26 Feb 2019 21:12:59 +0100 (CET) Date: Tue, 26 Feb 2019 21:12:59 +0100 From: Tomasz Rola To: "freebsd-questions@freebsd.org" Subject: Re: Recover failed SD card Message-ID: <20190226201259.GA7113@tau1.ceti.pl> References: <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 5F619713B8 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.91 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.92)[0.917,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[ceti.pl]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.60)[0.604,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: tau1.ceti.pl]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[44.128.121.62.list.dnswl.org : 127.0.15.0]; NEURAL_SPAM_LONG(0.19)[0.191,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[rtomek@ceti.pl,rtomek@tau1.ceti.pl]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15541, ipnet:62.121.128.0/20, country:PL]; FROM_NEQ_ENVFROM(0.00)[rtomek@ceti.pl,rtomek@tau1.ceti.pl]; IP_SCORE(0.01)[country: PL(0.05)] 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: Tue, 26 Feb 2019 20:13:16 -0000 On Sat, Feb 23, 2019 at 05:50:27PM +0100, 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? Out of curiosity, a question: can you do "fdisk -l" on the said card? Or an equivalent to try displaying partition table. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home ** ** directory. And then the C programmer became enlightened... ** ** ** ** Tomasz Rola mailto:tomasz_rola@bigfoot.com **