Mounting UBIFS fails intermittently

Manish Jain Manish.Jain at raymarine.com
Wed Dec 10 08:12:56 EST 2008


Thanks Artem.

I'll try tests for case 1.

With respect to case2:

Within our flash, we have two partitions. And there is singe image of flash contents(namely er.ubi).
We flash our file image using ubiformat command.:

Ubiformat /dev/mtd5 -y -s 512 -f /CFCard/er.ubi

Though this problem is intermittent, but it is more likely to happen when we re-format mtd device.

Kind Regards,
Manish



-----Original Message-----
From: Artem Bityutskiy [mailto:dedekind at infradead.org] 
Sent: 10 December 2008 13:00
To: Manish Jain
Cc: linux-mtd at lists.infradead.org
Subject: Re: Mounting UBIFS fails intermittently

On Wed, 2008-12-10 at 12:27 +0000, Manish Jain wrote:
> Hello All,
> 
> In our system , we have created two partition in Nand flash. One is mounted as root and the other(which is quite big)is mounted for keeping data.
> The problem is that data mount fails intermittently.
> 
> Here is the kernel error log, when we try to mount ubifs.

I saw huge amount of e-mails like this, but for JFFS2. In most of the
cases the reporters had one of:
1. flash problems - the driver or HW was broken
2. flashed images incorrectly

Please, check these 2 cases. To check the first ones, please use
mtd-tests git repository:
git://git.infradead.org/users/dedekind/mtd-tests-2.6.git
(http://git.infradead.org/users/dedekind/mtd-tests-2.6.git)

The tests are not in main-line so far, so you have to take the 8 patches
from the above git tree, apply them to your tree, enable the tests and
compile.

The tests are kernel modules. Please, make sure they work without errors
for you. Note, be careful with the torture test - either do not run it
or realize what it is doing before running.

Vs. the second possible issue - just describe how you flash your UBIFS
image to your "data" partition, if you do this at all.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list