login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
27
Re: More E820 brokenness
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jordan Crouse <jordan.crouse@...>
To: H. Peter Anvin <hpa@...>
Cc: <jkeating@...>, Joerg Pommnitz <pommnitz@...>, Chuck Ebbert <cebbert@...>, Linux Kernel Mailing List <linux-kernel@...>, Andi Kleen <ak@...>
Subject:
Re: More E820 brokenness
Date: Thursday, September 27, 2007 - 7:34 pm
On 27/09/07 16:27 -0700, H. Peter Anvin wrote:
quoted text
> Jordan Crouse wrote: > > On 27/09/07 15:47 -0700, H. Peter Anvin wrote: > >> Jordan Crouse wrote: > >>> Breaks on the Geode - original behavior. > >>> > >>> 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. > > > > Oh bugger, looks like this one might be genuinely my fault after all. > The ID check in the new code is buggy. > > Can you please test this revised patch out (against current -git)?
quoted text
> -hpa > > >
quoted text
> diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c > index bccaa1c..84939b7 100644 > --- a/arch/i386/boot/memory.c > +++ b/arch/i386/boot/memory.c > @@ -34,17 +34,7 @@ static int detect_memory_e820(void) > "=m" (*desc) > : "D" (desc), "a" (0xe820)); > > - /* Some BIOSes stop returning SMAP in the middle of > - the search loop. We don't know exactly how the BIOS > - screwed up the map at that point, we might have a > - partial map, the full map, or complete garbage, so > - just return failure. */ > - if (id != SMAP) { > - count = 0; > - break; > - } > - > - if (err) > + if (id != SMAP || err) > break; > > count++;
That looks the same as the previous patch you sent? Jordan -- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 6:17 pm)
Re: More E820 brokenness
, Jordan Crouse
, (Thu Sep 27, 6:33 pm)
Re: More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 6:47 pm)
Re: More E820 brokenness
, Jordan Crouse
, (Thu Sep 27, 7:15 pm)
Re: More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 7:27 pm)
Re: More E820 brokenness
, Jordan Crouse
, (Thu Sep 27, 7:34 pm)
Re: More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 7:36 pm)
Re: More E820 brokenness
, Jordan Crouse
, (Thu Sep 27, 7:54 pm)
Re: More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 8:12 pm)
Re: More E820 brokenness
, Rafael J. Wysocki
, (Fri Sep 28, 9:05 am)
Re: More E820 brokenness
, H. Peter Anvin
, (Thu Sep 27, 7:22 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michal Piotrowski
Re: 2.6.23-rc3-mm1
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Fred Tyler
Slow, persistent memory leak in 2.6.20
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Antonio Almeida
HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
617 guests
online.
Online users
hamidmushtaq
zmarszczki
Syndicate