UBIFS failure & stable page writes

Prins Anton (ST-CO/ENG1.1) Anton.Prins at nl.bosch.com
Wed May 29 07:06:16 EDT 2013


First I will check when, how often and which nodes are written to the orphan area.
I guess they (0 & 1) must be listed in the orphan area to get this recovery messages...

It means I currently look to a resulting situation (after power-cycle) and I suppose not the problem itself.

How can I determine the location of the orphan area?

Met vriendelijke groeten | Best Regards, 
Anton Prins


-----Original Message-----
From: Artem Bityutskiy [mailto:dedekind1 at gmail.com] 
Sent: woensdag 29 mei 2013 8:49
To: Prins Anton (ST-CO/ENG1.1)
Cc: Jan Kara; Adrian Hunter; linux-mtd at lists.infradead.org
Subject: Re: UBIFS failure & stable page writes

On Tue, 2013-05-28 at 13:13 +0200, Prins Anton (ST-CO/ENG1.1) wrote:
> Will add the CFLAG -DDEBUG and debug further!
> (I hope at this kernel-recovery stage there are not debug messages of multiple partitions because there are more UBIFS partitions.)
> 
> Doing this I saw some suspicious messages like:
> UBIFS DBG rcvry: deleting orphaned inode 0
> ...
> UBIFS DBG rcvry: deleting orphaned inode 1
> ...

These are very strange messages. Inode 0 should not exist. Inode 1
should be impossible to ever delete. Smells like some kind of memory
corruption. Can you share your image? Or at least the orphan areas of
the image? We do not have much time, but would probably take a look.

Would also be useful to have the fs/ubifs/* and drivers/mtd/ubi/* of
yours.

-- 
Best Regards,
Artem Bityutskiy



More information about the linux-mtd mailing list