Strona 1 z 2

Problem z nV GF6600

: 20 lutego 2008, 17:01
autor: Amaru
Witam.
Zaczęło się od tego, że chciałem zainstalować compiz'a.
Ale:

Kod: Zaznacz cały

amaru@amaru:~$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
amaru@amaru:~$
/etc/X11/xorg.conf

Kod: Zaznacz cały

# /etc/X12/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "pl"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "nVidia Corporation NV43 [GeForce 6600]"
        Driver          "nv"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "DELL P793"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation NV43 [GeForce 6600]"
        Monitor         "DELL P793"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
        Option  "Composite"     "Enable"
EndSection
Pobrałem sterowniki:

Kod: Zaznacz cały

amaru@amaru:~$ wget [url]http://pl.download.nvidia.com/XFree86/Linux-x86_64/169.09/NVIDIA-Linux-x86_64-169.09-pkg2.run[/url]
Rozpakowałem, zainstalowałem jako root po zamknięciu X'ów:

Kod: Zaznacz cały

amaru:/home/amaru# sh NVIDIA-Linux-x86_64-169.09-pkg2.run
A tu /var/log/nvidia-installer.log

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 20 14:52:10 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 install libdir : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : [url]ftp://download.nvidia.com[/url]
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site ([url]ftp://download.nvidia.com[/url])? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
ERROR: Unable to find the kernel source tree for the currently running kernel.
       Please make sure you have installed the kernel source files for your
       kernel and that they are properly configured; on Red Hat Linux systems,
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at [url]www.nvidia.com[/url].
X'y wstają, nie ma problemu, ale dalej mam:

Kod: Zaznacz cały

amaru@amaru:~$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
amaru@amaru:~$
Oczywiście dążę do tego aby uzyskać: direct rendering: Yes
Proszę o pomoc.

PS:

Kod: Zaznacz cały

amaru@amaru:~$ uname -r
2.6.18-6-amd64

: 20 lutego 2008, 19:34
autor: ruun

Kod: Zaznacz cały

ERROR: Unable to find the kernel source tree for the currently running kernel. 
       Please make sure you have installed the kernel source files for your 
       kernel and that they are properly configured; on Red Hat Linux systems, 
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM 
       installed.  If you know the correct kernel source files are installed, 
       you may specify the kernel source path with the '--kernel-source-path' 
       command line option.
Z loga wynika że instalacja się nie powiodła. Nagłówki jądra masz zainstalowane?

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`

: 21 lutego 2008, 02:42
autor: Amaru
Tak i zainstalowały się bez problemu... :-?

: 21 lutego 2008, 07:57
autor: ruun
Jak rozumiem, nagłówki zainstalowały się bez problemu. Ponowiłeś instalację sterowników? Pokaż log /var/log/nvidia-installer.log

: 23 lutego 2008, 02:07
autor: Amaru
Nagłówki poszły bez problemu i są w najnowszej wersji (zrobiłem jeszcze raz)

Kod: Zaznacz cały

amaru:/home/amaru# apt-get install linux-headers-`uname -r`
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
linux-headers-2.6.18-6-amd64 jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 2 nieaktualizowanych.
Po czymponownie spróbowałem zainstalować sterowniki:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 23 01:50:01 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 install libdir : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : [url]ftp://download.nvidia.com[/url]
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site ([url]ftp://download.nvidia.com[/url])? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.18-6-amd64/build'
-> Kernel output path: '/lib/modules/2.6.18-6-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.18-6-amd64/
   build SYSOUT=/lib/modules/2.6.18-6-amd64/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.18-6-amd64/build SUBDIRS=/t
   mp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_ver
   sions
   rm -f /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_versio
   ns/*
   make -f scripts/Makefile.build obj=/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.0
   9-pkg2/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.nv.
   o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__KERN
   EL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
   totypes -Wno-trigraphs -fno-stri
   ct-aliasing -fno-common -Os   -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-
   reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a
   -time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer  -fno-stac
   k-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz623
   5/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type 
   -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
   char -Werror -mcmodel=kernel -mno-red-zone -MD   -Wsign-compare -Wno-cast-qu
   al -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.09\" -U
   DEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
   UILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6235/N
   VIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz6235/NVIDIA-L
   inux-x86_64-169.09-pkg2/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv.c:14:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv.c:14:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv.c:14:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.nv-
   vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__K
   ERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-
   prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -mno-r
   ed-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asy
   nchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3d
   now -fomit-frame-pointer  -fno-
   stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfg
   z6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-t
   ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-m
   ultichar -Werror -mcmodel=kernel -mno-red-zone -MD   -Wsign-compare -Wno-cas
   t-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.09\
   " -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAM
   E=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
   z6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz623
   5/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nv-vm.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-vm.c:14:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.os-
   agp.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__
   KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict
   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -mno-
   red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-as
   ynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3
   dnow -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statemen
   t -Wno-pointer-sign -I/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
   ren
   theses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone 
   -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM 
   -DNV_VERSION_STRING=\"169.09\" -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 /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/
   nv/.tmp_os-agp.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/
   os-agp.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-agp.c:24:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-agp.c:24:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-agp.c:24:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-agp.c:24:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-agp.c:24:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.os-
   interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/includ
   e -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -W
   strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64
   -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -f
   no-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -
   mno-3dnow -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-sta
   tement -Wno-pointer-sign -I/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/u
   sr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
   -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-re
   d-zone -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE 
   -DNVRM -DNV_VERSION_STRING=\"169.09\" -U
   DEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
   UILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/se
   lfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_os-interface.o /tmp
   /selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/os-interface.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-interface.c:26:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-interface.c:26:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-interface.c:26:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-interface.c:26:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-interface.c:26:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.os-
   registry.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include
   -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wst
   rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -
   mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fn
   o-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -m
   no-3dnow -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-stat
   ement -Wno-pointer-sign -I/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/us
   r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
   -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-re
   d-zone -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE 
   -DNVRM -DNV_VERSION_STRING=\"169.09\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D
   "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MO
   DNAME=KBUILD_STR(nvidia)" 
   -c -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_os-reg
   istry.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/os-regist
   ry.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-registry.c:15:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-registry.c:15:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-registry.c:15:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-registry.c:15:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/os-registry.c:15:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.nv-
   i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__
   KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict
   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -mno-
   red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-as
   ynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3
   dnow -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statemen
   t -Wno-pointer-sign -I/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
   rentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zo
   ne -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNV
   RM -DNV_VERSION_STRING=\"169.09\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBU
   ILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBU
   ILD_STR(nvidia)" -c -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/s
   rc/nv/.tmp_nv-i2c.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/
   nv/nv-i2c.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-i2c.c:8:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-i2c.c:8:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-i2c.c:8:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-i2c.c:8:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-i2c.c:8:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.nva
   cpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__
   KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict
   -prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -mno-
   red-zone -mcmodel=kernel -pip
   e -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -fun
   it-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer  -f
   no-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/se
   lfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv -Wall -Wimplicit -Wretur
   n-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wn
   o-multichar -Werror -mcmodel=kernel -mno-red-zone -MD   -Wsign-compare -Wno-
   cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.
   09\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
   NAME=KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
   elfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.tmp_nvacpi.o /tmp/self
   gz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nvacpi.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nvacpi.c:15:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/sched.h:54,
                    from include/linux/module.h:9,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nvacpi.c:15:
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nvacpi.c:15:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nvacpi.c:15:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/sr
   c/nv/nvacpi.c:15:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
     ld -m elf_x86_64  -r -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/us
   r/src/nv/nvidia.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv
   /nv-kernel.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nv.o
   /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nv-vm.o /tmp/self
   gz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/os-agp.o /tmp/selfgz6235/N
   VIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/os-interface.o /tmp/selfgz6235/NVI
   DIA-Linux-x86_64-169.09-pkg2/usr/src/nv/os-registry.o /tmp/selfgz62
   35/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nv-i2c.o /tmp/selfgz6235/NVIDI
   A-Linux-x86_64-169.09-pkg2/usr/src/nv/nvacpi.o
     Building modules, stage 2.
   make -rR -f /usr/src/linux-headers-2.6.18-6-amd64/scripts/Makefile.modpost
     scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.18-6-amd64/Module.sy
   mvers -I /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/Module.s
   ymvers -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/Module.
   symvers /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nvidia.o
     cc -Wp,-MD,/tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/.nvi
   dia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include 
   -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wst
   rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -
   mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fn
   o-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -m
   no-3dnow -fomit-frame-pointer  -fno-s
   tack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_
   STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBU
   ILD_STR(nvidia)" -DMODULE -c -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-p
   kg2/usr/src/nv/nvidia.mod.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/
   usr/src/nv/nvidia.mod.c
     ld -m elf_x86_64 -r -o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr
   /src/nv/nvidia.ko /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv
   /nvidia.o /tmp/selfgz6235/NVIDIA-Linux-x86_64-169.09-pkg2/usr/src/nv/nvidia.
   mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 No such device
-> Kernel messages:
   ra0: no IPv6 routers present
   NVRM: The NVIDIA probe routine was not called for 1 device(s).
   NVRM: This can occur when a driver such as rivafb, nvidiafb or
   NVRM: rivatv was loaded and obtained ownership of the NVIDIA
   NVRM: device(s).
   NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
   NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
   NVRM: support), then try loading the NVIDIA kernel module again.
   NVRM: No NVIDIA graphics adapter probed!
   NVRM: The NVIDIA probe routine was not called for 1 device(s).
   NVRM: This can occur when a driver such as rivafb, nvidiafb or
   NVRM: rivatv was loaded and obtained ownership of the NVIDIA
   NVRM: device(s).
   NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
   NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
   NVRM: support), then try loading the NVIDIA kernel module again.
   NVRM: No NVIDIA graphics adapter probed!
   NVRM: The NVIDIA probe routine was not called for 1 device(s).
   NVRM: This can occur when a driver such as rivafb, nvidiafb or
   NVRM: rivatv was loaded and obtained ownership of the NVIDIA
   NVRM: device(s).
   NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
   NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
   NVRM: support), then try loading the NVIDIA kernel module again.
   NVRM: No NVIDIA graphics adapter probed!
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at [url]www.nvidia.com[/url].

: 23 lutego 2008, 08:01
autor: Bodzio
a jak robisz instalację ? z czystej konsoli, czy z jakiegoś x-terminala ?
¯eby zainstalować sterowniki musisz mieć całkowicie zabite X-y

: 23 lutego 2008, 14:08
autor: Amaru
Najpierw - siedząc w X'ach daje z roota komende /etc/init.d/gdm stop
Wtedy wiadomo, wyłącza mi sie tryb graficzny, loguje sie na roota i daje sh NVIDIA......

: 23 lutego 2008, 15:03
autor: GIGABYTE
Spróbuj na starszych sterownikach.

: 23 lutego 2008, 15:38
autor: Amaru
Próbowałem z tymi:
http://pl.download.nvidia.com/XFree86/L ... 9-pkg2.run
logi jak w poprzednim poście.
Teraz probowałem te:
http://download.nvidia.com/XFree86/Linu ... 9-pkg2.run
Log:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 23 15:32:25 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : /emul/ia32-linux
  installer install prefix: /usr
  utility install prefix  : /usr
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : [url]ftp://download.nvidia.com[/url]
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site ([url]ftp://download.nvidia.com[/url])? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.18-6-amd64/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.18-6-amd64/
   build SYSOUT=/lib/modules/2.6.18-6-amd64/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.18-6-amd64/build SUBDIRS=/t
   mp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_v
   ersions
   rm -f /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_vers
   ions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6
   629-pkg2/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3443/NVI
   DIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.n
   v.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__KE
   RNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-p
   rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os   -m64 -mno-re
   d-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asyn
   chronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dn
   ow -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement 
   -Wno-pointer-sign -I/tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/sr
   c/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
   rentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -mno-red-z
   one -MD   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD
   ULE  -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__
   -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -D
   NV_UNIX  -DNV_LINUX  -DNV_INT64_OK  -DNVCPU_X86_64  -DNV_64_BITS    -UDEBUG 
   -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRES
   EN
   T  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUI
   LD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0
   -6629-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629
   -pkg2/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv-linux.h:52,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/elf.h:48,
                    from include/linux/elf.h:7,
                    from include/linux/module.h:16,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv-linux.h:52,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv.c:14:
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:202: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:564,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv-linux.h:75,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv.c:14:
   include/asm/io.h: In function ‘check_signature’:
   include/asm/io.h:275: warning: wrong type argument to increment
   In file included from include/asm/pci.h:92,
                    from include/linux/pci.h:691,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv-linux.h:75,
                    from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv.c:14:
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *â
   €™ used in arithmetic
   In file included from /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv/nv.c:14:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv-linux.h:203:
   5: warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv-linux.h:231:
   5: warning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv-linux.h:626:
   2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: At top le
   vel:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:201: warni
   ng: initialization from incompatible pointer type
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:223:5: war
   ning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In functi
   on ‘nvos_get_agp_device_by_class’:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:401: warni
   ng: implicit declaration of function ‘pci_find_class’
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:401: warni
   ng: assignment makes pointer from integer without a cast
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:415: warni
   ng: assignment makes pointer from integer without a cast
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:1097:5: wa
   rning: "NV_ENABLE_MEM_TRACKING" is not defined
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In functi
   on ‘nv_kern_mmap’:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:1541: warn
   ing: implicit declaration of function ‘remap_page_range’
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In functi
   on ‘_get_phys_address’:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2509: erro
   r: ‘pgd_t’ has no member named ‘pud’
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In functi
   on ‘nv_agp_init’:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2991: warn
   ing: implicit declaration of function ‘inter_module_get’
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2992: warn
   ing: implicit declaration of function ‘inter_module_put’
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c: In functi
   on ‘nvos_count_devices’:
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:3134: warn
   ing: assignment makes pointer from integer without a cast
   /tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:3139: warn
   ing: assignment makes pointer from integer without a cast
   make[3]: *** [/tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/n
   v.o] BÅ‚Ä…d 1
   make[2]: *** [_module_/tmp/selfgz3443/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/
   src/nv] BÅ‚Ä…d 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] BÅ‚Ä…d 1
   make: *** [module] BÅ‚Ä…d 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at [url]www.nvidia.com[/url].
I dalej lipa...

: 23 lutego 2008, 18:00
autor: Bodzio
na stronie http://nvidii jest chyba strona old drivers. Poszukaj sterów z numerem 100 - te były dość uniwersalne - może Ci na nich pójdzie.