Comment 10 for bug 3598

Revision history for this message
Jeff Rasmussen (jeffrasmussen) wrote :

This still happens for me. To fix it I created /etc/init.d/fix_mtrr

#!/bin/sh
# Fix wrong MTRR setting
echo "disable=0" > /proc/mtrr
echo "disable=1" > /proc/mtrr
echo "disable=2" > /proc/mtrr
echo "base=0x0 size=0x80000000 type=write-back" > /proc/mtrr

size=0x80000000 correlates to 2GB of main computer memory. Otherwise cat /proc/mtrr showed 64000 MB of memory (around 64 TB of memory). Now cat /proc/mtrr shows:

reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
reg01: base=0xc0000000 (3072MB), size= 256MB: write-combining, count=4

I'm using a fairly new Dell Optiplex 745 with an ATI X1300 graphics card.