Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147441 - x11-drivers/nvidia-drivers-1.0.8774 failed MTRR check
Summary: x11-drivers/nvidia-drivers-1.0.8774 failed MTRR check
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 04:37 UTC by Kamil Winczek
Modified: 2007-07-12 19:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Winczek 2006-09-13 04:37:56 UTC
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8-crs i686)
=================================================================
System uname: 2.6.17-gentoo-r8-crs i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 10:59:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.zie.pg.gda.pl http://mir.zyrianes.net/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LC_ALL="en_GB.UTF-8"
LINGUAS="en en_GB"
PKGDIR="/usr/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-r /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip bzip2 cairo cli crypt cups dbus dga dlloader dvd dvdr dvdread eds elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gb gdbm gif glitz glx gtk2 hal imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kernel_linux kipi libg++ libwww linguas_en linguas_en_GB mad maildir mmx mp3 mpeg mplayer musicbrainz mysql nas ncurses nptl nptlonly nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl stroke svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs xcomposite xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kamil Winczek 2006-09-13 04:44:34 UTC
Hello. I'm sure that i have enabled MTRR in kernel, but nvidia-(legacy-drivers|drivers|kernel) says that i haven't it.

Here is a debug output from merging nvidia-drivers:
http://nst.pl/~crs/nvidia-debug-output

Here is my whole .config:
http://nst.pl/~crs/.config

And backtrack:

/root # uname -a
Linux exodus 2.6.17-gentoo-r8-crs #1 Wed Sep 13 12:06:52 CEST 2006 i686 AMD Duron(tm) processor AuthenticAMD GNU/Linux
/root # ll /usr/src/linux
lrwxrwxrwx 1 root root 22 2006-09-13 11:35 /usr/src/linux -> linux-2.6.17-gentoo-r8
/root # grep -i mtrr /usr/src/linux/.config
CONFIG_MTRR=y
/root # emerge nvidia-drivers
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-1.0.8774 to /
 * NVIDIA-Linux-x86-1.0-8774-pkg1.run MD5 ;-) ...                                                                                                                       [ ok ]
 * NVIDIA-Linux-x86-1.0-8774-pkg1.run RMD160 ;-) ...                                                                                                                    [ ok ]
 * NVIDIA-Linux-x86-1.0-8774-pkg1.run SHA1 ;-) ...                                                                                                                      [ ok ]
 * NVIDIA-Linux-x86-1.0-8774-pkg1.run SHA256 ;-) ...                                                                                                                    [ ok ]
 * NVIDIA-Linux-x86-1.0-8774-pkg1.run size ;-) ...                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                  [ ok ]
 * checking NVIDIA-Linux-x86-1.0-8774-pkg1.run ;-) ...                                                                                                                  [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.17-gentoo-r8-crs
/usr/portage/eclass/linux-info.eclass: line 196: [: 26: integer expression expected
/usr/portage/eclass/linux-info.eclass: line 196: [: 26: integer expression expected
 * Checking for MTRR support ...                                                                                                                                        [ !! ]
 * This version needs MTRR support for most chipsets!
 * Please enable MTRR support in your kernel config, found at:
 *
 *   Processor type and features
 *     [*] MTRR (Memory Type Range Register) support
 *
 * and recompile your kernel ...

!!! ERROR: x11-drivers/nvidia-drivers-1.0.8774 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  nvidia-drivers-1.0.8774.ebuild, line 83:   Called mtrr_check
  nvidia-drivers-1.0.8774.ebuild, line 69:   Called die

!!! MTRR support not detected!
Comment 2 Daniel Herzog 2006-10-12 02:09:02 UTC
Try with gentoo-sources maybe and report.
What are sources are -crs?!
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-07-12 17:03:21 UTC
Please retest with a supported kernel. Please read the following for more information.

http://www.gentoo.org/doc/en/gentoo-kernel.xml
Comment 4 Kamil Winczek 2007-07-12 19:16:00 UTC
(In reply to comment #3)
> Please retest with a supported kernel. Please read the following for more
> information.
Its working since long time. Sorry for not close that earlier.