2002-12-11 20:44:36

by Paulo Andre'

[permalink] [raw]
Subject: MTRR refusing to be configured

Hi,

I'm running kernel 2.5.51 on a Pentium III Katmai processor, stepping 3,
and I've been trying to properly setup the MTRR registers on it for this
PCI graphics card. However this has been an unsuccessful quest so far. I
do have CONFIG_MTRR turned on and obviously there's the `mtrr' flag on
/proc/cpuinfo. Taking the base address and the memsize for the card, I've
tried to do a simple:

# echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr

However the kernel complains with:

ubik kernel: mtrr: illegal type: "write-combining"

This happens for every other type I choose, be it write-back,
uncachable, well, whatever. Considering this works just fine under a 2.4
kernel (worked on 2.4.19 to be more precise) it's mostly weird that it
doesn't do the same on 2.5.

Oh, I'd appreciate if anyone replying would CC me. Thanks in advance.

Best regards,

Paulo Andre'

--
That's the difference between me and the rest of the world! Happiness isn't
good enough for me! I demand euphoria! -- Calvin