From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LVc7a-0007Ti-Aj for garchives@archives.gentoo.org; Sat, 07 Feb 2009 01:36:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09812E0215; Sat, 7 Feb 2009 01:36:37 +0000 (UTC) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.152]) by pigeon.gentoo.org (Postfix) with ESMTP id DE2D1E0215 for ; Sat, 7 Feb 2009 01:36:36 +0000 (UTC) Received: by yx-out-1718.google.com with SMTP id 4so491117yxp.46 for ; Fri, 06 Feb 2009 17:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=/yVK0xJO3rfNhmkfC2jakYaRrUXMiJ9In0Qb11MSgXQ=; b=pGk1Gns69OvKoiynRZKeisg2Lix52e8wDlYzYfAPSHcd8R5VtEstZBkXS6pNyYzjO2 5uMt+K5BHnvn5ZeBFMn0Zmwxsj8tA53kvzuSfRKeQxsDLPj+gPgxPzPPZ5TV99XesOMq tiU0wIQYe4eg/G4wSqXrTvXyG/QExWnAyIryM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=mB0M9R6B0nEBUkBJ4nlyaz41X181eo6F1wrzJCLAyQpeWkPmrkoQDbuVSXgwJxtqFQ kegi6bMwzRoiFemsYhDYyXtNBBm94ogh2JEZ+KAw04krU9cMovFJOgtqrm91Qd5zF71n lXQueduQGETqANQPk3FXFxxYBJ4Hu1rNMfu00= 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 Sender: paul.hartman@gmail.com Received: by 10.151.14.5 with SMTP id r5mr329261ybi.26.1233970596585; Fri, 06 Feb 2009 17:36:36 -0800 (PST) In-Reply-To: <1233898098.21997.10.camel@localhost> References: <1233898098.21997.10.camel@localhost> Date: Fri, 6 Feb 2009 19:36:36 -0600 X-Google-Sender-Auth: 2b7a845f53ff1845 Message-ID: <58965d8a0902061736j67acd708g469564daf3038bd6@mail.gmail.com> Subject: Re: [gentoo-user] testing a corrupt SD card From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a25793ab-1f4f-4931-b143-beb3a9c57d3f X-Archives-Hash: 961f55d42941b6ffc33e3a78f4e99aed On Thu, Feb 5, 2009 at 11:28 PM, Iain Buchanan wrote: > Hi all, > > recently my SD card just went bonkers. Unfortunately I lost a lot of > photos on it (backups are useless until the data actually gets to the > backup...) but fortunately I was able to use a program to recover about > 170 photos. > > Anyway, I don't know if it was just static, shock, dead card, or phase > of the moon, so I would like to see if the card is good before I > continue to use it. With any kind of memory or storage device, I would stop using after the first sign of a problem. My personal experience says it only gets worse. :) Lexar has a free program for recovering corrupted/deleted files from their cards, did you use that? Or something linux-based like photorec? Anyway, you wrote over it so it's too late now. :) I would try any kind of "torture test" you can think of on it. Also be sure to unmount/remove and reinsert it a few times. I have encountered cards that only work 1 out of 4 times they are inserted into the card reader, etc. Maybe the contacts are worn if it's a few years old? Some (all?) memory cards do wear-leveling/load balancing so when you write to sector 13 it might not be the same sector 13 as last time, so doing any kind of repeated error testing might be difficult. In fact, if the card detects bad spots it may simply hide them from you. There may be programmatic ways to bypass the card's wear-leveling, but I don't know how. Good luck! In case you can't get it working reliably, Newegg has an 8gb CF card for $19.99 & free shipping :) Paul