Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: Notebook Question



Jim Breen wrote:

> Mine has:
> 
> reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
> reg01: base=0xe8ec0000 (3726MB), size=  64KB: write-combining, count=1
> reg02: base=0xe8eb0000 (3726MB), size=  64KB: write-combining, count=1
> reg03: base=0xe8ea0000 (3726MB), size=  64KB: write-combining, count=1
> reg04: base=0xe8e90000 (3726MB), size=  64KB: write-combining, count=1
> reg05: base=0xe8e80000 (3726MB), size=  64KB: write-combining, count=1
> reg06: base=0xe8e70000 (3726MB), size=  64KB: write-combining, count=1
> reg07: base=0xe8e60000 (3726MB), size=  64KB: write-combining, count=1

This looks like your BIOS has been doing some weird stuff, you should be
able to at least combine this to:

reg00: base=0x00000000 (   0MB), size= 256MB: write-back, count=1
reg01: base=0xe8e60000 (3726MB), size= 256KB: write-combining, count=1
reg02: base=0xe8ea0000 (3726MB), size= 128KB: write-combining, count=1
reg03: base=0xe8ec0000 (3726MB), size=  64KB: write-combining, count=1

Which is functionally equivalent to the above.
With that you would have 4 free MTRRs the X server could use and no more
complaining in your syslog.

So if you add this somewhere in your boot scripts you should be fine:
echo "disable=7" > /proc/mtrr
echo "disable=6" > /proc/mtrr
echo "disable=5" > /proc/mtrr
echo "disable=4" > /proc/mtrr
echo "disable=3" > /proc/mtrr
echo "disable=2" > /proc/mtrr
echo "disable=1" > /proc/mtrr
echo "base=0xe8e60000 size=0x00040000 type=write-back" > /proc/mtrr
echo "base=0xe8ea0000 size=0x00020000 type=write-back" > /proc/mtrr
echo "base=0xe8ec0000 size=0x00010000 type=write-back" > /proc/mtrr

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits
Now playing: Trinity - In the nude.mp3

Attachment: pgp00168.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links