Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed
Date: Thu, 19 Aug 2010 21:32:47
Message-Id: 201008192232.27024.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed by Bill Longman
1 On Thursday 19 August 2010 15:47:46 Bill Longman wrote:
2 > On 08/19/2010 04:37 AM, Walter Dnes wrote:
3 > > On Mon, Aug 16, 2010 at 05:55:04PM -0500, Paul Hartman wrote
4 > >
5 > >> I had a similar message, it was there because of the fact that i
6 > >> specified the wrong (or failed to specify?) mtrr method in my kernel
7 > >> boot parameters for the framebuffer. I'm using uvesafb and in kernel
8 > >> documentation (/usr/src/linux/Documentation/fb/uvesafb.txt) it
9 > >> explains the values and even gives an example of this error and what
10 > >>
11 > >> to do about it:
12 > > I'm using the Intel driver, which doesn't have those settings. And
13 > >
14 > > no, I do not want to drop down to a generic VESA driver with no hardware
15 > > acceleration. Some more Google searching has turned up a lead.
16 > > Apparently, it's possible to manually set the mtrr's, using cat and echo
17 > > with /proc/mtrr
18 > >
19 > > According to "lspci -v", my integrated graphics chip has
20 > >
21 > > Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
22 > > Memory at d0000000 (64-bit, prefetchable) [size=256M]
23 > >
24 > > My mtrr setup, however, shows up like so...
25 > >
26 > > waltdnes@i3 ~ $ cat /proc/mtrr
27 > > reg00: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
28 > > reg01: base=0x200000000 ( 8192MB), size= 1024MB, count=1: write-back
29 > > reg02: base=0x0c0000000 ( 3072MB), size= 1024MB, count=1: uncachable
30 > > reg03: base=0x0b4000000 ( 2880MB), size= 64MB, count=1: uncachable
31 > > reg04: base=0x0b8000000 ( 2944MB), size= 128MB, count=1: uncachable
32 > > reg05: base=0x1fc000000 ( 8128MB), size= 64MB, count=1: uncachable
33 > >
34 > > I'll read up more on how to set it up manually. One thing that has my
35 > >
36 > > curiousity right now... how come there's a gig of ram in write-back mode
37 > > *STARTING* at 8 gigs, and ending at 9 gigs minus 1 byte, when I only
38 > > have 8 gigs of ram in total?
39 >
40 > You might want to have a look in your kernel Documentation directory.
41 > There's a file x86/mtrr.txt that gives you some info. And lots in the fb
42 > subdirectory. You can probably find some other info there, too. There's
43 > lots of the dreaded MTRR info in the kernel_parameters.txt file, so you
44 > can setup the MTRRs at boot time.
45
46 I've read as much as I could find, but the whole hexadecimal thing has me
47 overwhelmed O_O
48
49 I think my mtrr is OK, but I do not understand this enough to know if it would
50 benefit from manual configuration.
51
52 Walter please break it into small change for me when you sort out yours - you
53 could contact me off list if this is getting too O/T.
54 --
55 Regards,
56 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] dmesg warning about mtrr: type mismatch and allocation failed Paul Hartman <paul.hartman+gentoo@×××××.com>