Trouble with UBIFS

Richard Weinberger richard.weinberger at gmail.com
Wed Jun 10 23:39:59 PDT 2015


On Thu, Jun 11, 2015 at 6:58 AM, Smitha Rathnam
<rathnam.smitha at gmail.com> wrote:
> Hi,
>
> With respect to the UBIFS issue.. How do I come to a conclusion that
> it is a hardware fault and not a software one?

By analyzing the issue you're facing.

> We are using Micron nand devices in our system.
> The UBI rootfs is put on /dev/mtd4 and the ubi logfs is put on
> /dev/mtd5. The mtd5 partition shows corruption. When we format the
> device and reinstall, the corruption goes away. Of course, we have
> lost data.
> So should this be enough to conclude that this is an issue with
> software and not the actual NAND device?

No way. At least share the full kernel log, including the issue with us.

> I ran the nandtest from the mtd_utils set. Before the format the test
> showed a lot of ECC errors. After the format and reinstall, the test
> showed no ECC failures although there were 4 bad blocks.
> How do we understand this? Is this enough to conclude that the issue
> is a software one related to the file system?

Please verify your MTD driver by running mtd-tests (from kernel source),
and UBI tests (from mtd-utils source).

-- 
Thanks,
//richard



More information about the linux-mtd mailing list