linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with mtrr and Cyrix 6x86MX: no mtrr for...
@ 2001-03-12 12:26 Joerg Diederich
  0 siblings, 0 replies; only message in thread
From: Joerg Diederich @ 2001-03-12 12:26 UTC (permalink / raw)
  To: linux-kernel

Hi!

I switched to Linux 2.4 recently and ran into the following problem:

When starting XFree 4.0.2, I get error messages like

'no mtrr for 0xe0000000,0x400000' (or sth similar, I am not currently
at the machine with the Cyrix).

Digging deeper, I found the following, non XFree-related problem:

When I do 
'echo "base=0xe0000000 size=0x400000 type=write-combining" > /proc/mtrr' 

as said in linux/Documentation/mtrr.txt in order to enable mtrr's for
my graphics board, a 'cat /proc/mtrr' tells me, that the size is 8MB.

If I do
'echo "base=0xe0000000 size=0x200000 type=write-combining" > /proc/mtrr' 

the behaviour becomes even stranger:

When I do it the first time, again the size is 8MB (according to
/proc/mtrr). When I delete the entry again (with 'echo delete...'),
and repeat the above 'echo "base...', then the size is 4MB and there
are no error messages when I start Xfree (which increases the 'count'
in /proc/mtrr to 2).

Probably it might be of interest, that the '8MB size' entry in
/proc/mtrr is always in reg=6, whereas the 4MB size entry is in reg=2.

My question is now, if this behavior is correct (since I do not know
at all, what the mtrr stuff does except for that it speeds up my
system. That's why I want to use it :-) or if it is an already known
bug.

If it is an unknown bug, I can give more information if someone tells
me which one (exact /proc/mtrr output, /proc/cpuinfo etc, I didn't
want to attach all the stuff in case this issue is known already)

I am using the 2.4.2 kernel from SuSe, but I think this is not related
to the SuSe-kernel... (However, I can check it with vanilla 2.4.2 or
any patched version).


Regards,

/J"org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-12 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 12:26 Problem with mtrr and Cyrix 6x86MX: no mtrr for Joerg Diederich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).