Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sat Oct 30, 2010 5:45 pm    Post subject: nvidia Reply with quote

I have installed gentoo completely from source code for the first time including the xfce4 desktop and mono (completing the four mono test examples).
I failed to successfully install the nvidia driver as described in the "Gentoo Linux nVidia Guide". This is the only item outstanding. Many thanks to all the developers who created this marvelous system.

The final end result is:
Code:
 
localhost ~ # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.34-gentoo-r12/nvidia.ko): No such device

As a side issue nvidia.ko is in a sub-folder "video".

There is a qualifying video card:
Code:

lspci

00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7900 GTX] (rev a1)                                                     <<<<<<<<<<<
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 14)
04:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02)
04:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 02)
05:01.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
05:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)


I also tried to locate the directive in the BIOS "Assign IRQ to VGA is set" but was unable to locate it.

I have 4GB of RAM but the "write-back" in /proc/mtrr seems ok.

I am currently using the nv driver:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=prescott -msse3 -mfpmath=sse -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="nvidia nv"
FEATURES="parallel-fetch"
LINGUAS="en"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="dri -gnome -kde -minimal -qt4 branding dbus hal jpeg lock session startup-$
XFCE_PLUGINS="brightness menu trash"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://chi-10g-1-$


My settings for the kernel are:
Code:

CONFIG_SYSVIPC=y                      ##
CONFIG_MODULES=y                  ##
CONFIG_MTRR=y                           ##
CONFIG_AGP=y                  ##   
# CONFIG_FB_NVIDIA is not set      ##
# CONFIG_FB_RIVA is not set         ##

I dont think I need AGP.

I get confused by the Nvidia Guide as far as the sequence of actions required. Also I am new to gentoo and need guidance on how to proceed once I have screwed up.

I recompile the kernel then emerge nvidia-drivers then emerge xorg-server then modprobe nvidia.

Here is the emerge nvidia-drivers using module-rebuild rebuild:
Code:

localhost ~ # module-rebuild rebuild
** Preparing to merge modules:
** Packages which I will emerge are:
   =x11-drivers/nvidia-drivers-195.36.31
5 4 3 2 1

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-195.36.31
 * NVIDIA-Linux-x86-195.36.31-pkg0.run RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  x11-drivers/nvidia-drivers-195.36.31
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.34-gentoo-r12/build
 * Found sources for kernel version:
 *     2.6.34-gentoo-r12
 * Checking for MTRR support ...                                          [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86-195.36.31-pkg0.run to /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 ...
 * Applying NVIDIA_glx-defines.patch ...                                  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                 [ ok ]
 * Applying 195.30-unified-arch.patch ...                                 [ ok ]
 * Converting NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0 ...
 * Preparing nvidia module
make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.34-gentoo-r12/build HOST_CC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.34-gentoo-r12/build \
   KBUILD_SRC=/usr/src/linux-2.6.34-gentoo-r12 \
   KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv" -f /usr/src/linux-2.6.34-gentoo-r12/Makefile \
   modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (   \
   echo;                        \
   echo "  ERROR: Kernel configuration is invalid.";      \
   echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";   \
   echo;                        \
   /bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.34-gentoo-r12/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv
(cat /dev/null;   echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/modules.order
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nv_gvi.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv_gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv_gvi.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-vm.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.os-agp.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-agp.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-interface.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.os-registry.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-registry.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-i2c.c
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nvacpi.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvacpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvacpi.c
  i686-pc-linux-gnu-ld    -r -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-kernel.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv_gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvacpi.o
make -f /usr/src/linux-2.6.34-gentoo-r12/scripts/Makefile.modpost
  scripts/mod/modpost   -i /usr/src/linux-2.6.34-gentoo-r12/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/Module.symvers  -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/Module.symvers -S -w -c -s
  i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/.nvidia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r12/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.34-gentoo-r12/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -DMODULE -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.mod.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.mod.c
  i686-pc-linux-gnu-ld -r  -T /usr/src/linux-2.6.34-gentoo-r12/scripts/module-common.lds --build-id -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.ko /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86-195.36.31-pkg0/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/nvidia-drivers-195.36.31

>>> Install nvidia-drivers-195.36.31 into /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/image/ category x11-drivers
 * Installing nvidia module
>>> Completed installing nvidia-drivers-195.36.31 into /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/image/

ecompressdir: bzip2 -9 /usr/share/man

 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:
 * TEXTREL usr/lib/libXvMCNVIDIA.so.195.36.31


>>> Installing (1 of 1) x11-drivers/nvidia-drivers-195.36.31
 * Updating module dependencies for 2.6.34-gentoo-r12 ...                 [ ok ]
 * Removing x11-drivers/nvidia-drivers-195.36.31 from moduledb.
Switching to nvidia OpenGL interface... done
 * Updating module dependencies for 2.6.34-gentoo-r12 ...                 [ ok ]
 * Adding module to moduledb.
Switching to nvidia OpenGL interface... done

 * You must be in the video group to use the NVIDIA device
 * For more info, read the docs at
 * http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
 *
 * This ebuild installs a kernel module and X driver. Both must
 * match explicitly in their version. This means, if you restart
 * X, you must modprobe -r nvidia before starting it back up
 *
 * To use the NVIDIA GLX, run "eselect opengl set nvidia"
 *
 * NVIDIA has requested that any bug reports submitted have the
 * output of /usr/bin/nvidia-bug-report.sh included.
 *
 * To work with compiz, you must enable the AddARGBGLXVisuals option.
 *
 * If you are having resolution problems, try disabling DynamicTwinView.


 * Messages for package x11-drivers/nvidia-drivers-195.36.31:

 * You must be in the video group to use the NVIDIA device
 * For more info, read the docs at
 * http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
 *
 * This ebuild installs a kernel module and X driver. Both must
 * match explicitly in their version. This means, if you restart
 * X, you must modprobe -r nvidia before starting it back up
 *
 * To use the NVIDIA GLX, run "eselect opengl set nvidia"
 *
 * NVIDIA has requested that any bug reports submitted have the
 * output of /usr/bin/nvidia-bug-report.sh included.
 *
 * To work with compiz, you must enable the AddARGBGLXVisuals option.
 *
 * If you are having resolution problems, try disabling DynamicTwinView.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: 1 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


localhost ~ # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.34-gentoo-r12/nvidia.ko): No such device


Hope you can help.
Kevin
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Sat Oct 30, 2010 7:00 pm    Post subject: Reply with quote

kg2001,

Code:
localhost ~ # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.34-gentoo-r12/nvidia.ko): No such device


Clearly shows that modprobe is looking in the wrong place. nvidia.ko is supposed to be in a video subfolder.
It appears that modprobes info hasn't been updated when the nvidia-drivers were emerged.

As a dirty hack, copy the nvidia.ko file to /lib/modules/2.6.34-gentoo-r12/ so that at least its found. Thats not the right thing to do as it doesn't fix the issue with modprobe.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sat Oct 30, 2010 9:07 pm    Post subject: Reply with quote

Many thanks for the reply. I should have added that I have tried copying nvidia.ko to the next folder up. It makes no difference to the error message.
Regards,
Kevin
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 30, 2010 9:09 pm    Post subject: Reply with quote

You probably need to run depmod after manually manipulating modules.

Edit:
Code:
   echo "  ERROR: Kernel configuration is invalid.";      \
   echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";   \

You have this error, I do not think your module is built correctly.
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sat Oct 30, 2010 9:44 pm    Post subject: Reply with quote

Hi Jaglover. I am not certain what you mean "after manually manipulating modules". Do I need to run "make oldconfig && make prepare" then "depmod -a"? Is oldconfig the current /usr/src/linux/.config?
Thanks,
Kevin
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 30, 2010 10:18 pm    Post subject: Reply with quote

If you have kernel sources installed in /usr/src/linux and you used these sources to build your kernel then nvidia drivers should build and give you a working loadable module. I don't think this is happening.

Checklist.

Did you build kernel using sources where /usr/src/symlink points to?
Did you install this kernel properly, was /boot mounted (in case you have separate boot partition)?
Did you reboot using new kernel?
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sat Oct 30, 2010 10:58 pm    Post subject: nvidia Reply with quote

Hi Jaglover

Did you build kernel using sources where /usr/src/symlink points to?
When I run: "eselect kernel list" I have only one kernel:
Available kernel symlink targets:
[1] linux-2.6.34-gentoo-r12 *

Did you install this kernel properly, was /boot mounted (in case you have separate boot partition)?
My boot folder is included in the same partition as root:
After changing the flags in "make menuconfig" I then "make && make modules_install" then "cp arch/i386/boot/bzImage /boot/kernel-2.6.34-gentoo-r12". I am not sure this is right.

Did you reboot using new kernel?
I have rebooted but I don't know if it used the re-compiled kernel with the flags in .config changed.
This is a totally new gentoo system. I have always used kernel-2.6.34-gentoo-r12. It has never been upgraded.
I re-run /sbin/lilo without a kernel name change after cp.

Regards,
Kevin
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 30, 2010 11:00 pm    Post subject: Reply with quote

Code:
uname -a

This will tell you the time kernel image was built.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 30, 2010 11:10 pm    Post subject: Reply with quote

Forget the error I was pointing to, it's not a real one. Your problem is elsewhere.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 30, 2010 11:16 pm    Post subject: Reply with quote

Google tells another user getting similar error had noveau loaded which didn't let nvidia to load.
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sun Oct 31, 2010 12:18 am    Post subject: nvidia Reply with quote

localhost ~ # lsmod
Module Size Used by
aic7xxx 96326 1

I don't think I tried nouveau although I wrote a note x11-drivers/xf86-video-nouveau & x11-base/nouveau-drm. It seemed to be unstable.

How do I list installed packages?

As a side issue I had aic7xxx in the kernel but couldn't get it to work (scsi drive missing). I changed it to a module and it worked?

I really would like to have nvidia as I will do some programming in mono & axiom3d.

Should I try another group?

Any other thoughts?

Regards,
Kevin
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Oct 31, 2010 12:28 am    Post subject: Reply with quote

I know you followed http://www.gentoo.org/doc/en/nvidia-guide.xml, just double checking, did you disable nvidia framebuffer?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sun Oct 31, 2010 1:05 am    Post subject: Reply with quote

I'm sure I did:

My settings for the kernel are:
Code:

CONFIG_SYSVIPC=y ##
CONFIG_MODULES=y ##
CONFIG_MTRR=y ##
CONFIG_AGP=y ##
# CONFIG_FB_NVIDIA is not set ##
# CONFIG_FB_RIVA is not set ##


I just checked again. Definitely not set.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Oct 31, 2010 1:15 am    Post subject: Reply with quote

I'm running out of ideas right now, just one long shot is left. Can you reduce your RAM under 3 GB and see if device not found error remains? BTW, what's the PCI ID of your card?
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sun Oct 31, 2010 5:09 am    Post subject: nvidia Reply with quote

what's the PCI ID of your card?
01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7900 GTX] (rev a1)

cat /proc/mtrr
Code:

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=0x100000000 ( 4096MB), size=  512MB, count=1: write-back
reg04: base=0x0dff00000 ( 3583MB), size=    1MB, count=1: write-through
reg05: base=0x0e0000000 ( 3584MB), size=  256MB, count=1: write-combining


Heres an odd lot:
Code:

localhost / # lsmod
Module                  Size  Used by
nouveau               319231  0
ttm                    38138  1 nouveau
drm_kms_helper         21629  1 nouveau
drm                   133849  3 nouveau,ttm,drm_kms_helper
i2c_algo_bit            3901  1 nouveau
cfbcopyarea             2653  1 nouveau
cfbimgblt               1845  1 nouveau
cfbfillrect             2489  1 nouveau
nvidia               9314052  0
ppdev                   4793  0
intel_agp              20449  0
parport_pc             17233  0
aic7xxx                96326  1
sr_mod                 10568  0
parport                25324  2 ppdev,parport_pc
cdrom                  26918  1 sr_mod
agpgart                24272  4 ttm,drm,nvidia,intel_agp
scsi_transport_spi     16561  1 aic7xxx
localhost / # emerge --unmerge x11-drivers/xf86-video-nouveau
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'x11-drivers/xf86-video-nouveau' to unmerge.

>>> No packages selected for removal by unmerge

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost / # emerge --unmerge x11-base/nouveau-drm
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'x11-base/nouveau-drm' to unmerge.

>>> No packages selected for removal by unmerge

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Are the modules present? If they are how do I remove the nouveau ones?

Many thanks,
Kevin
Back to top
View user's profile Send private message
Alanw
n00b
n00b


Joined: 07 Dec 2009
Posts: 15

PostPosted: Sun Oct 31, 2010 5:25 am    Post subject: Reply with quote

Sorry, If this doesn't help, but have you edited /etc/modules.autoload.d/kernel-2.6 ?

It may contain the nouveau driver. Otherwise, I don't know what could be going on.

Good luck,
Alan
_________________
www.alan-warren.com
gentoo 2.6.39-gentoo-r3
[1]Dual Xeon E5645 @ 3.7Ghz
24 GB RAM
Nvidia Quadro 4000 Fermi
[2]Dual Xeon E5520 @ 2.26Ghz
24 GB RAM
Nvidia GeForce GTX 285
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sun Oct 31, 2010 6:42 am    Post subject: Reply with quote

I really do need to clean this up!
Code:

# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# aic7xxx
nvidia


With modules I seem to get erratic results?

Does this permanently remove modules?
Code:

localhost ~ # modprobe -rv nouveau
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/gpu/drm/nouveau/nouveau.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/gpu/drm/ttm/ttm.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/gpu/drm/drm_kms_helper.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/gpu/drm/drm.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/i2c/algos/i2c-algo-bit.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/video/cfbcopyarea.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/video/cfbimgblt.ko
rmmod /lib/modules/2.6.34-gentoo-r12/kernel/drivers/video/cfbfillrect.ko


localhost ~ # modprobe nvidia
I should have modprobe -v nvidia
I don't know whats what.

Code:

localhost ~ # lsmod
Module                  Size  Used by
nvidia               9314052  0
ppdev                   4793  0
intel_agp              20449  0
parport_pc             17233  0
aic7xxx                96326  1
sr_mod                 10568  0
parport                25324  2 ppdev,parport_pc
cdrom                  26918  1 sr_mod
agpgart                24272  2 nvidia,intel_agp
scsi_transport_spi     16561  1 aic7xxx


Is nvidia now loaded and running?

Code:

localhost / # /sbin/lilo
Warning: /dev/sda4 is not on the first disk
Added gentoo *
Added gentoo.rescue
One warning was issued.


Does it matter if /dev/sda4 is not on the first disk?

The reason these modules sprung out from nowhere was I changed parport / parport_pc to <M> and recompiled the kernel.
For all that my pc still can't see the parallel port. I still can't print on my old HP LaserJet6L.

I will try to emerge xorg-server????

Cheers,
Kevin
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Sun Oct 31, 2010 7:11 am    Post subject: Reply with quote

Well I ran #emerge xorg-server so that "When you install the X Server, it will then install the right version of nvidia-drivers for you".
Code:

localhost / # qlist -I -C x11-drivers/
x11-drivers/nvidia-drivers
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-nv
localhost / # env-update
>>> Regenerating /etc/ld.so.cache...
localhost / # source /etc/profile

At present my X environment just uses hald and has no /etc/X11/xorg.conf file. The Gentoo nVidia Guide next proceeds to modify xorg.conf for nvidia??

I wonder if i should run Xorg -configure? as a starting point. Can nvidia utulise hal policy files?

Time to have a sleep!

Cheers,
Kevin
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2588
Location: Here and Away Again

PostPosted: Sun Oct 31, 2010 7:44 am    Post subject: Reply with quote

Just a tiny note, I don't think you need nv in your make.conf now as it is, as far as I understand, the older version of nouveau. ;^^
And yes, you can/should/need(?) hal at least if using Xorg 1.7.7 or earlier. I see you have hal in your USE flags so it should be OK.

I used nvidia-xconfig instead of Xorg -configure or manual configuration and it works fine.
I think the only manual edit on it I have done is the "Coolbits" part at

Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "4"

to be able to adjust my fan speed...


Have a good sleep!
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
kg2001
n00b
n00b


Joined: 22 Oct 2010
Posts: 16

PostPosted: Mon Nov 01, 2010 2:54 am    Post subject: Reply with quote

Many thanks Chiitoo,
Had much success today:

Removed anything in .config like CONFIG_DRM......
Re-compiled the kernel

For me confusion resulted from the Nvidia Guide cross linking with the X Server Configuration HOWTO.
KMS "You need to do this step regardless of which Xorg video driver you're using."
Did the writer mean "...which video driver made by Xorg you're using"?

localhost ~ # lsmod
Module Size Used by
nvidia 9314052 0
aic7xxx 96326 1
intel_agp 20449 0
ppdev 4793 0
agpgart 24272 2 nvidia,intel_agp
scsi_transport_spi 16561 1 aic7xxx
parport_pc 17233 0
parport 25324 2 ppdev,parport_pc
sr_mod 10568 0
cdrom 26918 1 sr_mod

# nvidia-xconfig
# nano -w /etc/make.conf (VIDEO_CARDS="nvidia" & USE="... xvmc nvidia gtk")
emerge -uD --newuse world
# lsmod | grep nvidia && rmmod nvidia
# modprobe nvidia
# lsmod
# nano -w /etc/modules.autoload.d/kernel-2.6 (nvidia & agpgart)
# update-modules
# eselect opengl set nvidia
# startx
# nvidia-settings
NVIDIA Driver Version 260.19.12
Server Version Number 11.0
Server Vendor Version 1.7.7
NV-CONTROL Version 1.24
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@localhost)  Mon Nov  1 09:19:32 NZDT 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Wed Jun  2 00:20:35 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer T230H"
    HorizSync       30.0 - 80.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7900 GTX"
    Option         "Coolbits" "4"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=prescott -msse3 -mfpmath=sse -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
