public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed
Date: Mon, 16 Aug 2010 17:55:04 -0500	[thread overview]
Message-ID: <AANLkTinbvjdibHN2TKAk7kCkkh+Qp+5Yh2A9YKm7Ssd=@mail.gmail.com> (raw)
In-Reply-To: <20100815232718.GA3864@waltdnes.org>

On Sun, Aug 15, 2010 at 6:27 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
>  I'm running 64-bit Gentoo on an Intel 4-core i3 with an Intel integrated
> graphics controller.  An excerpt from dmesg follows, with the video-
> related stuff.  Note the two lines that I've split off.  They mention
> the mtrr type mismatch and the allocation failure.  Is this a problem
> and if so, what do I do about it?

...

> [    0.608643] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
> [    0.608725] [drm] MTRR allocation failed.  Graphics performance may suffer.

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:

<cut>
mtrr:n  Setup memory type range registers for the framebuffer
        where n:
              0 - disabled (equivalent to nomtrr) (default)
              1 - uncachable
              2 - write-back
              3 - write-combining
              4 - write-through

        If you see the following in dmesg, choose the type that matches
        the old one.  In this example, use "mtrr:2".
...
mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
...
</cut>

After I changed my mtrr setting in grub's config & rebooted, the error
message went away.

HTH :)



  parent reply	other threads:[~2010-08-16 22:56 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 ` Paul Hartman [this message]
2010-08-19 11:37   ` [gentoo-user] " Walter Dnes
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='AANLkTinbvjdibHN2TKAk7kCkkh+Qp+5Yh2A9YKm7Ssd=@mail.gmail.com' \
    --to=paul.hartman+gentoo@gmail.com \
    --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