LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-21-2011, 09:22 AM   #1
parcox
LQ Newbie
 
Registered: Jan 2007
Location: Pontianak, Indonesia
Distribution: Slackware64-14.0
Posts: 26

Rep: Reputation: 5
"MTRR allocation failed. Graphics performance may suffer." warning on Intel graphic


running on slackware-current 64bit, intel graphics with 4Gigs RAM
I got this warning message on boot

#dmesg | grep mtrr
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] MTRR variable ranges enabled:
[ 7.634953] mtrr: no more MTRRs available
[ 7.635064] [drm] MTRR allocation failed. Graphics performance may suffer.

and this is my /proc/mtrr:
#cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size= 512MB, count=1: write-back
reg03: base=0x0dc000000 ( 3520MB), size= 64MB, count=1: uncachable
reg04: base=0x0db000000 ( 3504MB), size= 16MB, count=1: uncachable
reg05: base=0x100000000 ( 4096MB), size= 512MB, count=1: write-back
reg06: base=0x11f000000 ( 4592MB), size= 16MB, count=1: uncachable
reg07: base=0x11e800000 ( 4584MB), size= 8MB, count=1: uncachable
reg08: base=0x11e600000 ( 4582MB), size= 2MB, count=1: uncachable
reg09: base=0x0ffc00000 ( 4092MB), size= 4MB, count=1: write-protect

I've tried some workaround by adding kernel parameters like enable_mtrr_cleanup mtrr_spare_reg_nr=1 nopat, but it changes nothing. mtrr-uncover terminated with this error message:

#./mtrr-uncover --debug
Region 0: base: 0x000000000, size: 0x080000000, type: write-back, count: 1
Region 1: base: 0x080000000, size: 0x040000000, type: write-back, count: 1
Region 2: base: 0x0c0000000, size: 0x020000000, type: write-back, count: 1
Region 3: base: 0x0dc000000, size: 0x004000000, type: uncachable, count: 1
Region 4: base: 0x0db000000, size: 0x001000000, type: uncachable, count: 1
Region 5: base: 0x100000000, size: 0x020000000, type: write-back, count: 1
Region 6: base: 0x11f000000, size: 0x001000000, type: uncachable, count: 1
Region 7: base: 0x11e800000, size: 0x000800000, type: uncachable, count: 1
./mtrr-uncover: error reading /proc/mtrr line 9: region number 0 is repeated

What is the problem exactly? anyone can explain? I attached my hardware info too.
Thanks in advance.
Attached Files
File Type: txt cpuinfo.txt (3.4 KB, 3 views)
File Type: txt lspci.txt (1.5 KB, 5 views)
File Type: txt meminfo.txt (1,014 Bytes, 2 views)
 
Old 06-21-2011, 03:04 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

Rep: Reputation: 41
You can try adding this to the lilo boot command line:

mtrr_gran_size=8M mtrr_chunk_size=32M

You can also try this:

enable_mtrr_cleanup mtrr_spare_reg_nr=1
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xvinfo "no adaptors present" 4500M Intel graphics xserver-xorg-video-intel zebrose Linux - Laptop and Netbook 0 02-24-2010 12:09 PM
[SOLVED] "WARNING: Re-reading the partition table failed with error 22: Invalid argument." ytd Linux - Newbie 6 01-26-2010 11:06 AM
"perl: warning: Setting locale failed" walterbyrd Debian 1 12-07-2007 01:24 PM
"perl: warning: Setting locale failed." System wide problem Darek84CJ Debian 3 01-25-2006 06:22 PM
*ERROR* mtrr allocation failed (-22) nemesi Slackware 1 10-22-2004 04:55 AM


All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration