UBI wl_tree_add problems after PEB scrubbed

Richard Weinberger richard at nod.at
Mon Dec 3 10:02:58 EST 2012


Am Mon, 03 Dec 2012 16:46:00 +0200
schrieb Artem Bityutskiy <dedekind1 at gmail.com>:

> /me looks at Richard...

/me looks at the code. ;)

> OK, I confirm that this is fastmap to blame. Namely, this commit:

CONFIG_MTD_UBI_FASTMAP is y and ubi.fm_autoconvert is 1, correct?
What tests are you using? ubi-tests?

Does the issue still happen if you disable ubi_self_check_all_ff() in
__wl_get_peb()
And yeah, that's a very stupid bug, I'm very sorry.

I'm running ubi-tests now for a while, self_check_ec() triggered once,
but I've never seen "UBI assert failed in wl_tree_add at 204" so far.

Thanks,
//richard



More information about the linux-mtd mailing list