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 1Om6Pg-0006Rg-K3 for garchives@archives.gentoo.org; Thu, 19 Aug 2010 14:48:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10546E06F4; Thu, 19 Aug 2010 14:47:49 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id CB75CE06F4 for ; Thu, 19 Aug 2010 14:47:48 +0000 (UTC) Received: by pwi5 with SMTP id 5so1315064pwi.40 for ; Thu, 19 Aug 2010 07:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=3eCnDdjdiN3QVY/q2W8lDHAD5X0u3YX4MqFWoFNTILM=; b=MjOPJAuSzrhjemTGiFgIpwM0w5ig2e682yeh+RmmdYG7yTxw7Mmd6YThZQTrhCSmYW GA6dieYIYJWJVy/jE3g9Wj1gNBUWifgSApmkzgsPU0pxgInfEkw/hoo8hNxBUzYD7N5c /qXAPX2hiNVWUbBosfdzX9uMwCUfLLIDJtQlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=eykDRtqn2C5UfT02YQf20eft1RKDRgLvF21y+HoT68b1ey1VjnYwngfBftq0V1qxiZ 8QqGJeq7JixSZIYiC0PZ2hfhlmes6Un5QDAJS8lUWJmU4lLtkYerL4DJwZcGPNDiXOZA 1cPtynC5ttoWHGtnlpfquJ8HwCx9dWN1259s8= Received: by 10.114.93.19 with SMTP id q19mr11341463wab.206.1282229268401; Thu, 19 Aug 2010 07:47:48 -0700 (PDT) Received: from [192.168.0.12] ([209.20.133.224]) by mx.google.com with ESMTPS id k23sm2802725waf.17.2010.08.19.07.47.46 (version=SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 07:47:47 -0700 (PDT) Message-ID: <4C6D4412.6010800@gmail.com> Date: Thu, 19 Aug 2010 07:47:46 -0700 From: Bill Longman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100817 Lightning/1.0b2pre Thunderbird/3.1.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed References: <20100815232718.GA3864@waltdnes.org> <20100819113725.GA4894@waltdnes.org> In-Reply-To: <20100819113725.GA4894@waltdnes.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5b73e37b-5998-4dee-a385-3cabf29eb631 X-Archives-Hash: e5a8769a892271cac84212feac5a7648 On 08/19/2010 04:37 AM, Walter Dnes wrote: > 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? You might want to have a look in your kernel Documentation directory. There's a file x86/mtrr.txt that gives you some info. And lots in the fb subdirectory. You can probably find some other info there, too. There's lots of the dreaded MTRR info in the kernel_parameters.txt file, so you can setup the MTRRs at boot time.