I've written the program.  It works on my one system.  Who knows if it
works anywhere else.

Fetch it from  ftp://ftp.cs.utoronto.ca/pub/hugh/mtrr-uncover-
2008sept18.tgz

Untar it. cd into the new directory. Type "make".  Read the manpage "man
./ mtrr-uncover.8"

Run the command (just a test!) "./mtrr-uncover".  You should be able to
see how the MTRRs are set up more clearly that /proc/mtrr shows it.  You
will also see the proposed revised version and the lines to be written
to /proc/mtrr to effect that change.

For example, for the /proc/mtrr settings shown in the first message
above, with remapping (the hard case), here is what my program shows.
The entries are sorted by address.  Inner nested values are indented to
make this clear.  Please give me feedback and do post /proc/mtrr for
problematic systems.

Initial MTRR configuration:
 2 0x000000000-0x0ffffffff write-back
    0 0x0d0000000-0x0dfffffff uncachable
    1 0x0e0000000-0x0ffffffff uncachable
 3 0x100000000-0x11fffffff write-back
 4 0x120000000-0x12fffffff write-back

Final MTRR configuration:
 2' 0x000000000-0x07fffffff write-back
50' 0x080000000-0x0bfffffff write-back
51' 0x0c0000000-0x0cfffffff write-back
 3 0x100000000-0x11fffffff write-back
 4 0x120000000-0x12fffffff write-back

Commands for /proc/mtrr to make these changes:
disable=0
disable=1
disable=2
base=0x000000000 size=0x080000000 type=write-back
base=0x080000000 size=0x040000000 type=write-back
base=0x0c0000000 size=0x010000000 type=write-back

-- 
MTRR is not properly setup on Intel Northbridge Chipset (P35, X38, X48) with 
more than 3GB RAM and with Memory Remapping Enabled
https://bugs.launchpad.net/bugs/224404
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to