From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ol8bM-0006pN-SF for garchives@archives.gentoo.org; Mon, 16 Aug 2010 22:56:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF736E0887; Mon, 16 Aug 2010 22:55:04 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C3AD4E0887 for ; Mon, 16 Aug 2010 22:55:04 +0000 (UTC) Received: by qwe5 with SMTP id 5so6276395qwe.40 for ; Mon, 16 Aug 2010 15:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=m6WHJNUcX1vhaxRdSTaNUBn3ZVeL6gXuuemSWfi2EYY=; b=al9hiom0/W2AxZ1dYVR2edNRggLIfJiGncpn7n3W7NRJPvcRywpxGy5eHR/o1V2Ahm wKfHdVIG2dkVbSNig12hKx/Io6Sea4qW3D7EYzyifsDjxcJ1NblqRLi3GKF134qfhGBn L+FTjL4VskCkUEFxwF5EogCOLiBzIw9iC666Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=gFa937OoFkK8z6zf50qTH4PmTU+nMYq1JhgNvJiJmOzQMGMrc4ZY8GJIbaHtR7KnK/ GOqngaA6miBPLmZRFEOXo75XnWkOr31/JGYYNRTeuOJMU5vzc3xoZNu/kH8bRp80YT3m GEkpRGqf0UNnIKkMCp1un25uw4dEKvYyBsRz8= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.5.199 with SMTP id 7mr3768758qaw.241.1281999304320; Mon, 16 Aug 2010 15:55:04 -0700 (PDT) Sender: paul.hartman@gmail.com Received: by 10.229.238.21 with HTTP; Mon, 16 Aug 2010 15:55:04 -0700 (PDT) In-Reply-To: <20100815232718.GA3864@waltdnes.org> References: <20100815232718.GA3864@waltdnes.org> Date: Mon, 16 Aug 2010 17:55:04 -0500 X-Google-Sender-Auth: 3CNVEzrROCyfJhB6fFILF3c4GWw Message-ID: Subject: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d90138a2-0dd4-45f0-a4eb-c796232a9dda X-Archives-Hash: a90612364fcb60f0a4438ede913b2b74 On Sun, Aug 15, 2010 at 6:27 PM, Walter Dnes wrote: > =A0I'm running 64-bit Gentoo on an Intel 4-core i3 with an Intel integrat= ed > graphics controller. =A0An excerpt from dmesg follows, with the video- > related stuff. =A0Note the two lines that I've split off. =A0They mention > the mtrr type mismatch and the allocation failure. =A0Is this a problem > and if so, what do I do about it? ... > [ =A0 =A00.608643] mtrr: type mismatch for d0000000,10000000 old: write-b= ack new: write-combining > [ =A0 =A00.608725] [drm] MTRR allocation failed. =A0Graphics 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: 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-combini= ng ... After I changed my mtrr setting in grub's config & rebooted, the error message went away. HTH :)