* Re: question about MTRR areas on x86_64
[not found] <2M5w2-y8-3@gated-at.bofh.it>
@ 2004-10-05 22:15 ` Andi Kleen
2004-10-14 10:49 ` Eric W. Biederman
0 siblings, 1 reply; 4+ messages in thread
From: Andi Kleen @ 2004-10-05 22:15 UTC (permalink / raw)
To: Markus Lidel; +Cc: linux-kernel
Markus Lidel <Markus.Lidel@shadowconnect.com> writes:
>
> Could it be because the machine has too much memory, or is there a bug in the I2O driver?
The problem comes from the BIOS who set up reg00 to be overlapping
over other areas. The Linux MTRR driver cannot deal with overlapping
MTRRs, in fact it is sometimes impossible because it could run
out of registers or violate some of the MTRR restrictions.
It's a long standing problem, eventual fix will be to get rid
of MTRRs completely and only use PAT. But it needs a bit more work.
-Andi
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: question about MTRR areas on x86_64
2004-10-05 22:15 ` question about MTRR areas on x86_64 Andi Kleen
@ 2004-10-14 10:49 ` Eric W. Biederman
2004-10-14 14:04 ` Markus Lidel
0 siblings, 1 reply; 4+ messages in thread
From: Eric W. Biederman @ 2004-10-14 10:49 UTC (permalink / raw)
To: Andi Kleen; +Cc: Markus Lidel, linux-kernel
Andi Kleen <ak@muc.de> writes:
> Markus Lidel <Markus.Lidel@shadowconnect.com> writes:
> >
> > Could it be because the machine has too much memory, or is there a bug in the
> I2O driver?
>
>
> The problem comes from the BIOS who set up reg00 to be overlapping
> over other areas. The Linux MTRR driver cannot deal with overlapping
> MTRRs, in fact it is sometimes impossible because it could run
> out of registers or violate some of the MTRR restrictions.
And the BIOS is using overlapping MTRRs because otherwise it would run
out.
> It's a long standing problem, eventual fix will be to get rid
> of MTRRs completely and only use PAT. But it needs a bit more work.
That would be nice to see.
Eric
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: question about MTRR areas on x86_64
2004-10-14 10:49 ` Eric W. Biederman
@ 2004-10-14 14:04 ` Markus Lidel
0 siblings, 0 replies; 4+ messages in thread
From: Markus Lidel @ 2004-10-14 14:04 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Andi Kleen, linux-kernel
Hello,
Eric W. Biederman wrote:
> Andi Kleen <ak@muc.de> writes:
>>Markus Lidel <Markus.Lidel@shadowconnect.com> writes:
>>>Could it be because the machine has too much memory, or is there a bug in the
>>I2O driver?
>>
>>The problem comes from the BIOS who set up reg00 to be overlapping
>>over other areas. The Linux MTRR driver cannot deal with overlapping
>>MTRRs, in fact it is sometimes impossible because it could run
>>out of registers or violate some of the MTRR restrictions.
Sorry, for not answering, but somehow i never received your e-mail. :-(
> And the BIOS is using overlapping MTRRs because otherwise it would run
> out.
Okay...
>>It's a long standing problem, eventual fix will be to get rid
>>of MTRRs completely and only use PAT. But it needs a bit more work.
I've seen there is already a patch around to add initial PAT support. So
i think it's only a question of time until it is included :-D If there is
something i could help with please let me know.
Thanks to both of you for helping.
Best regards,
Markus Lidel
------------------------------------------
Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach
Germany
Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11
E-Mail: Markus.Lidel@shadowconnect.com
URL: http://www.shadowconnect.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* question about MTRR areas on x86_64
@ 2004-10-05 21:54 Markus Lidel
0 siblings, 0 replies; 4+ messages in thread
From: Markus Lidel @ 2004-10-05 21:54 UTC (permalink / raw)
To: Linux Kernel
Hello,
i've got the following error message:
mtrr: type mismatch for fb000000,1000000 old: write-back new: write-combining
i2o: could not enable write combining MTRR
the output of /proc/mtrr is as follows:
reg00: base=0x00000000 ( 0MB), size=8192MB: write-back, count=1
reg01: base=0xe5000000 (3664MB), size= 16MB: uncachable, count=1
reg02: base=0xe6000000 (3680MB), size= 32MB: uncachable, count=1
reg03: base=0xe8000000 (3712MB), size= 128MB: uncachable, count=1
reg04: base=0xf0000000 (3840MB), size= 256MB: uncachable, count=1
Could it be because the machine has too much memory, or is there a bug in the I2O driver?
Thank you very much in advance.
Best regards,
Markus Lidel
------------------------------------------
Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach
Germany
Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11
E-Mail: Markus.Lidel@shadowconnect.com
URL: http://www.shadowconnect.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-14 14:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2M5w2-y8-3@gated-at.bofh.it>
2004-10-05 22:15 ` question about MTRR areas on x86_64 Andi Kleen
2004-10-14 10:49 ` Eric W. Biederman
2004-10-14 14:04 ` Markus Lidel
2004-10-05 21:54 Markus Lidel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox