Re: 2.4.2-ac6 hangs on boot w/AMD Elan SC520 dev board

From: Alan Cox (
Date: Wed Feb 28 2001 - 06:45:40 EST

> memory map that hangs (added debugging to setup.S to determine E820 map):
> hand-copied physical RAM map:
> bios-e820: 000000000009f400 @ 0000000000000000 (usable)
> bios-e820: 0000000000000c00 @ 000000000009f400 (reserved)
> bios-e820: 0000000003f00000 @ 0000000000100000 (usable)
> bios-e820: 0000000003f00000 @ 0000000000100000 (usable)
> bios-e820: 0000000000100000 @ 00000000fff00000 (reserved)
> (at this point, it appears to be in an infinite printk loop <?>)
> I didn't spend much time looking into the printk loop, but it seems to
> end up there, even if CONFIG_DEBUG_BUGVERBOSE is not defined, as if the
> ".byte 0x0f,0x0b" is causing the loop to begin.
> Any ideas/suggestions/comments?

Having been over the code the problem is indeed the bios reporting overlapping
/duplicated ranges. That will cause a crash in mm/bootmem when we try and free
the range twice.

I suspect you need to add some code to take the E820 map and remove any
overlaps from it, favouring ROM over RAM if the types disagree (for safety),
and filter them before you register them with the bootmem in

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:16 EST