Mounting issue with old rootfs and new kernel

Richard Weinberger richard.weinberger at gmail.com
Thu Nov 30 07:28:25 PST 2017


Jaap,

On Thu, Nov 30, 2017 at 4:22 PM, Jaap de Jong <jaap.dejong at nedap.com> wrote:
> Hi
>
> I'm hoping for some pointers.
>
> I have this a created with openembedded classic.
>
> It works just fine when running with an old kernel (2.6.35)
>
> Now with the same rootfs and a newer kernel (4.9.28) it damages the old
> rootfs in such a way that it becomes unusable.
>
> This is the error it shows:
>
>                         [    1.523437] ubi0 error: ubi_read_volume_table:
> the layout volume was not found
>                         [    1.531250] ubi0 error: ubi_attach_mtd_dev:
> failed to attach mtd3, error -22

Are these really the only erros/warnings from UBI?

>                         [    1.539062] UBI error: cannot attach mtd3
>                         [    1.546875] Kernel panic - not syncing: VFS:
> Unable to mount root fs on unknown-block(0,0)
>                         [    1.546875] Rebooting in 1 seconds..RomBOOT
>
> As far as I can see the kernel configuration seems to be ok.
>
> Any ideas?

If the MTD layout had changed I'd expect more errors from UBI.
Is this NAND?

Did you compare the MTD partition layout and number of bad blocks?

-- 
Thanks,
//richard



More information about the linux-mtd mailing list