INPUT_DEVICES="keyboard mouse evdev"
#VIDEO_CARDS="nvidia nv"
VIDEO_CARDS="nvidia"
FEATURES="parallel-fetch"
LINGUAS="en"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="dri -gnome -kde -minimal -qt4 branding dbus hal jpeg lock session startup-$
XFCE_PLUGINS="brightness menu trash"


localhost ~ # gcc --version
gcc (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4

localhost linux # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.34-gentoo-r12 *

glxinfo | grep direct
direct rendering: Yes
GL_EXT_direct_state_access, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
direct rendering: Yes
GL_EXT_direct_state_access, GL_EXT_draw_range_elements, GL_EXT_fog_coord,

emerge media-video/mplayer

Although mplayer appears to install it will not run. I guess it needs missing USE flags.

Is there a USE flag required command?

Regards,
Kevin
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2588
Location: Here and Away Again

PostPosted: Mon Nov 01, 2010 3:33 am    Post subject: Reply with quote

You're most welcome, just glad I can be of help at least a little bit and it's good to see you have been successful! 8)

kg2001 wrote:
For me confusion resulted from the Nvidia Guide cross linking with the X Server Configuration HOWTO.
KMS "You need to do this step regardless of which Xorg video driver you're using."
Did the writer mean "...which video driver made by Xorg you're using"?

