UBIFS assert when rebooting a read only ubifs when it's been remounted r/w

Martin Townsend mtownsend1973 at gmail.com
Fri May 20 02:47:35 PDT 2016


On Fri, May 20, 2016 at 8:49 AM, Richard Weinberger <richard at nod.at> wrote:
> Am 18.05.2016 um 12:39 schrieb Martin Townsend:
>> I can't do the sync as the error only occurs during boot and I can see
>> the assert whilst systemd is rmounting all the filesystems. Once I've
>> logged in I can't get the assert to trigger again.  Just to summarise
>> the conditions for triggering the assert
>> To trigger I login and remount / as rw and then reboot (to a ro
>> rootfs) and the assert first during the boot.
>> The assert will appear on all subsequent boots (Providing I don't do
>> the following)
>> To get rid of the assert I can, once logged in, remount / rw and then
>> ro and then reboot.
>
> Hmm, so there is no reset/power cut involved at all?
> Can you trigger it when you mount a UBIFS by hand ro and remount?
>
I was resetting the board but will try the reboot command, I won't be
able to try until Monday though as I don't currently have the board.
I couldn't trigger this by booting via NFS and then trying to manually
mount, remount UBIFS.

Also will try patch on Monday :)

Cheers,
Martin.

> Thanks,
> //richard



More information about the linux-mtd mailing list