Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352344 - Cannot free mtrr on Acer Aspire One anymore
Summary: Cannot free mtrr on Acer Aspire One anymore
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 16:01 UTC by Justin Lecher (RETIRED)
Modified: 2013-12-23 11:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/proc/config.gz (config.gz,15.14 KB, application/x-gzip)
2011-01-21 16:01 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2011-01-21 16:01:18 UTC
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?
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-01-21 16:01:51 UTC
Created attachment 260447 [details]
/proc/config.gz

kernel config
Comment 2 Mike Pagano gentoo-dev 2011-03-17 10:58:44 UTC
Anything different with 2.6.38?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-03-17 11:19:43 UTC
(In reply to comment #2)
> Anything different with 2.6.38?

Not tested yet. Will check that later.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-03-20 20:38:04 UTC
No, issue still persist.
Comment 5 Mike Pagano gentoo-dev 2011-03-21 18:47:33 UTC
Please take this upstream at http://bugzilla.kernel.org and post the url back here.
Comment 6 Mike Pagano gentoo-dev 2011-04-13 00:11:04 UTC
We'll watch the upstream bug and backport and fixes as identified.