View previous topic :: View next topic |
Author |
Message |
jel Apprentice
Joined: 10 Aug 2005 Posts: 259 Location: Gothenburg
|
Posted: Thu Dec 11, 2008 9:33 am Post subject: X: conflicting memory types since 2.6.27 [SOLVED] |
|
|
Since upgrading to 2.6.27 I'm seeing this in dmesg:
Quote: | X:3153 conflicting memory types e0000000-e8000000 write-combining<->uncached-minus
reserve_memtype failed 0xe0000000-0xe8000000, track write-combining, req write-combining
X:3153 conflicting memory types e0000000-e8000000 write-combining<->uncached-minus
reserve_memtype failed 0xe0000000-0xe8000000, track write-combining, req write-combining
X:3158 freeing invalid memtype e0000000-e8000000
|
from lspci:
Quote: | 01:00.0 VGA compatible controller: ATI Technologies Inc RV380 [Radeon X600 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600]
|
X.Org X Server 1.5.2, using xf86-video-ati driver.
Nothing fishy in /var/log/Xorg.0.log, haven't noticed any performance issues. _________________ # dd if=/dev/urandom of=/dev/sda bs=512
Last edited by jel on Mon Dec 22, 2008 11:52 pm; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Thu Dec 11, 2008 12:41 pm Post subject: |
|
|
This is just a guess, but 2.6.27 added CONFIG_MTRR_SANITIZER, or "MTRR cleanup support"; Quote: | x Convert MTRR layout from continuous to discrete, so X drivers can x
x add writeback entries. x
x x
x Can be disabled with disable_mtrr_cleanup on the kernel command line. x
x The largest mtrr entry size for a continous block can be set with x
x mtrr_chunk_size. | grep for CONFIG_MTRR_SANITIZER in your kernel config, and if it's not set reconfigure, recompile & reboot.
FWIW, I have it enabled and it works with xf86-video-ati with an agp r500, I've never tried disabling it. _________________ "You have to invite me in" |
|
Back to top |
|
|
jel Apprentice
Joined: 10 Aug 2005 Posts: 259 Location: Gothenburg
|
Posted: Thu Dec 11, 2008 9:52 pm Post subject: |
|
|
Good one! Reconfigured, recompiled and rebooted. Didn't work though.
Thanks all the same! _________________ # dd if=/dev/urandom of=/dev/sda bs=512 |
|
Back to top |
|
|
shrike Apprentice
Joined: 20 Feb 2004 Posts: 187 Location: Closer to home
|
Posted: Sat Dec 20, 2008 3:49 pm Post subject: |
|
|
Check kernel X86_PAT setting:
Code: |
2500XP linux # cat /usr/src/linux/.config |grep X86_PAT
# CONFIG_X86_PAT is not set
|
Since disabling X86_PAT I have seen no 'invalid memtype' errors in /var/log/messages. |
|
Back to top |
|
|
jel Apprentice
Joined: 10 Aug 2005 Posts: 259 Location: Gothenburg
|
Posted: Mon Dec 22, 2008 11:51 pm Post subject: |
|
|
shrike wrote: | Check kernel X86_PAT setting:
Code: |
2500XP linux # cat /usr/src/linux/.config |grep X86_PAT
# CONFIG_X86_PAT is not set
|
Since disabling X86_PAT I have seen no 'invalid memtype' errors in /var/log/messages. |
Yes, that's it. PAT is interfering with MTRR. See: http://bugs.archlinux.org/task/12403 . I simply added nopat to kernel boot opts, works with 2.6.26 & 2.6.27. This may be fixed already, I haven't tried a .28 kernel yet. _________________ # dd if=/dev/urandom of=/dev/sda bs=512 |
|
Back to top |
|
|
icorey n00b
Joined: 10 Mar 2008 Posts: 31 Location: Western New York
|
Posted: Sat Dec 27, 2008 6:08 am Post subject: pat and mtrr cleanup slow down |
|
|
can anyone provide some info on PAT and/or how to use mtrr cleanup?
I had PAT and mtrr cleanup enabled (on amd64) and my laptop became extremely slow. I disabled PAT and nothing changed. Then I disabled mtrr cleanup and my laptop seems to be fine now.
I'm thinking maybe I set up mtrr cleanup wrong. Some documentation would be nice, but I can't find any (and the menuconfig prompts are pretty lacking for noobs like me). _________________ icorey.com |
|
Back to top |
|
|
purak Apprentice
Joined: 21 Jun 2008 Posts: 160 Location: /dev/urandom
|
Posted: Wed Jan 28, 2009 12:29 pm Post subject: |
|
|
Hi all, I have the same problem, I use 2.6.28-gentoo-r1(i686)
Code: | hadron / # cat /usr/src/linux/.config |grep X86_PAT
# CONFIG_X86_PAT is not set
|
Code: | hadron / # cat /usr/src/linux/.config | grep CONFIG_MTRR_SANITIZER
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
|
dmesg wrote: | [ 19.818258] mtrr: no MTRR for c0000000,8000000 found |
only this.. Xorg doesn't work
Code: | hadron ~ # lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
|
any idea? _________________
|
|
Back to top |
|
|
acarstoiu Apprentice
Joined: 20 Oct 2004 Posts: 197
|
Posted: Mon Jun 21, 2010 2:20 pm Post subject: |
|
|
I know it's an old discussion, but where is the controlling menu option for CONFIG_X86_PAT ?
I'm using kernel gentoo-sources-2.6.34-r1 and I can't find any relevant option under "Processor type and features".
My log file contains random bursts of "conflicting memory type" messages, but other than that everything is fine. Or isn't it |
|
Back to top |
|
|
|