Re: Possible PCI subsystem bug in 2.4

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu May 03 2001 - 12:08:38 EST


On Thu, 3 May 2001, Edward Spidre wrote:
>
> Note: a diff between booting with mem and without it
> yield the same results (the user-defined phys ram map
> is identical to the bios provided one)

Interesting. Your BIOS-provided memory map is buggy:

> BIOS-provided physical RAM map:
> BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
> BIOS-e820: 0000000000000400 @ 000000000009fc00 (reserved)
> BIOS-e820: 000000000000c000 @ 00000000000c0000 (reserved)
> BIOS-e820: 0000000013eec000 @ 0000000000100000 (usable)
> BIOS-e820: 0000000000004000 @ 0000000013fec000 (reserved)
> BIOS-e820: 0000000000200000 @ 00000000ffe00000 (reserved)

Note how it says that you have usable RAM from

        0000000000100000 - 0000000013fec000

(the thing is hard to read and the output was changed in later kernels: it
really says that you have 0000000013eec000 bytes of ram starting at
0000000000100000, which obviously doing the math means that it goes up to
0000000013fec000).

Now, it then says that you have reserved memory (ie probably the BIOS has
reserved 1kB at high memory) from

        0000000013fec000 - 0000000013ff0000

In particular, notice how it does NOT mention the memory region from

        0000000013ff0000 - 0000000014000000

at ALL. Which means that Linux thinks that it is free... And Linux will
place PCI devices there. Even though there certainly is memory there.

I'll have to work around the BIOS bug some way. Will you be willing to
try out patches?

                Linus

-
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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:17 EST