Mailing List Archive


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

[tlug] Re: Notebook Question



>> From: Tobias Diedrich <td@example.com>
>> Jim Breen wrote:
>> > One further question, then comments following on my previous questions.
>> > "dmesg" is full of lines saying:
>> > 	mtrr: no more MTRRs available
>> > /var/log/messages says it was repeated 229 times.
>> 
>> This is not that bad, it probably means the BIOS sets up the MTRRs
>> (Memory Type Range Registers) in a funny way. I've seen this on our
>> Siemens-Nixdorf machines.

The bad part is that dmesg has been rendered useless.

>> You can see your MTRR-Setup in /proc/mtrr:

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

>> Normally you should have one for your main memory (the first one)
>> and one or two for your GPU (Set up by the X server).
>> In your case it probably already uses all available for main memory.
>> The size normally has to be a power of two value, so if you have 768MB
>> RAM you need two entries, one with 512MB size and one with 256MB size,
>> alternatively it _should_ be possible to use one with 1024MB size, at
>> least if no expansion cards are mapped in that region.
>> 
>> On the SNI-machines it did some stupid mapping:
>> The machines have 256MB main memory and /proc/mtrr looked like this:
>> td@example.com[101]~> cat /proc/mtrr
>> reg00: base=3D0x00000000 (   0MB), size=3D 128MB: write-back, count=3D1
>> reg01: base=3D0x08000000 ( 128MB), size=3D  64MB: write-back, count=3D1
>> reg02: base=3D0x0c000000 ( 192MB), size=3D  32MB: write-back, count=3D1
>> reg03: base=3D0x0e000000 ( 224MB), size=3D  16MB: write-back, count=3D1
>> reg04: base=3D0x0f000000 ( 240MB), size=3D   8MB: write-back, count=3D1
>> reg05: base=3D0x0f800000 ( 248MB), size=3D   4MB: write-back, count=3D1
>> reg06: base=3D0x0fc00000 ( 252MB), size=3D   2MB: write-back, count=3D1
>> reg07: base=3D0x0fe00000 ( 254MB), size=3D   1MB: write-back, count=3D1
>> 
>> (8 entries are maximum)
>> 
>> So I added this to /etc/init.d/boot.local:

	I don't have such a file. Is there an equivalent in RH7.3

Jim

-- 
Jim Breen  (j.breen@example.com  http://www.csse.monash.edu.au/~jwb/)
Computer Science & Software Engineering,                Tel: +61 3 9905 3298
P.O Box 26, Monash University,                          Fax: +61 3 9905 5146
Clayton VIC 3800, Australia      ジム・ブリーン@モナシュ大学

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links