Re: MTD : Kernel oops when remounting ubifs as read/write

Mark Jackson
2013-03-13T11:21:52Z

On 13/03/13 11:20, Artem Bityutskiy wrote:
> On Wed, 2013-03-13 at 11:12 +0000, Mark Jackson wrote:
>>> - if (c->space_fixup) {
>>> - err = ubifs_fixup_free_space(c);
>>> - if (err)
>>> - goto out;
>>> - }
>>> -
>>> mutex_unlock(&c->umount_mutex);
>>> return err;
>>>
>>
>> Sorry ... this just locks up the unit.
>
> Am I right that to reproduce it I need any image with the 'fixup' flag
> set, then I should put it on the flash, mount it R/O and then remount
> R/W. Right?
>

Yes ... this is on a custom AM335x board, where the ubi image must be created
with the "-F" flag.

Cheers
Mark J.