public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed
Date: Thu, 19 Aug 2010 07:37:25 -0400	[thread overview]
Message-ID: <20100819113725.GA4894@waltdnes.org> (raw)
In-Reply-To: <AANLkTinbvjdibHN2TKAk7kCkkh+Qp+5Yh2A9YKm7Ssd=@mail.gmail.com>

On Mon, Aug 16, 2010 at 05:55:04PM -0500, Paul Hartman wrote
> 
> I had a similar message, it was there because of the fact that i
> specified the wrong (or failed to specify?) mtrr method in my kernel
> boot parameters for the framebuffer. I'm using uvesafb and in kernel
> documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
> explains the values and even gives an example of this error and what
> to do about it:

  I'm using the Intel driver, which doesn't have those settings.  And
no, I do not want to drop down to a generic VESA driver with no hardware
acceleration.  Some more Google searching has turned up a lead.
Apparently, it's possible to manually set the mtrr's, using cat and echo
with /proc/mtrr

  According to "lspci -v", my integrated graphics chip has

        Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]

  My mtrr setup, however, shows up like so...

waltdnes@i3 ~ $ cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size= 8192MB, count=1: write-back
reg01: base=0x200000000 ( 8192MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size= 1024MB, count=1: uncachable
reg03: base=0x0b4000000 ( 2880MB), size=   64MB, count=1: uncachable
reg04: base=0x0b8000000 ( 2944MB), size=  128MB, count=1: uncachable
reg05: base=0x1fc000000 ( 8128MB), size=   64MB, count=1: uncachable

  I'll read up more on how to set it up manually.  One thing that has my
curiousity right now... how come there's a gig of ram in write-back mode
*STARTING* at 8 gigs, and ending at 9 gigs minus 1 byte, when I only
have 8 gigs of ram in total?

-- 
Walter Dnes <waltdnes@waltdnes.org>



  reply	other threads:[~2010-08-19 11:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 23:27 [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed Walter Dnes
2010-08-16 22:28 ` [gentoo-user] " walt
2010-08-17  2:48   ` Walter Dnes
2010-08-16 22:55 ` [gentoo-user] " Paul Hartman
2010-08-19 11:37   ` Walter Dnes [this message]
2010-08-19 14:47     ` Bill Longman
2010-08-19 21:32       ` Mick
2010-08-19 21:43         ` Paul Hartman
2010-08-19 23:24           ` Peter Humphrey

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=20100819113725.GA4894@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox