ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling

Artem Bityutskiy dedekind1 at gmail.com
Sat Jan 14 10:14:40 EST 2012


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.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120114/bb545b85/attachment-0001.sig>


More information about the linux-mtd mailing list