Brian Norris | 31 Jul 2012 02:51
Picon

Re: Cortex A9 Ubifs Issues with SMP enable kernel <ubifs recovery needed>

Hi Darshan,

On Thu, Jul 26, 2012 at 11:07 AM, Darshan Nandanwar <dk.manit <at> gmail.com> wrote:
> Artem/Brian,,
>  I am facing  the issue when try to mount rootfs which inside one of the ubi
> partition .Linux kernel 3.x is being used .All goes perfect when i use it
> uni-processor mode but  when i enable SMP , then  it cribs for *ubifs
> recovery needed*. Does it imply that partition got corrupted?  if it is ,
> then why its not in the case of  non-smp kernel image?  did you guys happen
> to face such kind of issue?
>
> if any recovery is required ubifs has to do by itself..  isn't it? cpu goes
> dead  after popping up s *ubifs recovery needed* message .. but when i used
> nfs ,same  kernel image works fine..
>
> Will appreciate if i get some input from MTD folks...

I'm not very experienced in UBIFS issues, but since nobody has
responded, I can provide some suggestions based on my knowledge of
MTD.

These messages look like UBIFS corruption, and I believe UBIFS should
attempt to self-recover (when it says "recovery needed") or else fail
and print other error messages. Generally, there's no known reason
that UBI/UBIFS should simply "die" in SMP mode vs. uniprocessor.

Now, it makes sense to validate the lower layers of your system to
ensure that the driver + MTD layer are functioning (in both
uniprocessor and SMP mode). For instance, what driver are you using?
Is this NAND or NOR flash? Also, please try the MTD tests[1], noting
(Continue reading)


Gmane