Memory replacement

Arnd Bergmann arnd at
Mon Mar 14 10:01:11 EDT 2011

On Sunday 13 March 2011, Mikus Grinbergs wrote:
> > The tests have also helped expose other issues with things like sudden 
> > power off.  In one case a SPO during a write would corrupt the card so 
> > badly it became useless.  You could only recover them via a super secret 
> > tool from the manufacturer.
> Is there any "sledgehammer" process available to users without a super
> secret tool ?

You can recover some cards by issueing an erase on the full drive.
Unfortunately, this requires a patch to the SDHCI device driver,
which is only now going into the kernel, I think it will be
in 2.6.39.

Issuing an erase (ioctl BLKDISCARD) also helps recover the performance
on cards that get slower with increased internal fragmentation, but
most cards use GC algorithms far too simple to get into that problem
in the first place.


More information about the Devel mailing list