From: Richard Weinberger <richard@nod.at>
To: "DHANAPAL, GNANACHANDRAN (G.)" <gdhanapa@visteon.com>
Cc: "CN, Aananth (A.A.)" <caananth@visteon.com>,
"Gunasundar, Balamanikandan (B.)" <bgunasun@visteon.com>,
"babu3@visteon.com" <babu3@visteon.com>,
"dedekind1@gmail.com" <dedekind1@gmail.com>,
"adrian.hunter@intel.com" <adrian.hunter@intel.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"gnanachandran@gmail.com" <gnanachandran@gmail.com>
Subject: Re: UBIFS Index Node Corruption - Invalid Key Type
Date: Wed, 11 May 2016 14:42:26 +0200 [thread overview]
Message-ID: <573328B2.5010709@nod.at> (raw)
In-Reply-To: <20160511112630.GB22640@visteon-gnana>
Am 11.05.2016 um 13:16 schrieb DHANAPAL, GNANACHANDRAN (G.):
>> Is this a pristine UBIFS with all fixes applied?
>> Your kernel is rather old. Not sure if we ever had such an issue,
> Yes, This is pretty much older one provided by chip vendor NXP(Freescale) BSP 3.10.17.
> Last commit id for ubifs is
>
> commit 4791df938fe7aa27a9fe50e4582efd583a045541
> Author: Richard Genoud <richard.genoud@gmail.com>
> Date: Tue Apr 2 12:24:37 2013 +0200
>
> Last commit id for ubi is
>
> commit d779146e04aacc8abe8d645284388c837d5d50cd
> Author: Huang Shijie <b32955@freescale.com>
> Date: Wed Sep 18 10:17:39 2013 +0800
rw@sandpuppy:~/linux (master $)> git show d779146e04aacc8abe8d645284388c837d5d50cd
fatal: bad object d779146e04aacc8abe8d645284388c837d5d50cd
For both commits. So, a rebased tree.
:-(
>
>> but still...
>> Can you please explain a bit more what your device is doing and what
>> NAND/UBI layout you are using?
> This is an automotive infotainment system that has 5 raw partitions for
> u-boot, kernel and recovery software. And there are 3 ubifs partitions for
> 1. / - (RO) - 896 MB,
> 2. /var - (RW) - 128 MB,
> 3. /meta - (RW)- 512 MB.
>
> All of these partition has been through following commands (in order) for
> ubifs file system creation during production.
> 1. ubiformat
> 2. ubimkvol
> 3. ubiattach
> 4. mount -t ubifs
> A rootfs tar file from yocto build output files was untar in / and /var partitions.
>
>
> /meta partition is configured as home folder that has runtime files for
> pulseaudio, gstreamer, infotainment radio tuner alignment and radio channel preset.
> this partition also has mount point for USB storage device. Where the user can plug
> and unplug their USB flash pen drive without umount -ing it. This is the partition
> that got corrupted in two units out of 1000 units in vehicles that has running for
> last 6 months.
What exactly is the error message you get from the kernel while mounting?
Something like "bad node type (255 but expected 9)"?
It seems like some LEBs are erased with shouldn't.
Thanks,
//richard
next prev parent reply other threads:[~2016-05-11 12:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 12:14 UBIFS Index Node Corruption - Invalid Key Type DHANAPAL, GNANACHANDRAN (G.)
2016-05-10 13:58 ` Richard Weinberger
2016-05-10 14:49 ` DHANAPAL, GNANACHANDRAN (G.)
2016-05-10 16:23 ` Richard Weinberger
2016-05-10 16:48 ` Richard Weinberger
[not found] ` <20160511065223.GA22220@visteon-gnana>
2016-05-11 7:29 ` DHANAPAL, GNANACHANDRAN (G.)
2016-05-11 9:22 ` Richard Weinberger
2016-05-11 11:16 ` DHANAPAL, GNANACHANDRAN (G.)
2016-05-11 12:42 ` Richard Weinberger [this message]
2016-05-11 14:47 ` Richard Weinberger
2016-05-12 13:29 ` Richard Weinberger
2016-05-13 9:40 ` DHANAPAL, GNANACHANDRAN (G.)
2016-05-13 13:54 ` Richard Weinberger
2016-05-13 16:02 ` DHANAPAL, GNANACHANDRAN (G.)
2016-05-13 16:03 ` CN, Aananth (A.A.)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573328B2.5010709@nod.at \
--to=richard@nod.at \
--cc=adrian.hunter@intel.com \
--cc=babu3@visteon.com \
--cc=bgunasun@visteon.com \
--cc=caananth@visteon.com \
--cc=dedekind1@gmail.com \
--cc=gdhanapa@visteon.com \
--cc=gnanachandran@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).