[BUG] reproducable ubifs reboot assert and corruption
Andrea Adami
andrea.adami at gmail.com
Wed Jan 29 04:12:00 EST 2014
...cut...
Hi,
I'm following this thread because I experience similar symptoms:
corruption after a cycle of mount/remount.
My solution for the moment was CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE [1].
The setup I have is different, 2 interleaved multi-partitioned Sharp
NOR chips so I'm suspecting some issue in the suspend/erase/suspend
cycles.
Strangely this 'race' happens apparently only with ubifs: mtd_tests
and jffs2 do not show immediately the issue so it seems the ubi thread
in background makes the difference.
The alternative steps to reproduce the error in my case are:
A) ubiformat -f /rootfs.ubi /dev/mtd2 then mount/umount/ cycle or
write the mounted partition
B) creating empty volume wit ubiupdatevol -t then mount/remount several times
See some old logs [2]
I've got in touch with Nico who originally wrote the multi-partition
code and I'm doing new tests.
Fresh logs coming.
Cheers
Andrea
[1] http://cgit.openembedded.org/meta-handheld/tree/recipes-kernel/linux/linux-yocto-dev/patches/patches-mtd/collie-LH28F640BF.patch
[2] https://github.com/andrea-adami/collie-nor-flash/tree/master/debug-20140108
More information about the linux-mtd
mailing list