All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Diego M. Vadell" <dvadell@linuxclusters.com.ar>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: PAT and MTRRs
Date: Tue, 11 Nov 2008 13:30:04 -0100	[thread overview]
Message-ID: <200811111330.04624.dvadell@linuxclusters.com.ar> (raw)
In-Reply-To: <490B963D.5010100@kernel.org>

> your bios doesn't cover 4g above RAM..
>
> please do
> 1. boot linux with "disable_mtrr_trim"
> 2. after booting input:
> echo "base=0x100000000 size=0x20000000 type=write-back" >/proc/mtrr
> echo "base=0x120000000 size=0x8000000 type=write-back" >/proc/mtrr
> echo "base=0x128000000 size=0x4000000 type=write-back" >/proc/mtrr
>
> later you could put those three lines in one scripts and call it from
> inittab # grep mtrrfixup /etc/inittab
> mtrrfixup:345:once:/root/mtrrfixup.sh
>
> YH
> --

Hi,

   It worked! It takes 10 minutes to boot, but it gets speedy somewhere in the 
booting process. I checked the memory speed with "stream" and its working.

   Just for the record, I had to change the line in /etc/inittab 
to "mtrr:345:once:/root/mtrrfixup.sh" or else, init would complain about the 
first field being more than 4 characters.

   Thank you very much

 -- Diego 

      reply	other threads:[~2008-11-11 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26 23:46 PAT and MTRRs Diego M. Vadell
2008-10-27  0:12 ` Arjan van de Ven
2008-10-27  0:21   ` H. Peter Anvin
2008-10-27  0:34     ` Arjan van de Ven
2008-10-27  0:38       ` H. Peter Anvin
2008-10-27  5:17 ` Yinghai Lu
2008-10-31 22:42   ` Diego M. Vadell
2008-10-31 23:19     ` Yinghai Lu
2008-10-31 23:35     ` Yinghai Lu
2008-11-11 14:30       ` Diego M. Vadell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811111330.04624.dvadell@linuxclusters.com.ar \
    --to=dvadell@linuxclusters.com.ar \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.