Re: 2.6.33-git6 boot failure[x86_64] (WARN: at arch/x86/mm/ioremap.c:111)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Monday, March 1, 2010 - 3:42 am

On Mon, 1 Mar 2010, Xiaotian Feng wrote:

The return code is -EINVAL, so it failed in the is_ram check, which is
not too surprising


The ACPI data is not starting on a page boundary and neither does the
usable RAM area end on a page boundary. Very useful !


ACPI is trying to map DSDT at cffa3900, which results in a check
vs. cffa3000 which is the relevant page boundary. The generic is_ram
check correctly identifies that as RAM because it's in the usable
resource area. The old e820 based is_ram check does not take
overlapping resource areas into account. That's why it works.

We probably need to sanitize the E820 map befor throwing it at the
resource manager.

Thanks,

	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.33-git6 boot failure[x86_64] (WARN: at arch/x86/mm ..., Thomas Gleixner, (Mon Mar 1, 3:42 am)
[tip:x86/mm] resource: Fix generic page_is_ram() for parti ..., tip-bot for Wu Fengguang, (Mon Mar 1, 12:00 pm)
[tip:x86/mm] resource: Fix broken indentation, tip-bot for H. Peter ..., (Tue Mar 2, 12:33 pm)