lkml.org 
[lkml]   [2006]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: o_sync in vfat driver
Date
On Feb 28, 2006, at 17:38:55, Pavel Machek wrote:
> I have seen flash disk dead in 5 minutes, even without o-sync.
> Those devices are often crap. (I copied tar file to flash by cat
> foo.tar > /dev/sda. That was apparently enough to kill that flash.
> Label "Yahoo" should have warned me).

Sometimes a flash device can have a temporary error condition that is
solved by rewriting the data. (I've seen it triggered by buggy USB
hubs that don't provide the rated power). It seems that a number of
flash drives have internal checks, and when those trigger it reports
a bad sector (even if it isn't permanently bad). My 1GB flashdrive
failed in that way, and I was able to fix the error by erasing with
"dd if=/dev/full of=/dev/usbkey" and reformatting. After the error
occurred I started md5summing every file I put on the drive, but I've
been using it for a month now and not a single checksum has miscomputed.

Cheers,
Kyle Moffett
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-01 05:31    [W:0.097 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site