public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Manoj <manoj23@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: write error while using UBI/UBIFS
Date: Tue, 09 Jun 2009 08:30:03 +0300	[thread overview]
Message-ID: <1244525403.5847.370.camel@localhost.localdomain> (raw)
In-Reply-To: <1c3f4270906081913g7e9b0334r183e87d782b2406d@mail.gmail.com>

On Mon, 2009-06-08 at 19:13 -0700, Manoj wrote:
> Thanks for the pointers. But I am using kernel v2.6.27.7. :-(

If you look at the URL I sent you, you'll find 2.6.27 back-port.
All you need to do is to apply already prepared patches to your
tree.

> 
> Meanwhile, I disabled all extra checks and
> CONFIG_MTD_NAND_VERIFY_WRITE as recommended. Now, I see this when I
> unmount and re-mount ubifs:
> 
> # mount -o sync -t ubifs ubi0:rootfs /tmp/flash/
> [  101.480000] UBIFS error (pid 164): ubifs_scan: corrupt empty space
> at LEB 1:14336
> [  101.490000] UBIFS error (pid 164): ubifs_scanned_corruption:
> corrupted data at LEB 1:14336
> [  101.500000] UBIFS error (pid 164): ubifs_scan: LEB 1 scanning failed
> [  101.530000] UBIFS error (pid 164): ubifs_recover_master_node:
> failed to recover master node
> mount: mounting ubi0:rootfs on /tmp/flash/ failed: Invalid argument

I do not see this with the newest UBI/UBIFS. Please, update yours.
See here: http://git.infradead.org/users/dedekind/ubifs-v2.6.27.git

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

  reply	other threads:[~2009-06-09  5:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06  3:05 write error while using UBI/UBIFS Manoj
2009-06-08  5:59 ` Artem Bityutskiy
2009-06-09  2:13   ` Manoj
2009-06-09  5:30     ` Artem Bityutskiy [this message]
2009-06-11  1:43       ` Manoj
2009-06-11  6:10         ` Artem Bityutskiy

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=1244525403.5847.370.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manoj23@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