public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mtrr failure, 3.1-rc1
@ 2011-08-25  7:03 Anders Eriksson
  2011-08-25 15:55 ` Linus Torvalds
  2011-08-25 22:10 ` Bob Tracy
  0 siblings, 2 replies; 11+ messages in thread
From: Anders Eriksson @ 2011-08-25  7:03 UTC (permalink / raw)
  To: torvalds, linux-kernel, aeriksson



My old P-II has 640MB ram, but the bios only sets up WC for the first 512, so i 
add this early in the boot process:
echo "base=0x20000000 size=0x8000000 type=write-back" > /proc/mtrr

For reasons I have forgot I also have to add 'disable_mtrr_check' to the 
command line. Works great.

As of merge dc43d9fa73d82083656fb9c02f4823bcdcfb9f91 This no longer works.
Adding that line to /proc/mtrr no longer has any effect (cat /proc/mtrr shows
only the reg00 entry).

Reverting that merge on top of rc3 brings things back to normal and /proc/mtrr 
shows:
reg00: base=0x000000000 (    0MB), size=  512MB, count=1: write-back
reg01: base=0x048000000 ( 1152MB), size=  128MB, count=1: write-combining
reg02: base=0x020000000 (  512MB), size=  128MB, count=2: write-back

Any ideas how to track this down futher? Would be good to get it fixed for 3.1

-Anders



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-08-25 22:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25  7:03 mtrr failure, 3.1-rc1 Anders Eriksson
2011-08-25 15:55 ` Linus Torvalds
2011-08-25 16:46   ` Tejun Heo
2011-08-25 17:21     ` anders eriksson
2011-08-25 17:43     ` Suresh Siddha
2011-08-25 17:43       ` Linus Torvalds
2011-08-25 17:46         ` [PATCH] mtrr: fix UP breakage caused during switch to stop_machine Tejun Heo
2011-08-25 18:00           ` H. Peter Anvin
2011-08-25 18:03             ` Linus Torvalds
2011-08-25 19:47     ` mtrr failure, 3.1-rc1 anders eriksson
2011-08-25 22:10 ` Bob Tracy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox