Re: UBI assert failed in ubi_wl_init

Richard Weinberger
2018-02-18T20:31:48Z

On Tue, Feb 13, 2018 at 3:00 PM, Timo Ketola <timo@exertus.fi> wrote:
> On 13.02.2018 14:42, Richard Weinberger wrote:
>> So, this is not what you have described in your problem report.
>> Can you please double check?
>
> Hmm, how?
>
> To get those images, I burned a fresh empty image again into the NAND.
> On the first boot there was again in the dmesg this:
>
>
>> [ 18.804716] ubi1 error: ubi_update_fastmap: could not get any free erase block
>> [ 18.810745] ubi1 warning: ubi_update_fastmap: Unable to write new fastmap, err=-28
>
> And then I took the first image. Then I rebooted and this time there was
> in the dmesg this:
>
>> [ 4.231126] UBI assert failed in ubi_wl_init at 1666 (pid 1)
>
> and backtrace. Then I took the second image.
>
> Every boot after the first one generates the failed assertion into the
> dmesg.
>
> What should I do next?

Okay. That's a bit odd. Maybe my analysis is wrong. Can you try the
following, replay the image to your NAND and attach again.
Then you should get the same UBI assert a second time.

--
Thanks,
//richard