[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081110100915.GB30504@atrey.karlin.mff.cuni.cz>
Date: Mon, 10 Nov 2008 11:09:15 +0100
From: Pavel Machek <pavel@...e.cz>
To: J?rn Engel <joern@...fs.org>
Cc: kernel list <linux-kernel@...r.kernel.org>
Subject: Re: ext2/3 vs. kingston 32G SD card
> On Tue, 4 November 2008 12:02:25 +0100, Pavel Machek wrote:
> >
> > I got 32GB kingston SD card, and am using it with ext2 for storing git
> > trees etc.
> >
> > Unfortunately, every time I run fsck, I get rather nasty corruption.
> > I switched it to ext3 now, but I believe I have seen corruption even
> > on volume marked clean, which should be impossible from user error.
> >
> > If I suspect wrong block device, what are useful tests to run there?
>
> Not likely in your case, but a number of counterfeited devices are on
> the market. They contain a much smaller chip inside than is advertised
> plus some logic to return 0x00 when reading from non-existent memory.
>
> To test for this, simply write 0xff to the complete device and read it
> back. 'hd' is useful, as it compressed the output into four lines for a
> good device and a bit more when you bought crap.
Ok, I switched to ext3 and the card seems to behave now. It seems to
hold the data, so it is probably not fake :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists