Re: Bisected regression

From: H. Peter Anvin
Date: Thu Dec 10 2009 - 17:46:03 EST


On 12/10/2009 11:50 AM, Yinghai Lu wrote:
> Roland Dreier wrote:
>> > that BIOS is using first 64k for mptable. and after booting those
>> > mptable is overwritten by trampoline.
>>
>> So fix that BIOS people should do is to move the mptable above 64K and
>> leave low 64K empty?
>
> Yes. should be below and near 1M, and use e820 to reserve it.
>

Keep in mind BIOS loads and runs the OS bootloader at 0x7c00. If this
is a conventional BIOS, there is absolutely no way such a table is
intact by the time the OS runs.

The BIOS should, indeed put it either in the UMA (0xc800..0xffff) or at
the top of DOS memory (just below 640K) and reserve it in e820.
Anything else is irreparably broken.

-hpa

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