UBI wl_tree_add problems after PEB scrubbed
Artem Bityutskiy
dedekind1 at gmail.com
Mon Dec 3 10:33:00 EST 2012
On Mon, 2012-12-03 at 16:02 +0100, Richard Weinberger wrote:
> 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?
No, CONFIG_MTD_UBI_FASTMAP is "no", it is switched off.
I used integck. Here is the command I was using:
$ sudo modprobe nandsim && sudo modprobe ubi mtd=0 && sudo ubimkvol -N test -m /dev/ubi0 && sudo modprobe ubifs && sudo mount -t ubifs /dev/ubi0_0 /mnt/ubifs/ && cd /home/dedekind/git/mtd-utils/tests/fs-tests/integrity && sudo sh -c 'echo 1 > /sys/kernel/debug/ubi/ubi0/tst_emulate_bitflips' && sudo ./integck -n2 /mnt/ubifs/
(sorry, you can easily split it).
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121203/773e8121/attachment.sig>
More information about the linux-mtd
mailing list