public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] testing a corrupt SD card
Date: Fri, 6 Feb 2009 19:36:36 -0600	[thread overview]
Message-ID: <58965d8a0902061736j67acd708g469564daf3038bd6@mail.gmail.com> (raw)
In-Reply-To: <1233898098.21997.10.camel@localhost>

On Thu, Feb 5, 2009 at 11:28 PM, Iain Buchanan <iaindb@netspace.net.au> 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



  parent reply	other threads:[~2009-02-07  1:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06  5:28 [gentoo-user] testing a corrupt SD card Iain Buchanan
2009-02-06  7:11 ` Stroller
2009-02-11  0:50   ` Iain Buchanan
2009-02-06 16:47 ` [gentoo-user] " James
2009-02-11  0:54   ` Iain Buchanan
2009-02-06 22:21 ` [gentoo-user] " Stroller
2009-02-11  0:54   ` Iain Buchanan
2009-02-11 16:09     ` Stroller
2009-02-07  1:36 ` Paul Hartman [this message]
2009-02-07  1:38   ` Paul Hartman
2009-02-11  0:59   ` Iain Buchanan
2009-02-11 16:14     ` Paul Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58965d8a0902061736j67acd708g469564daf3038bd6@mail.gmail.com \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox