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

From: Mark Jackson
Date: Wed Mar 13 2013 - 07:21:56 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/