MTD : Kernel oops when remounting ubifs as read/write

Mark Jackson mpfj-list at mimc.co.uk
Wed Mar 13 07:21:49 EDT 2013


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.



More information about the linux-mtd mailing list