From: Alexandre Gambier <a.gambier@ftemaximal.fr>
To: linux-mtd@lists.infradead.org
Subject: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling
Date: Tue, 10 Jan 2012 13:46:49 +0100 [thread overview]
Message-ID: <4F0C3339.6070909@ftemaximal.fr> (raw)
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"
I create the UBI volume using the autosize options.
Does anyone have an idea about what is it and what can I do to fix this
and make sure my UBI volumes work fine.
Best regards,
Alex
Here is the whole log:
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB
handling, reserved 0, need 20
UBI: attached mtd7 to ubi0
UBI: MTD device name: "UserData"
UBI: MTD device size: 256 MiB
UBI: number of good PEBs: 2036
UBI: number of bad PEBs: 12
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 2036
UBI: number of PEBs reserved for bad PEB handling: 0
UBI: max/mean erase counter: 2/1
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 1207
UBI volume: ubi0
Volume name: userdata
UBIFS: mounted UBI device 0, volume 1, name "userdata"
UBIFS: file system size: 260757504 bytes (254646 KiB, 248 MiB, 2021 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: zlib
UBIFS: reserved for root: 0 bytes (0 KiB)
--
Best regards.
Alexandre Gambier
Fte Maximal France SAS
next reply other threads:[~2012-01-10 12:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 12:46 Alexandre Gambier [this message]
2012-01-10 21:23 ` ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling 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
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=4F0C3339.6070909@ftemaximal.fr \
--to=a.gambier@ftemaximal.fr \
--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.