I have no clue what is going wrong. Using gentoo-sources, I am experiencing this since linux-2.6.31 that the mtrr are not freed anymore $ cat /proc/mtrr reg00: base=0x0fffe0000 ( 4095MB), size= 128KB, count=1: write-protect reg01: base=0x0fffc0000 ( 4095MB), size= 128KB, count=1: uncachable reg02: base=0x000000000 ( 0MB), size= 512MB, count=1: write-back reg03: base=0x020000000 ( 512MB), size= 512MB, count=1: write-back reg04: base=0x03f800000 ( 1016MB), size= 8MB, count=1: uncachable reg05: base=0x03f600000 ( 1014MB), size= 2MB, count=1: uncachable reg06: base=0x03f500000 ( 1013MB), size= 1MB, count=1: uncachable reg07: base=0x000000000 ( 0MB), size= 128KB, count=1: uncachable I have 2 * 512 Mb RAM in it. $ zgrep MTRR /proc/config.gz CONFIG_MTRR=y CONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=2 PAT is also enabled. I already tested all reg numbers. $ cat /proc/cmdline root=/dev/sda3 enable_mtrr_cleanup mtrr_spare_reg_nr=1 Also in this way. Which more information do you need?
Created attachment 260447 [details] /proc/config.gz kernel config
Anything different with 2.6.38?
(In reply to comment #2) > Anything different with 2.6.38? Not tested yet. Will check that later.
No, issue still persist.
Please take this upstream at http://bugzilla.kernel.org and post the url back here.
We'll watch the upstream bug and backport and fixes as identified.