Compact Flash memory test

Nathan England nathan at paysonlinux.org
Tue Jan 27 18:01:24 MST 2009


On Tuesday 27 January 2009 15:10:16 Matt Graham wrote:
> From: Mike Bushroe <mbushroe at gmail.com>
>
> > I want to know if anyone knows of a memory tester for Compact
> > Flash cards. It would be helpful if the file system test
> > could be run under Ubuntu or Windows XP.
>
> When flash goes bad, reads of the same bit may or may not return
> the same value.  So I'd think that doing "md5sum /dev/blah" 4 times
> and making sure you got the same result each time would work.  Not
> sure how you'd do this in 'Doze though.  Device files exist under
> 'Doze, they're just a PITA to access and use.
>
> > Does the built in fsck do enough of a check to find bad cells in
> > a Compact Flash card/drive?
>
> Not necessarily.


Running badblocks -svfw /dev/flashdevice will perform a butteryfly test with 4 
passes, which aught to be way more than efficient to notify you of a failing 
flash volume.


More information about the PLUG-discuss mailing list