* [gentoo-user] MTRR setting? Where could I have put it? @ 2009-01-20 23:17 Willie Wong 2009-01-20 23:22 ` Volker Armin Hemmann 0 siblings, 1 reply; 12+ messages in thread From: Willie Wong @ 2009-01-20 23:17 UTC (permalink / raw To: gentoo-user Hi list: I need some help with my memory. Recently when I quit the X server, the following can be seen in the sys log: Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found and on the TTY where I issued X init, a similar message is shown, but the message is not echoed in /var/log/Xorg.0.log Now, I remember having entered something like that somewhere way back, when I was using the ATI drivers for my laptop (instead of the radeon drivers from Xorg). The problem is, I cannot remember where such a line would possibly go! Does anyone have any ideas where I can start searching? Thanks in advance, W -- "So what you have here is a highly nonlinear system of partial differential equations in two variables. But, if you sub in 0 for both angles you can prove conclusively that two attached rods will, in fact, hang." ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 774 days, 21:55 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-20 23:17 [gentoo-user] MTRR setting? Where could I have put it? Willie Wong @ 2009-01-20 23:22 ` Volker Armin Hemmann 2009-01-21 1:31 ` Willie Wong 2009-01-22 19:55 ` Willie Wong 0 siblings, 2 replies; 12+ messages in thread From: Volker Armin Hemmann @ 2009-01-20 23:22 UTC (permalink / raw To: gentoo-user On Mittwoch 21 Januar 2009, Willie Wong wrote: > Hi list: > > I need some help with my memory. > > Recently when I quit the X server, the following can be seen in the > sys log: > > Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found > > and on the TTY where I issued X init, a similar message is shown, > but the message is not echoed in /var/log/Xorg.0.log > > Now, I remember having entered something like that somewhere way > back, when I was using the ATI drivers for my laptop (instead of the > radeon drivers from Xorg). The problem is, I cannot remember where > such a line would possibly go! Does anyone have any ideas where I > can start searching? > > Thanks in advance, > > W don't do it. Just don't do that. It should not be necessary. Instead look at the mtrr cleanup options in make menuconfig. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-20 23:22 ` Volker Armin Hemmann @ 2009-01-21 1:31 ` Willie Wong 2009-01-21 1:39 ` Volker Armin Hemmann 2009-01-22 19:55 ` Willie Wong 1 sibling, 1 reply; 12+ messages in thread From: Willie Wong @ 2009-01-21 1:31 UTC (permalink / raw To: gentoo-user On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann squawked: > On Mittwoch 21 Januar 2009, Willie Wong wrote: > > Hi list: > > > > I need some help with my memory. > > > > Recently when I quit the X server, the following can be seen in the > > sys log: > > > > Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found > > > > and on the TTY where I issued X init, a similar message is shown, > > but the message is not echoed in /var/log/Xorg.0.log > > > > Now, I remember having entered something like that somewhere way > > back, when I was using the ATI drivers for my laptop (instead of the > > radeon drivers from Xorg). The problem is, I cannot remember where > > such a line would possibly go! Does anyone have any ideas where I > > can start searching? > > > don't do it. Just don't do that. It should not be necessary. Instead look at > the mtrr cleanup options in make menuconfig. Yes, my point exactly! That *should not* be necessary any longer, so I am trying to figure out where I might have put this thing which I remembered having manual inserted so I can undo the damage. Also, what is this MTRR cleanup option? I can't seem to find it? W -- Q: What's grey and proves the nondenumerability of the Reals? A: Cantor's Diagonal Elephant Sortir en Pantoufles: up 775 days, 12 min ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-21 1:31 ` Willie Wong @ 2009-01-21 1:39 ` Volker Armin Hemmann 2009-01-22 12:23 ` Mick 2009-01-22 18:23 ` Willie Wong 0 siblings, 2 replies; 12+ messages in thread From: Volker Armin Hemmann @ 2009-01-21 1:39 UTC (permalink / raw To: gentoo-user On Mittwoch 21 Januar 2009, Willie Wong wrote: > On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann squawked: > > On Mittwoch 21 Januar 2009, Willie Wong wrote: > > > Hi list: > > > > > > I need some help with my memory. > > > > > > Recently when I quit the X server, the following can be seen in the > > > sys log: > > > > > > Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found > > > > > > and on the TTY where I issued X init, a similar message is shown, > > > but the message is not echoed in /var/log/Xorg.0.log > > > > > > Now, I remember having entered something like that somewhere way > > > back, when I was using the ATI drivers for my laptop (instead of the > > > radeon drivers from Xorg). The problem is, I cannot remember where > > > such a line would possibly go! Does anyone have any ideas where I > > > can start searching? > > > > don't do it. Just don't do that. It should not be necessary. Instead look > > at the mtrr cleanup options in make menuconfig. > > Yes, my point exactly! That *should not* be necessary any longer, so I > am trying to figure out where I might have put this thing which I > remembered having manual inserted so I can undo the damage. > > Also, what is this MTRR cleanup option? I can't seem to find it? > > W are you using a recent kernel? 2.6.27 or 28? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-21 1:39 ` Volker Armin Hemmann @ 2009-01-22 12:23 ` Mick 2009-01-22 12:41 ` Justin 2009-01-22 18:23 ` Willie Wong 1 sibling, 1 reply; 12+ messages in thread From: Mick @ 2009-01-22 12:23 UTC (permalink / raw To: gentoo-user 2009/1/21 Volker Armin Hemmann <volkerarmin@googlemail.com>: > On Mittwoch 21 Januar 2009, Willie Wong wrote: >> On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann > squawked: >> > On Mittwoch 21 Januar 2009, Willie Wong wrote: >> > > Hi list: >> > > >> > > I need some help with my memory. >> > > >> > > Recently when I quit the X server, the following can be seen in the >> > > sys log: >> > > >> > > Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found >> > > >> > > and on the TTY where I issued X init, a similar message is shown, >> > > but the message is not echoed in /var/log/Xorg.0.log >> > > >> > > Now, I remember having entered something like that somewhere way >> > > back, when I was using the ATI drivers for my laptop (instead of the >> > > radeon drivers from Xorg). The problem is, I cannot remember where >> > > such a line would possibly go! Does anyone have any ideas where I >> > > can start searching? >> > >> > don't do it. Just don't do that. It should not be necessary. Instead look >> > at the mtrr cleanup options in make menuconfig. >> >> Yes, my point exactly! That *should not* be necessary any longer, so I >> am trying to figure out where I might have put this thing which I >> remembered having manual inserted so I can undo the damage. >> >> Also, what is this MTRR cleanup option? I can't seem to find it? >> >> W > > are you using a recent kernel? 2.6.27 or 28? I am using both. I have a mtrr entry in my kernel boot line like this: mtrr:4 but when configuring the new kernel I came across this option: MTRR cleanup enable value (0-1) which confused me. What am I supposed to choose here, other than the default 0 value? -- Regards, Mick ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-22 12:23 ` Mick @ 2009-01-22 12:41 ` Justin 0 siblings, 0 replies; 12+ messages in thread From: Justin @ 2009-01-22 12:41 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2884 bytes --] Mick schrieb: > 2009/1/21 Volker Armin Hemmann <volkerarmin@googlemail.com>: > >> On Mittwoch 21 Januar 2009, Willie Wong wrote: >> >>> On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann >>> >> squawked: >> >>>> On Mittwoch 21 Januar 2009, Willie Wong wrote: >>>> >>>>> Hi list: >>>>> >>>>> I need some help with my memory. >>>>> >>>>> Recently when I quit the X server, the following can be seen in the >>>>> sys log: >>>>> >>>>> Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found >>>>> >>>>> and on the TTY where I issued X init, a similar message is shown, >>>>> but the message is not echoed in /var/log/Xorg.0.log >>>>> >>>>> Now, I remember having entered something like that somewhere way >>>>> back, when I was using the ATI drivers for my laptop (instead of the >>>>> radeon drivers from Xorg). The problem is, I cannot remember where >>>>> such a line would possibly go! Does anyone have any ideas where I >>>>> can start searching? >>>>> >>>> don't do it. Just don't do that. It should not be necessary. Instead look >>>> at the mtrr cleanup options in make menuconfig. >>>> >>> Yes, my point exactly! That *should not* be necessary any longer, so I >>> am trying to figure out where I might have put this thing which I >>> remembered having manual inserted so I can undo the damage. >>> >>> Also, what is this MTRR cleanup option? I can't seem to find it? >>> >>> W >>> >> are you using a recent kernel? 2.6.27 or 28? >> > > I am using both. I have a mtrr entry in my kernel boot line like this: mtrr:4 > > but when configuring the new kernel I came across this option: > > MTRR cleanup enable value (0-1) > > which confused me. What am I supposed to choose here, other than the > default 0 value? > choose 1 with the 28 kernel and everything is fine. That was my success: reg00: base=0xfffe0000 (4095MB), size= 128KB: write-protect, count=1 reg01: base=0xfffc0000 (4095MB), size= 128KB: uncachable, count=1 reg02: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1 reg03: base=0x20000000 ( 512MB), size= 512MB: write-back, count=1 reg04: base=0x3f800000 (1016MB), size= 8MB: uncachable, count=1 reg05: base=0x3f600000 (1014MB), size= 2MB: uncachable, count=1 reg06: base=0x3f500000 (1013MB), size= 1MB: uncachable, count=1 reg07: base=0x00000000 ( 0MB), size= 128KB: uncachable, count=1 changed to reg00: base=0x000000000 ( 0MB), size= 1024MB, count=1: write-back reg01: base=0x03f500000 ( 1013MB), size= 1MB, count=1: uncachable reg02: base=0x03f600000 ( 1014MB), size= 2MB, count=1: uncachable reg03: base=0x03f800000 ( 1016MB), size= 8MB, count=1: uncachable reg04: base=0x040000000 ( 1024MB), size= 2MB, count=1: write-combining [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-21 1:39 ` Volker Armin Hemmann 2009-01-22 12:23 ` Mick @ 2009-01-22 18:23 ` Willie Wong 1 sibling, 0 replies; 12+ messages in thread From: Willie Wong @ 2009-01-22 18:23 UTC (permalink / raw To: gentoo-user On Wed, Jan 21, 2009 at 02:39:32AM +0100, Penguin Lover Volker Armin Hemmann squawked: > > Also, what is this MTRR cleanup option? I can't seem to find it? > > > are you using a recent kernel? 2.6.27 or 28? Sorry for the late reply, I was having some problems with my mail. I am using 2.6.26 right now. I guess that is the problem. Let me try a more recent one and report back. W -- Pintsize: Data packets instead of pheromones! Sortir en Pantoufles: up 776 days, 17:04 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-20 23:22 ` Volker Armin Hemmann 2009-01-21 1:31 ` Willie Wong @ 2009-01-22 19:55 ` Willie Wong 2009-01-22 19:58 ` Justin 1 sibling, 1 reply; 12+ messages in thread From: Willie Wong @ 2009-01-22 19:55 UTC (permalink / raw To: gentoo-user On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann squawked: > On Mittwoch 21 Januar 2009, Willie Wong wrote: > > Recently when I quit the X server, the following can be seen in the > > sys log: > > > > Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found > > > > and on the TTY where I issued X init, a similar message is shown, > > but the message is not echoed in /var/log/Xorg.0.log > > > don't do it. Just don't do that. It should not be necessary. Instead look at > the mtrr cleanup options in make menuconfig. Sorry, but this does not help. I have that after I terminate X, the following line on the console: error setting MTRR (base = 0xe8000000, size = 0x02000000, type = 1) Invalid argument (22) and the following e-nibbles wwong # dmesg | tail -n 5 pci 0000:01:00.0: putting AGP V2 device into 4x mode [drm] Setting GART location based on new memory map [drm] Loading R200 Microcode [drm] writeback test succeeded in 1 usecs mtrr: no MTRR for e8000000,2000000 found e-nibbles wwong # zgrep -i mtrr /proc/config.gz CONFIG_MTRR=y CONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 e-nibbles wwong # uname -a Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux Is there anything I misconfigured? Any other ideas? Thanks, W -- "And wow! Hey! What's this thing coming towards me very fast? Very very fast. So big and flat and round, it needs a big wide sounding word like... ow... ound... round... ground! That's it! That's a good name - ground! I wonder if it will be friends with me?" - For the sperm whale, it wasn't. Sortir en Pantoufles: up 776 days, 18:35 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-22 19:55 ` Willie Wong @ 2009-01-22 19:58 ` Justin 2009-01-23 0:47 ` Dake Wang 0 siblings, 1 reply; 12+ messages in thread From: Justin @ 2009-01-22 19:58 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1778 bytes --] Willie Wong schrieb: > On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann squawked: > >> On Mittwoch 21 Januar 2009, Willie Wong wrote: >> >>> Recently when I quit the X server, the following can be seen in the >>> sys log: >>> >>> Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found >>> >>> and on the TTY where I issued X init, a similar message is shown, >>> but the message is not echoed in /var/log/Xorg.0.log >>> >>> >> don't do it. Just don't do that. It should not be necessary. Instead look at >> the mtrr cleanup options in make menuconfig. >> > > Sorry, but this does not help. I have that after I terminate X, the > following line on the console: > > error setting MTRR (base = 0xe8000000, size = 0x02000000, type = 1) Invalid argument (22) > > and the following > > e-nibbles wwong # dmesg | tail -n 5 > pci 0000:01:00.0: putting AGP V2 device into 4x mode > [drm] Setting GART location based on new memory map > [drm] Loading R200 Microcode > [drm] writeback test succeeded in 1 usecs > mtrr: no MTRR for e8000000,2000000 found > e-nibbles wwong # zgrep -i mtrr /proc/config.gz > CONFIG_MTRR=y > CONFIG_MTRR_SANITIZER=y > CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1 > CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 > e-nibbles wwong # uname -a > Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux > > > Is there anything I misconfigured? > > Any other ideas? > > Thanks, > > W > I read something about booting with "mtrr_cleanup_debug debug" in the command line. This will print you out what to set in mtrr_chunk_size in the commandline. Didn't test it but check that. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-22 19:58 ` Justin @ 2009-01-23 0:47 ` Dake Wang 2009-01-23 14:51 ` Willie Wong 0 siblings, 1 reply; 12+ messages in thread From: Dake Wang @ 2009-01-23 0:47 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2054 bytes --] It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel. I got both as on my box as the gspca driver for my web camera seems only worked on the 2.6.26 kernel. On Thu, Jan 22, 2009 at 11:58 AM, Justin <justin@j-schmitz.net> wrote: > Willie Wong schrieb: > > On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin > Hemmann squawked: > > > >> On Mittwoch 21 Januar 2009, Willie Wong wrote: > >> > >>> Recently when I quit the X server, the following can be seen in the > >>> sys log: > >>> > >>> Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e8000000,2000000 found > >>> > >>> and on the TTY where I issued X init, a similar message is shown, > >>> but the message is not echoed in /var/log/Xorg.0.log > >>> > >>> > >> don't do it. Just don't do that. It should not be necessary. Instead > look at > >> the mtrr cleanup options in make menuconfig. > >> > > > > Sorry, but this does not help. I have that after I terminate X, the > > following line on the console: > > > > error setting MTRR (base = 0xe8000000, size = 0x02000000, type = 1) > Invalid argument (22) > > > > and the following > > > > e-nibbles wwong # dmesg | tail -n 5 > > pci 0000:01:00.0: putting AGP V2 device into 4x mode > > [drm] Setting GART location based on new memory map > > [drm] Loading R200 Microcode > > [drm] writeback test succeeded in 1 usecs > > mtrr: no MTRR for e8000000,2000000 found > > e-nibbles wwong # zgrep -i mtrr /proc/config.gz > > CONFIG_MTRR=y > > CONFIG_MTRR_SANITIZER=y > > CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1 > > CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 > > e-nibbles wwong # uname -a > > Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) > Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux > > > > > > Is there anything I misconfigured? > > > > Any other ideas? > > > > Thanks, > > > > W > > > I read something about booting with "mtrr_cleanup_debug debug" in the > command line. This will print you out what to set in mtrr_chunk_size in > the commandline. Didn't test it but check that. > > [-- Attachment #2: Type: text/html, Size: 2767 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-23 0:47 ` Dake Wang @ 2009-01-23 14:51 ` Willie Wong 2009-01-24 0:51 ` Man Shankar 0 siblings, 1 reply; 12+ messages in thread From: Willie Wong @ 2009-01-23 14:51 UTC (permalink / raw To: gentoo-user On Thu, Jan 22, 2009 at 04:47:00PM -0800, Penguin Lover Dake Wang squawked: > It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel. > I got both as on my box as the gspca driver for my web camera seems only > worked on the 2.6.26 kernel. > The error I run into is mostly only cosmetic. The error happens AFTER I terminate X. So far there has been no loss of functionality. After a thorough search of my harddrive, I am beginning to think that this is not a problem with my configuration per se, but a bug with the Xorg radeon driver. Note that for me this message occured for both 2.6.26.5 and 2.6.28.1 vanilla sources, and for both 6.9.0 and 6.10.0 Xorg radeon drivers. W -- Ever stop to think, and forget to start again? Sortir en Pantoufles: up 777 days, 13:31 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] MTRR setting? Where could I have put it? 2009-01-23 14:51 ` Willie Wong @ 2009-01-24 0:51 ` Man Shankar 0 siblings, 0 replies; 12+ messages in thread From: Man Shankar @ 2009-01-24 0:51 UTC (permalink / raw To: gentoo-user On 09:51 Fri 23 Jan , Willie Wong wrote: > On Thu, Jan 22, 2009 at 04:47:00PM -0800, Penguin Lover Dake Wang squawked: > > It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel. > > I got both as on my box as the gspca driver for my web camera seems only > > worked on the 2.6.26 kernel. > > > > The error I run into is mostly only cosmetic. The error happens AFTER > I terminate X. So far there has been no loss of functionality. After a > thorough search of my harddrive, I am beginning to think that this is > not a problem with my configuration per se, but a bug with the Xorg > radeon driver. > Happened here on both .26 and .28 with the nv driver. But, like you said the message only appeared after X terminated. I only experienced 1 X crash during a week of nv driver usage. No, such messages with the nvidia proprietary drivers however. FWIW the following are the config opts i use for my current .28 gentoo-sources: zsh % zgrep -i mtrr /proc/config.gz CONFIG_MTRR=y # CONFIG_MTRR_SANITIZER is not set I pass mtrr:4 to the kernel command line. > Note that for me this message occured for both 2.6.26.5 and 2.6.28.1 > vanilla sources, and for both 6.9.0 and 6.10.0 Xorg radeon drivers. > > W > -- > Ever stop to think, and forget to start again? > Sortir en Pantoufles: up 777 days, 13:31 -- Thanks & Regards, Man Shankar <man.ee.gen(at)gmail.com> ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-01-23 19:08 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-20 23:17 [gentoo-user] MTRR setting? Where could I have put it? Willie Wong 2009-01-20 23:22 ` Volker Armin Hemmann 2009-01-21 1:31 ` Willie Wong 2009-01-21 1:39 ` Volker Armin Hemmann 2009-01-22 12:23 ` Mick 2009-01-22 12:41 ` Justin 2009-01-22 18:23 ` Willie Wong 2009-01-22 19:55 ` Willie Wong 2009-01-22 19:58 ` Justin 2009-01-23 0:47 ` Dake Wang 2009-01-23 14:51 ` Willie Wong 2009-01-24 0:51 ` Man Shankar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox