Re: 2.2.16 SMP: mtrr errors

Petr Vandrovec
2000-12-12T21:14:49Z

On 11 Dec 00 at 14:00, Paul C. Nendick wrote:

> -Matrox g450 32MB RAM dual-heal AGP video card w/ hand compiled X driver
> from matrox

Make sure you do not use either matroxfb or XFree's driver... Same chip
ID, but different ramdac :-(

> and immediately after starting X:
>
> kernel: mtrr: base(0xd4000000) is not aligned on a size(0x1800000) boundary
> last message repeated 2 times

For some strange reason X thinks that you have 24MB of memory on the G450.
You can either create 32MB write-combining region at 0xd4000000, or
teach X that your device occupies 32MB and not 24 (you should do it anyway,
region size can be only power of two)...

> and finally:
>
> %cat /proc/mtrr
> reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
> reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1
> reg02: base=0xd5800000 (3416MB), size= 8MB: write-combining, count=1
+ reg03: base=0xd4000000 (????MB), size= 32MB: write-combining, count=1

Petr Vandrovec
vandrove@vc.cvut.cz