Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mtrr problem on core 2 duo with 8GB ram
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boerns
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 172

PostPosted: Thu Nov 22, 2007 7:54 pm    Post subject: mtrr problem on core 2 duo with 8GB ram Reply with quote

Hi,

I read the nvidia-Howto and found, that an entry "uncachable" in /proc/mtrr is bad.

holodeck ~ # cat /proc/mtrr
reg00: base=0xc0000000 (3072MB), size=1024MB: uncachable, count=1
reg01: base=0x00000000 ( 0MB), size=8192MB: write-back, count=1
reg02: base=0x200000000 (8192MB), size=1024MB: write-back, count=1

I found nothing in the Bios about mtrr. The support of asus said, that mtrr is only a topic of nvidia-cipsets. My board has the Intel 975X-Chipset.

Is it right, that mtrr is no issue if you are running a grafics-card in PCI-E like me?

I have some 2d-Grahik-Card-failures if I run vmware-server in full-screen-mode.

Here is something about my hardware:
- Intel Core2 Duo E6420 2x2.13GHz 4MB
- ASUS P5WDG2-WS Professional i975X
- 2 x 4096MB Corsair PC2-800 C5 KIT TWIN2X4096-6400C5G
- Nvidia 8500GT 512MB PCI-E

I am running Gentoo 2007.0 x86_64 version.


holodeck linux # emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz
Timestamp of tree: Thu, 22 Nov 2007 03:00:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/local/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 apache apache2 apm arts audiofile authfile bash-completition berkdb bitmap-fonts bzip2 cairo calendar cdb cddb cdparanoia cdr clamav cli cracklib crypt cups curl db2 dbus dga directfb doc dri dv dvd dvdr dvdread encode exif expat fam fastcgi foomaticdb fortran ftp gb gd gdbm gif gmp gnome gphoto2 gpm graphviz gstreamer gtk iconv icq imagemagick imap imlib innodb ipv6 isdnlog jabber jack java javascript jpeg kde ldap lesstif libg++ libwww lirc lm_sensors mad maildir mbox memlimit mhash midi mime mmx mng mono mp3 mpeg mplayer msn mudflap mysql nas ncurses nls nptl nptlonly nsplugin ntpl nvidia odbc offensive ogg opengl openmp oss pam pcre pda pdf perl php png pppd python qt3 qt4 quicktime radius readline recode reflection samba scanner seamonkey session shorten slang slp sndfile snmp soap socks5 spell spl sse sse2 ssl svg symlink szip tc tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vhosts vim-syntax virtualbox wavpack wmf wxwindows xcb xcomposite xface xine xinetd xml xorg xosd xpm xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


lspic -vvv sais about the graphics-card:

05:00.0 VGA compatible controller: nVidia Corporation Unknown device 0421 (rev a1) (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc. Unknown device 8245
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
Region 5: I/O ports at cc00 [size=128]
Expansion ROM at feae0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <4us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <4us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Thu Nov 22, 2007 9:03 pm    Post subject: Reply with quote

Did you enable "64 bit memory and IO resources" in your kernel's config?
Back to top
View user's profile Send private message
boerns
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 172

PostPosted: Thu Nov 22, 2007 9:50 pm    Post subject: Reply with quote

Hi,

I have gentoo-sources 2.6.22-r9 installed.

I do not find this option in the kernel konfiguration

Where is it?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Nov 22, 2007 11:07 pm    Post subject: Reply with quote

cjubon wrote:
Did you enable "64 bit memory and IO resources" in your kernel's config?

Probably not, because this option only applies to 32bit kernels.
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Fri Nov 23, 2007 2:14 pm    Post subject: Reply with quote

"64 bit memory and IO resources" can be found in "Processor type and features", quite at the end of the list. In order to be able to activate it, however, you have to enable "Prompt for development and/or incomplete code/drivers" in the "Code maturity level options". You should also double check your "High memory support" and "Memoriy model" entries in the same "Processor type and features" section.

BTW, I do not understand what cyrillic means with his remark. A "32bit kernel" is exactly one that has 64bit mem/IO disabled, and a "64bit kernel" one that has it enabled.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Nov 23, 2007 4:44 pm    Post subject: Reply with quote

This option is used so that 32bit CPUs can have more than 4GB of address space.

Kernels compiled for x86_64 (or any other 64bit arch) do not need this option because memory and IO resources are 64bit already.
Back to top
View user's profile Send private message
boerns
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 172

PostPosted: Fri Nov 23, 2007 6:06 pm    Post subject: Reply with quote

ok, so i have this option because I have a 64-bin kernel

What about the mtrr problem? Is it just a topic for amd-chipsets and AGP-Graphics-cards?
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Nov 23, 2007 6:46 pm    Post subject: Reply with quote

Hi boerns,
I had the same thing on my asus p5wdh.
It doesn't give any problem and nvidia says somewhere that it is not
important for PCI-E boards.
So don't worry.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum