lkml.org 
[lkml]   [2002]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] zero-size E820 memory (kernel start-up failure)
On Fri, Dec 20, 2002 at 12:02:57PM +0100, Alexander Achenbach wrote:

> Up to 2.4.20, a zero-size E820 memory region (eg 0xa0000 - 0xa0000)
> reported by the BIOS causes 'sanitize_e820_map' to take the end of this
> region as the start of another region, producing two overlapping regions
> extending to the end of addressable memory. If the zero-size region is of
> a higher type than 'usable RAM' (eg 'reserved'), this causes all memory
> above the zero-size region to be marked unusable (leaving 640k as of the
> above example -- the kernel fails to start at all).
>
> The patch adds code to remove empty entries before sorting regions. It
> was generated for a 2.4.20 kernel.

Looks good to me. Care to do a similar patch for 2.5 ?

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.046 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site