ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling

Alexandre Gambier a.gambier at ftemaximal.fr
Mon Jan 16 03:47:32 EST 2012


On 01/14/2012 04:14 PM, Artem Bityutskiy wrote:
> On Wed, 2012-01-11 at 09:10 +0100, Alexandre Gambier wrote:
>>>> hi everyone,
>>>>
>>>> I use UBI volume and UBIFS on top of a NAND device with an embedded
>>>> video meter.
>>>> Everything works fine except that when a UBI volume is mounted the
>>>> following warning is outputted :
>>>> "UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB
>>>> handling, reserved 0, need 20"
>>> Looks like the pool of reserved PEBs is fully used. Fo how long have you
>>> been using this flash?
>> This is a brand new flash...I've been using it for 2 months.
> OK, in this case this is most probably because you specified too large
> sizes in your ubinize.cfg. So that your volumes take all eraseblocks.
> Try to make some volumes smaller.

For example, for my 128MiB partition I specified 120MiB which is 7% 
smaller than the total size.
What size would you specify for a 128MiB partition ?
thanks for your help.




More information about the linux-mtd mailing list