From: Alexandre Gambier <a.gambier@ftemaximal.fr>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling
Date: Mon, 16 Jan 2012 13:28:50 +0100 [thread overview]
Message-ID: <4F141802.5080904@ftemaximal.fr> (raw)
In-Reply-To: <1326716672.14299.70.camel@sauron.fi.intel.com>
On 01/16/2012 01:24 PM, Artem Bityutskiy wrote:
> On Mon, 2012-01-16 at 09:47 +0100, Alexandre Gambier wrote:
>> For example, for my 128MiB partition I specified 120MiB which is 7%
>> smaller than the total size.
> You should be able to find the UBI overhead formulas on the MTD web
> site. Try to specify less than that and see. You should leave enough
> PEBs reserved for bad eraseblocks handling - it is 1% by default.
>
>> What size would you specify for a 128MiB partition ?
>> thanks for your help.
> I do not have time to calculate and I do not remember. But the easiest
> is to use something small enough and put the auto-resize flag - it will
> then make it to be the maximum size. E.g., use 100MiB, boot and see to
> how much it resized.
I already use the auto-resize flag...I will try to specify a smaller
size and see if it fixes this warning.
>
next prev parent reply other threads:[~2012-01-16 12:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 12:46 ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling Alexandre Gambier
2012-01-10 21:23 ` Artem Bityutskiy
2012-01-11 8:10 ` Alexandre Gambier
2012-01-14 15:14 ` Artem Bityutskiy
2012-01-16 8:47 ` Alexandre Gambier
2012-01-16 12:24 ` Artem Bityutskiy
2012-01-16 12:28 ` Alexandre Gambier [this message]
2012-01-16 12:31 ` Artem Bityutskiy
2012-01-16 16:11 ` Alexandre Gambier
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=4F141802.5080904@ftemaximal.fr \
--to=a.gambier@ftemaximal.fr \
--cc=dedekind1@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 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.