All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Tokarev <annulen@yandex.ru>
To: linux-mtd@lists.infradead.org
Subject: Flashing UBIFS image to gluebi mtd
Date: Thu, 31 Oct 2013 17:48:34 +0400	[thread overview]
Message-ID: <72811383227314@web24j.yandex.ru> (raw)

Hi all,

I'm migrating rootfs of device from SquashFS on top of gluebi to UBIFS. However, old version of
firmware upgrade program writes UBIFS image to gluebi mtd device instead of using recommended
volume update procedure. While it works for SquashFS images, writing UBIFS image leads to
the next errors messages in random moments:

UBI error: ubi_io_read: error -77 while reading 76 bytes from PEB 769:26000, read 0 bytes
UBIFS error (pid 383): ubifs_read_node: cannot read node 2 from LEB 347:21904, error -5
UBIFS warning (pid 383): ubifs_ro_mode: switched to read-only mode, error -5

However, when device is rebooted first time after upgrade, UBIFS mounts successfully.

Do you have any idea what is going on and how to destinguish "broken" UBIFS volume from
correctly flashed via ubi volume device?

-- 
Regards,
Konstantin

             reply	other threads:[~2013-10-31 13:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31 13:48 Konstantin Tokarev [this message]
2013-10-31 15:08 ` Flashing UBIFS image to gluebi mtd Ezequiel Garcia
2013-10-31 18:00   ` Konstantin Tokarev
2013-10-31 18:40     ` Ezequiel Garcia
2013-11-01  7:48     ` Ricard Wanderlof
2013-11-01  9:12       ` Konstantin Tokarev
2013-11-01  9:43         ` Ricard Wanderlof
2013-11-01 11:10           ` Konstantin Tokarev

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=72811383227314@web24j.yandex.ru \
    --to=annulen@yandex.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.