UBIFS corruption after power cut - possibly unstable bits issue?

Artem Bityutskiy dedekind1 at gmail.com
Tue Nov 3 01:10:26 PST 2015


On Mon, 2015-11-02 at 12:27 -0800, Tim Harvey wrote:
> [    9.507115] UBIFS error (ubi0:0 pid 1): ubifs_recover_master_node:
> failed to recover master node
> ^^^ master node recovery fails
> ...
> [    9.618335] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)

You need to enable debugging messages, and/or add some custom prints to
'get_master_node()', which for some reason returns an error and makes
'ubifs_recover_master_node()' fail. Figure out where it fails, and we
then can try figuring out why and may be fix it. Add custom printk's if
needed.



More information about the linux-mtd mailing list