Re: HIGH MEMORY access

From: Ingo Molnar (mingo@chiara.csoma.elte.hu)
Date: Wed Apr 12 2000 - 04:09:18 EST


On Mon, 10 Apr 2000, Lyle Coder wrote:

> Actually, I forgot to ask in my last email... I could not understand
> why BUG() was there.., On my system I was running into that code, and
> couldnt understand why it was happening, so yes, we should put it back
> when we figure out why we are hitting that code. Any advance pointers
> will help me debug.

i think this is a side-effect of running kmap() prior free_area_init().
The BUGs are correct, that code path must never be taken.

> Also you are right that it will crash if someone specifies mem=512M
> when the BIOS actually put the tables in say 2GB range. How do we
> solve this?

i believe my original idea of using kmap() was conceptually broken. kmap()
inherently relies on having a valid mem_map[] entry for that page. We will
likely need a boot_ioremap() which works during early bootup, like Manfred
suggested.

        Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST