GPMI NAND crashes with UBIFS
Ezequiel Garcia
elezegarcia at gmail.com
Wed Oct 17 14:28:57 EDT 2012
On Wed, Oct 17, 2012 at 10:21 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Wed, 2012-10-17 at 15:16 +0200, Marek Vasut wrote:
>> Ok, I'll re-check. Though I suspect this problem disappeared with the
>> recently
>> applied UBI patches.
>
> No, you ask UBIFS to emulate a power cut, so it switched to R/O mode at
> a random point. It printed scary error messages, which are normal
> because an I/O operation failed. Then integck reported you the error and
> stopped.
>
> All expected.
>
> If you use -p integck option you will just make integck _not_ fail when
> the file-system suddenly becomes R/O, integck will just unmount it,
> mount back, remove all its data, and start over. Then you'll get another
> emulated power cut, and so on.
>
> Ideally this should never stop. The idea is to test that UBIFS can mount
> the file-system in case of a power cut.
>
> If there is a problem, integck should die.
>
> To just stress-test your driver you do not need power-cut emulation.
>
Is this expected behavior documented somewhere?
Thanks!
Ezequiel
More information about the linux-mtd
mailing list