All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: 林于峻 <okpalin@gmail.com>
Cc: linux-mtd@lists.infradead.org, Bosi Daniele <Daniele.Bosi@mta.it>,
	GUIDA Nicola <Nicola.GUIDA@numonyx.com>
Subject: Re: Can not mount UBIFS
Date: Tue, 11 May 2010 08:44:50 +0300	[thread overview]
Message-ID: <1273556690.2209.146.camel@localhost> (raw)
In-Reply-To: <AANLkTil-IPNGJdudKOjtHjc9Y2od0xM2-D7beVEV_HHI@mail.gmail.com>

On Tue, 2010-05-11 at 11:46 +0800, 林于峻 wrote:
> Dear all,
> 
> I have modified bootloader to download image as ubiformat does.
> However, I still can not mount it.
> I also dump the content of mtd partition and compare.
> (Ex: dd if=/dev/block/mtdblock5 of=/data/mtd5bak)
> No difference between the content written by bootloader and written by
> ubiformat.
> 
... snip ...

> <3>UBI error: ubi_io_read: error -22 while reading 2048 bytes from PEB
> 3:6144, read 0 bytes

Well, find out why your driver returns -EINVAL and read count 0 when you
read 2048 bytes from PEB 3 on this partition, and offset 6144. Dig the
driver.

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

  reply	other threads:[~2010-05-11  5:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11  7:43 Can not mount UBIFS 林于峻
2010-03-11 10:48 ` R: " Bosi Daniele
2010-03-11 12:33   ` 林于峻
2010-03-11 13:09     ` R: " Bosi Daniele
2010-03-16  8:13       ` 林于峻
2010-03-16  9:22         ` 林于峻
2010-04-06  9:00         ` Artem Bityutskiy
2010-05-03 11:54           ` 林于峻
2010-05-03 12:08             ` Artem Bityutskiy
2010-05-04  3:20               ` 林于峻
2010-05-11  3:46                 ` 林于峻
2010-05-11  5:44                   ` Artem Bityutskiy [this message]
2010-05-12  1:18                     ` 林于峻
2010-05-12  3:30                       ` Artem Bityutskiy
2010-04-06  8:48 ` Artem Bityutskiy
     [not found] <mailman.11633.1268310802.2173.linux-mtd@lists.infradead.org>
2010-03-11 13:06 ` GUIDA, Nicola

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=1273556690.2209.146.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=Daniele.Bosi@mta.it \
    --cc=Nicola.GUIDA@numonyx.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=okpalin@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 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.