I'm not really sure. It does speak of open source drivers in that part, so perhaps it's not needed by the proprietary nvidia-drivers, nevertheless, I do have the Framebuffer Console support enabled. Perhaps it is related to enabling high resolution CLI, I shall experiment with it shortly...

kg2001 wrote:
emerge media-video/mplayer

Although mplayer appears to install it will not run. I guess it needs missing USE flags.

Is there a USE flag required command?

Regards,
Kevin

This one does not have a GUI built by default, but instead of a USE flag, it uses the option -enable-gui during ./configure and then the Gmplayer binary.
Look here for more info:

http://www.mplayerhq.hu/DOCS/HTML/en/gui.html

A lot of "GUIs" out there using Mplayer as a base (as far as I understand it), to name a few, Kmplayer, Gmplayer (Gnome-mplayer now?) and Smplayer.
I personally like Smplayer a lot. With most of them, it seemed very difficult or next to impossible to alter the amount of time you skip/rewind/fastforward and this really is unacceptable to me.
Smplayer, however, has it done very well and if you like the windows media player classic, you would probably like this one as well.

I would encourage you to experiment with them yourself and see which you like the most!


I hope this helps!


Edit:

Just did a quick test and indeed, without that Framebuffer Console support, I would get a black screen when trying to use high resolutions set by Grub.
Actually tried without VGA text console too, and that was even worse... as expected. 8)
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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