From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: Memtest failed. Error: -22
Date: Mon, 25 May 2015 18:47:17 +0100 [thread overview]
Message-ID: <55636025.4050508@ge.com> (raw)
I just used memtest on a couple of PPC board (freescale mpc8544 and
P1014) and it failed with:
barebox>/ memtest
Memtest failed. Error: -22
This error happens when the space between two regions is smaller than a
page size:
0x0bf75000 - 0x0ff74fff (size 0x04000000) malloc space
0x0ff756e8 - 0x0ff7d6e7 (size 0x00008000) stack
In this case, the size - when doing the calculation "size =
PAGE_ALIGN_DOWN(end - start + 1);" - is zero.
The function call ret = alloc_memtest_region(list, start, size);
then fails.
I will not be able to offer a patch until second week of June as I am away.
Renaud.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-05-25 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 17:47 Renaud Barbier [this message]
2015-05-29 7:23 ` Sascha Hauer
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=55636025.4050508@ge.com \
--to=renaud.barbier@ge.com \
--cc=barebox@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox