linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Huang Shijie <b32955@freescale.com>
Cc: Huang Shijie <shijie8@gmail.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Is there a bug in the UBIFS?
Date: Fri, 08 Jun 2012 12:36:54 +0300	[thread overview]
Message-ID: <1339148214.6875.117.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <4FD1BD03.60800@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On Fri, 2012-06-08 at 16:51 +0800, Huang Shijie wrote:
> [ 3526.960000] UBIFS error (pid 389): ubifs_scan: garbage

UBIFS complains that it read garbage instead of proper UBIFS nodes.

> I am not sure whether it's a UBIFS's bug, or the gpmi-nand's bug.

Does not look like a UBIFS issue. You can always validate UBIFS using
nandsim.

modprobe nandsim
modprobe ubi mtd=0
ubimkvol /dev/ubi0 -N test -m
mount -t ubifs /dev/ubi0_0 /mnt/ubifs
integck /mnt/ubifs


-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-06-08  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08  8:51 Is there a bug in the UBIFS? Huang Shijie
2012-06-08  9:36 ` Artem Bityutskiy [this message]
2012-06-08  9:48   ` Huang Shijie
2012-06-10 23:28     ` Marek Vasut
2012-06-11  2:12       ` Huang Shijie

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=1339148214.6875.117.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=b32955@freescale.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=shijie8@gmail.com \
    /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).