Thanks, it looks good now. I'm going to try to crash my box a few more times to test this out. Also, just out of curiosity, could I increase the memory beyond 64 megs for better performance? Ben On Wed, 2004-08-18 at 18:54, Ti Kan wrote:
Ben Sheron writes:
Thanks for your response. The output of cat /proc/mtrr is the following on my machine:
reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1 reg01: base=0xf0000000 (3840MB), size= 16MB: write-combining, count=1 reg05: base=0xe8000000 (3712MB), size= 128MB: write-combining, count=1
So, would I then change your script to this?
if [ -f /proc/mtrr ] then # Fix video framebuffer size in mtrr echo "disable=1" >/proc/mtrr echo "base=0xf0000000 size=0x8000000 type=write-combining" >/proc/mtrr fi
Since your warning message says:
Aug 16 10:56:42 leartes kernel: mtrr: 0xf0000000,0x4000000 overlaps existing 0xf0000000,0x1000000
Your second echo command should look like this:
echo "base=0xf0000000 size=0x4000000 type=write-combining" >/proc/mtrr
As root, you should run the two echo commands at the shell prompt by hand first, and then do a "cat /proc/mtrr" to see if the change looks reasonable. If it looks ok, then add it to your /etc/init.d/boot.local script.
Also, can I just stick this anywhere within my /etc/init.d/boot.local script?
Yes. This script is run early in the boot process, before most system services are started. Be default SuSE provides an empty boot.local file (except some comments). You can just add your stuff to the end of the file.
-Ti