SD/MMC cards: how crappy they are?

From: Pavel Machek
Date: Tue Dec 02 2008 - 09:48:49 EST

I have 32GB card here...

root@amd:/home/pavel/WWW/wear/tinylight# time cat /dev/mmc1 > /dev/null
cat: /dev/mmc1: Input/output error
1.32user 49.03system 4184.78 (69m44.789s) elapsed 1.20%CPU

...maybe it was because of powerfail? I'll try to run badblocks to
recover it...

...I did. Badblocks did not help, but cat /dev/zero > /dev/mmc1
did.. And yes, thosse 'temporarily bad blocks' seem very much
powerfail related.

Its bad, because ext2/3 does not seem to handle this very well... not
even fsck does the selective rewrite... :-(.

(cesky, pictures)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at