* ubi2 error: ubi_refill_pools: no free eraseblocks
@ 2020-05-27 13:20 Rickard X Andersson
2020-05-28 6:59 ` Richard Weinberger
[not found] ` <0ce6e992f6f24238bcb599f84aef243d@axis.com>
0 siblings, 2 replies; 4+ messages in thread
From: Rickard X Andersson @ 2020-05-27 13:20 UTC (permalink / raw)
To: linux-mtd, dedekind1, richard
Hi,
During a stress test we get the following error:
"ubi2 error: ubi_refill_pools: no free eraseblocks"
Is this something we need to take some action to solve or is it unharmful?
We write 50000 database entries via sqlcipher and the error is printed when we are almost finished. Everything seems to work alright and all entries seems to be in place.
Each entry is about 1,5kB size. After all entries has been written the partition is 41 % full:
ubi2:mydata_volume 457368 183528 269004 41% /var/lib/mypath
The following NAND memory is used:
nand: Toshiba TH58NVG2S3HBAI4 4G 3.3V 8-bit
nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
Best regards,
Rickard Andersson
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ubi2 error: ubi_refill_pools: no free eraseblocks
2020-05-27 13:20 ubi2 error: ubi_refill_pools: no free eraseblocks Rickard X Andersson
@ 2020-05-28 6:59 ` Richard Weinberger
[not found] ` <0ce6e992f6f24238bcb599f84aef243d@axis.com>
1 sibling, 0 replies; 4+ messages in thread
From: Richard Weinberger @ 2020-05-28 6:59 UTC (permalink / raw)
To: Rickard X Andersson; +Cc: richard, linux-mtd, dedekind1
On Wed, May 27, 2020 at 3:21 PM Rickard X Andersson
<Rickard.Andersson@axis.com> wrote:
> During a stress test we get the following error:
>
> "ubi2 error: ubi_refill_pools: no free eraseblocks"
>
> Is this something we need to take some action to solve or is it unharmful?
It basically means that you're draining free blocks faster than it can
produce (by erasing outdated ones, etc..).
So nothing harmful but I'd worry if you face this during normal
operation (non-stresstest).
Mostly because when this situation happens UBI has to do many things
synchronously and things will get
slow.
--
Thanks,
//richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <0ce6e992f6f24238bcb599f84aef243d@axis.com>]
* Re: ubi2 error: scan_pool: unable to read EC header! PEB:569 err:1
[not found] ` <0ce6e992f6f24238bcb599f84aef243d@axis.com>
@ 2022-01-12 11:21 ` Richard Weinberger
[not found] ` <d1e8b25b76df4e7aa428a411bceabdb3@axis.com>
0 siblings, 1 reply; 4+ messages in thread
From: Richard Weinberger @ 2022-01-12 11:21 UTC (permalink / raw)
To: Rickard X Andersson; +Cc: linux-mtd, Artem Bityutskiy
----- Ursprüngliche Mail -----
> Von: "Rickard X Andersson" <Rickard.Andersson@axis.com>
> An: "linux-mtd" <linux-mtd@lists.infradead.org>, "Artem Bityutskiy" <dedekind1@gmail.com>, "richard" <richard@nod.at>,
> "Richard Weinberger" <richard.weinberger@gmail.com>
> Gesendet: Mittwoch, 12. Januar 2022 11:54:01
> Betreff: ubi2 error: scan_pool: unable to read EC header! PEB:569 err:1
> Hi,
>
> After a firmware upgrade the following error is reported by testers after
> reboot:
>
> [ 8.017720][ T306] ubi2 error: scan_pool: unable to read EC header! PEB:569
> err:1
> [ 8.017900][ T306] ubi2 error: ubi_scan_fastmap: Attach by fastmap failed,
> doing a full scan!
1 is UBI_IO_FF. So a fastmap pool points to a freshly erased block.
> Is this something we need to take some action to solve or is it unharmful?
> Everything seems to work as normal.
Looks like erasing a PEB was interrupted (by a power-cut) before UBI had a chance to
write an EC header to it and Fastmap being paranoid refused to do a fast attach.
After that event, did everything work again and Fastmap is happy?
Thanks,
//richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-14 18:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 13:20 ubi2 error: ubi_refill_pools: no free eraseblocks Rickard X Andersson
2020-05-28 6:59 ` Richard Weinberger
[not found] ` <0ce6e992f6f24238bcb599f84aef243d@axis.com>
2022-01-12 11:21 ` ubi2 error: scan_pool: unable to read EC header! PEB:569 err:1 Richard Weinberger
[not found] ` <d1e8b25b76df4e7aa428a411bceabdb3@axis.com>
2022-01-14 18:49 ` SV: " Richard Weinberger
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.