From: "H. Peter Anvin" <hpa@zytor.com>
To: Jordan Crouse <jordan.crouse@amd.com>
Cc: Joerg Pommnitz <pommnitz@yahoo.com>,
cebbert@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800
Date: Wed, 26 Sep 2007 12:14:47 -0700 [thread overview]
Message-ID: <46FAAFA7.50106@zytor.com> (raw)
In-Reply-To: <20070926154106.GG7582@cosmic.amd.com>
[-- Attachment #1: Type: text/plain, Size: 983 bytes --]
Jordan Crouse wrote:
>
> Its the latter - max_pfn as read by find_max_pfn() in arch/i386/e820.c
> is being set to 9F (640k) in the broken case, this due to the
> the e820 map looking something like this:
>
> Address Size Type
> 00000000 0009FC00 1
> 0009FC00 00000400 2
> 000E0000 00002000 2
>
> (Yep, thats it - thats the list. e820.nr_map is indeed 3).
>
> Long story short, bdata->node_low_pfn gets set to 9F, and When we
> try to allocate the bootmem bitmap (at _pa_symbol(_text), which is
> page 0x100), then the system gets appropriately angry.
>
> As background, I'm using syslinux 3.36 as my loader here - I've used this
> exact same version for a very long time, so I don't blame it in the least.
> Something is getting confused in the early kernel, and whatever that
> something is, a still unknown change in a newer version of the BIOS
> fixed it. The search goes on.
>
Please try the following debug patch to let us know what is going on.
-hpa
[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 488 bytes --]
diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c
index 1a2e62d..a0ccf29 100644
--- a/arch/i386/boot/memory.c
+++ b/arch/i386/boot/memory.c
@@ -33,6 +33,12 @@ static int detect_memory_e820(void)
"=m" (*desc)
: "D" (desc), "a" (0xe820));
+ printf("e820: err %d id 0x%08x next %u %08x:%08x %u\n",
+ err, id, next,
+ (unsigned int)desc->addr,
+ (unsigned int)desc->size,
+ desc->type);
+
if (err || id != SMAP)
break;
next prev parent reply other threads:[~2007-09-26 19:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 10:56 Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800 Joerg Pommnitz
2007-09-26 14:10 ` H. Peter Anvin
2007-09-26 15:41 ` Jordan Crouse
2007-09-26 16:57 ` H. Peter Anvin
2007-09-26 19:14 ` H. Peter Anvin [this message]
2007-09-26 20:58 ` Jordan Crouse
2007-09-26 21:04 ` H. Peter Anvin
2007-09-26 21:15 ` Jordan Crouse
2007-09-26 21:20 ` H. Peter Anvin
2007-09-26 21:30 ` Jordan Crouse
-- strict thread matches above, loose matches on Subject: below --
2007-09-26 15:28 Joerg Pommnitz
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=46FAAFA7.50106@zytor.com \
--to=hpa@zytor.com \
--cc=cebbert@redhat.com \
--cc=jordan.crouse@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pommnitz@yahoo.com \
/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