More E820 brokenness
Hello all,
I won't be able to test anything before next Tuesday, but I'm with Jordan on this one. Have a look at the dmsg output I sent you some time ago (http://article.gmane.org/gmane.linux.kernel/584681).
This was as plain from Linus' tree as you get it (git bisect, make defconfig, make) and I see:
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001e7b0000 (usable)
BIOS-e820: 000000001e7b0000 - 000000001e7bffc0 (ACPI data)
BIOS-e820: 000000001e7bffc0 - 000000001e7c0000 (ACPI NVS)
BIOS-e820: 0000000040400000 - 0000000040440004 (reserved)
BIOS-e820: 00000000f0000000 - 0000000100000000 (reserved) --
Kind regards
Joerg
----- Ursprüngliche Mail ----
Von: Jordan Crouse <[email protected]>
An: H. Peter Anvin <[email protected]>
CC: [email protected]; Joerg Pommnitz <[email protected]>; Chuck Ebbert <[email protected]>; Linux Kernel Mailing List <[email protected]>; Andi Kleen <[email protected]>
Gesendet: Freitag, den 28. September 2007, 01:15:52 Uhr
Betreff: Re: More E820 brokenness
Quoted 4 lines · H. Peter Anvin
Quoted 3 lines · Jordan Crouse
Breaks on the Geode - original behavior.
Quoted 8 lines
Quoted 3 lines
I think that having boot_prams.e820_entries != 0 makes the kernel assume the e820 data is correct.
Okay, now I'm utterly baffled how 2.6.22 ever worked on this Geode, because this, to the best of my reading, mimics the 2.6.22 behavior exactly. DID IT REALLY, and/or did you make any kind of configuration changes?
I copied in a 2.6.22 kernel to see that it really did work, and it did. But here's the crazy part - I did a dmesg, and it looks like it *is* using e820 data, and it looks complete (I see the entire map - including the ACPI and reserved blocks way up high).
So apparently it was the 2.6.22 code that was buggy, but reading it, I don't immediately see how.
Jordan
Signature · 13 lines
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
__________________________________
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever