UBIFS Panic

Richard Weinberger richard at nod.at
Mon Jun 30 10:34:29 PDT 2014


Am 30.06.2014 19:23, schrieb Akshay Bhat:
> 
> 
> On Mon 30 Jun 2014 10:48:01 AM EDT, Richard Weinberger wrote:
>> On Mon, Jun 30, 2014 at 3:01 PM, Akshay Bhat <abhat at lutron.com> wrote:
>>> Thanks for your response. Answers in-line.
>>>
>>>
>>> On Thu 26 Jun 2014 10:36:00 PM EDT, hujianyang wrote:
>>>>
>>>> How did you release data on the flash? What's the partitions on your
>>>> system?
>>>> Did you use MTD_UBI_FASTMAP?
>>>
>>>
>>> Image was flashed using the below command:
>>> ubiformat /dev/mtd11 -f rootfs.ubi -s 512 -O 2048
>>>
>>> UBI fastmap is enabled.
>>> CONFIG_MTD_UBI_FASTMAP=y
>>
>> Do you also use it or is it just enabled?
> 
> We do not need/use the fastmap feature. (fm_autoconvert set to 0).
> 
> Is enabling UBI_FASTMAP the cause for the panic? If so I can disabled the
> feature and re-test. Do you see any compatibility issue going from:
> Current config -> New config -> Failsafe config

I hope not. :)
Please retry with CONFIG_MTD_UBI_FASTMAP=n.

> Current config: CONFIG_MTD_UBI_FASTMAP = y; fm_autoconvert = 0
> New config:  CONFIG_MTD_UBI_FASTMAP = n; fm_autoconvert = 0
> Failsafe kernel config (if the above kernel does not boot):
> CONFIG_MTD_UBI_FASTMAP = y; fm_autoconvert = 0
> 
> Snippet of dmesg boot log:
> [    0.000000] Kernel command line: console=ttyO0,115200n8 noinitrd mem=256M
> root=ubi0:rootfs rw ubi.mtd=11,2048 rootfstype=ubifs rootwait=1 ip=none quiet
> loglevel=3 panic=3
> ............
> [    0.483696] UBI: default fastmap pool size: 95
> [    0.483712] UBI: default fastmap WL pool size: 25

This indicates CONFIG_MTD_UBI_FASTMAP=y.

Thanks,
//richard



More information about the linux-mtd mailing list