LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 10830|回复: 75

求助,fedora 12安装nvidia驱动 Unable to load the kernel module 'nvidia.ko'

[复制链接]
发表于 2009-11-18 18:16:48 | 显示全部楼层 |阅读模式

  • su -
  • 修改/etc/inittab的运行级别为3
  • sed -i '/root=UUID/s|$| rdblacklist=nouveau|' /boot/grub/grub.conf
  • sed -i '/root=UUID/s|$| vmalloc=256m|' /boot/grub/grub.conf
  • setsebool -P allow_execstack on
  • echo blacklist nouveau >> /etc/modprobe.d/blacklist.conf
  • reboot
  • 安装190.42版本的官方驱动
  • 修改/etc/inittab的运行级别为5













----------------------------------------------------------------
是了190.42的,185的,还有那个nvidia beta的rpm包都不行。

安装190.42,185的官方驱动过程中都会出错,出错信息:

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), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.





下面是nvidia-installer.log的内容
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Nov 18 18:04:40 2009
installer version: 1.0.7

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
  no cc version check     : false
  force 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)
  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              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 190.42.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.31.5-127.fc12.i686.PAE/source'
-> Kernel output path: '/lib/modules/2.6.31.5-127.fc12.i686.PAE/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.31.5-127.fc
   12.i686.PAE/source SYSOUT=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build KBUIL
   D_VERBOSE=1 -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/source SUBDIRS=/tmp/s
   elfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build \
           KBUILD_SRC=/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE \
           KBUILD_EXTMOD="/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv" -f
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/Makefile \
           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/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.tmp_versi
   ons ; rm -f /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.tmp_ve
   rsions/*
   make -f /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/scripts/Makefile.build o
   bj=/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nv.o.
   d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iinclude
   -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr/src/
   kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/linux/a
   utoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -D__K
   ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
   g -fno-common -Werror-implicit-function-declaration -Wno-format-security -fn
   o-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-
   return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=ge
   neric32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
   IGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-s
   se -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-po
   inter
   -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointe
   r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31335/NVIDIA-
   Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wf
   ormat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
   -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM
   ODULE -DNVRM -DNV_VERSION_STRING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -DMOD
   ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNA
   ME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33" -D"DEBUG_HASH2=25" -c -o /tmp/selfg
   z31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv.o /tmp/selfgz31335/NVIDIA-
   Linux-x86-190.42-pkg1/usr/src/nv/nv.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv.c:15:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv.c: In function �
   ��nv_kern_open’:
   /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv.c:2188: warning:
   initialization from incompatible pointer type
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nv_gv
   i.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iinc
   lude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr
   /src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/li
   nux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-secur
   ity -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-
   struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-m
   tune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_A
   S_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
   -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fr
   ame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement
   -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31
   335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
   Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
   har -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__
   KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\" -UDEBUG -U_DEBUG -DN
   DEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"
   -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33" -D"DEBUG_HASH2=25" -
   c -o /tmp/selfgz31335/NVIDIA-Linu
   x-x86-190.42-pkg1/usr/src/nv/nv_gvi.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.
   42-pkg1/usr/src/nv/nv_gvi.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv_gvi.c:16:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nv-vm
   .o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iincl
   ude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr/
   src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/lin
   ux/
   autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -D__
   KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
   ng -fno-common -Werror-implicit-function-declaration -Wno-format-security -f
   no-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct
   -return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=g
   eneric32 -ffreestanding -fstack-protector -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=1024 -fno-omit-frame-p
   ointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno
   -pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31335/
   NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswi
   tch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
   -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERN
   EL__ -DMODULE -DNVRM -DNV_VERSION_ST
   RING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"
   KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D
   "DEBUG_HASH=33" -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-1
   90.42-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/
   usr/src/nv/nv-vm.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-vm.c:15:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.os-ag
   p.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iinc
   lude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr
   /src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/li
   nux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
   y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
   ne=generic32 -ffreestanding -fstack-protector -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=1024 -fno-omit-fra
   me-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement
   -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31
   335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimpli
   cit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointe
   r-arith -Wno-multichar -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-q
   ual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\" -
   UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
   BUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33"
   -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/s
   rc/nv/os-agp.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/os-a
   gp.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-agp.c:25:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.os-in
   terface.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include
   -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -
   I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include inclu
   de/linux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/sr
   c/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
   ct-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se
   curity -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -fr
   eg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa
   ,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFI
   G_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tab
   les -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-tha
   n=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclarat
   ion-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-a
   sm   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimpl
   icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
   er-arith -Wno-multichar -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-
   qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\"
   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
   KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HA
   SH=33" -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg
   1/usr/src/nv/os-interface.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/us
   r/src/nv/os-interface.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-interface.c:27:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.os-re
   gistry.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include
   -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -
   I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include inclu
   de/linux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/sr
   c/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
   ct-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-se
   curity -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mre
   gparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=
   generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CF
   I=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=10
   24 -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-
   after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm  
   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith -Wno-multichar -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual
   -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\" -UDEB
   UG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUIL
   D_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33"
   -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/s
   rc/nv/os-registry.o /tmp/selfgz313
   35/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/os-registry.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/os-registry.c:16:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nv-i2
   c.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iinc
   lude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr
   /src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/li
   nux/a
   utoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -D__K
   ERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
   g -fno-common -Werror-implicit-function-declaration -Wno-format-security -fn
   o-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-
   return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=ge
   neric32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
   IGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-s
   se -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-po
   inter -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-
   pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31335/N
   VIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit
   ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
   Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNE
   L__ -DMODULE -DNVRM -DNV_VERSION_STR
   ING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"K
   BUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D
   "DEBUG_HASH=33" -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-1
   90.42-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1
   /usr/src/nv/nv-i2c.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-i2c.c:9:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nvacp
   i.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -Iinc
   lude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I/usr
   /src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include include/li
   nux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv
   -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Werror-implicit-function-declaration -Wno-format-securit
   y -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-st
   ruct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtu
   ne=generic32 -ffreestanding -fstack-protector -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=1024 -fno-omit-fra
   me-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement
   -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm   -I/tmp/selfgz31
   335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv -Wall -Wimp
   licit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
   ter-arith -Wno-multichar -Werror -fno-defer-pop -MD -Wsign-compare -Wno-cast
   -qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"190.42\"
   -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
   KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33"
   -D"DEBUG_HASH2=25" -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/s
   rc/nv/nvacpi.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nvac
   pi.c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:12,
                    from include/linux/spinlock.h:51,
                    from include/linux/seqlock.h:30,
                    from include/linux/time.h:9,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:36,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:22,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2212: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/io.h:23,
                    from include/linux/pci.h:55,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h: In fu
   nction ‘writeq’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/io.h:70: wa
   rning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/dma-mapping.h:8,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
   in arithmetic
   In file included from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/dma-mapping.h:37,
                    from include/linux/dma-mapping.h:108,
                    from include/asm-generic/pci-dma-compat.h:8,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/pci.h:130,
                    from include/linux/pci.h:1115,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:93,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
   include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
   d *’ used in arithmetic
   In file included from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nv-linux.h:120,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvacpi.c:16:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
   rithmetic
     ld -m elf_i386   -r -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/s
   rc/nv/nvidia.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv-k
   ernel.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv.o /tmp/s
   elfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv_gvi.o /tmp/selfgz31335
   /NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz31335/NVIDIA-Lin
   ux-x86-190.42-pkg1/usr/src/nv/os-agp.o /tmp/selfgz31335/NVIDIA-Linux-x86-190
   .42-pkg1/usr/src/nv/os-interface.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-
   pkg1/usr/src/nv/os-registry.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/
   usr/src/nv/nv-i2c.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv
   /nvacpi.o
   (cat /dev/null;   echo kernel//tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/
   usr/src/nv/nvidia.ko;) > /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/s
   rc/nv/modules.order
   make -f /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/scripts/Makefile.modpost
     scripts/mod/modpost  -a -i /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/Mod
   ule.symvers -I /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/Modu
   le.symvers  -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/Modu
   le.symvers -S -K /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/Module.markers
   -M /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/Module.markers -
   w  -s
   WARNING: could not find /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/sr
   c/nv/.nv-kernel.o.cmd for /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/
   src/nv/nv-kernel.o
     cc -Wp,-MD,/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/.nvidi
   a.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.4.2/include -
   Iinclude -Iinclude2 -I/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/include -I
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include -include includ
   e/linux/autoconf.h   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/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-bound
   ary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack
   -protector -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-3dn
   ow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-ca
   lls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overf
   low -fno-dwarf2-cfi-asm   -I/tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/us
   r/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
   -Wparentheses -Wpointer-arith -Wno-multichar -Werror -fno-defer-pop -MD -Wsi
   gn-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI
   ON_STRING=\"190.42\" -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUI
   LD_BASENAME=KBUILD_STR(nvidia.mod)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=33" -D"DEBUG_HASH2=25"
   -DMODULE -c -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nvid
   ia.mod.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nvidia.mod
   .c
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/percpu.h:46,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/current.h:6,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/processor.h:16,
                    from include/linux/prefetch.h:15,
                    from include/linux/list.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvidia.mod.c:2:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘set_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:64
   : warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/percpu.h:46,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/current.h:6,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/processor.h:16,
                    from include/linux/prefetch.h:15,
                    from include/linux/list.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvidia.mod.c:2:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘clear_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:10
   2: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/bitops.h:18,
                    from include/linux/kernel.h:16,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/percpu.h:46,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/current.h:6,
                    from /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/i
   nclude/asm/processor.h:16,
                    from include/linux/prefetch.h:15,
                    from include/linux/list.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvidia.mod.c:2:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h: I
   n function ‘change_bit’:
   /usr/src/kernels/2.6.31.5-127.fc12.i686.PAE/arch/x86/include/asm/bitops.h:17
   8: warning: pointer of type ‘void *’ used in arithmetic
   In file included from include/linux/list.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/
   nv/nvidia.mod.c:2:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
     ld -r -m elf_i386  --build-id -o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-
   pkg1/usr/src/nv/nvidia.ko /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/
   src/nv/nvidia.o /tmp/selfgz31335/NVIDIA-Linux-x86-190.42-pkg1/usr/src/nv/nvi
   dia.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), or NVIDIA GPU
       installed in this system is not supported by this NVIDIA Linux graphics
       driver release.
      
       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:
   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!
   integrated sync not supported
   integrated sync not supported
   [drm] nouveau 0000:01:00.0: Allocating FIFO number 2
   [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
   integrated sync not supported
   SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
   integrated sync not supported
   integrated sync not supported
   integrated sync not supported
   integrated sync not supported
   integrated sync not supported
   integrated sync not supported
   integrated sync not supported
   [drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 2
   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 www.nvidia.com.
发表于 2009-11-18 19:03:32 | 显示全部楼层
你啥显卡?型号和驱动对的上不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-18 19:49:04 | 显示全部楼层
Post by lood;2047235
你啥显卡?型号和驱动对的上不?

驱动是官方最新的NVIDIA-Linux-x86-190.42-pkg1.run
显卡是nvidia geforce 8600m GT
型号是能对上的。
回复 支持 反对

使用道具 举报

发表于 2009-11-18 20:01:09 | 显示全部楼层
xorg.conf的内容呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-18 20:06:46 | 显示全部楼层
Post by waynef;2047276
xorg.conf的内容呢?
窘,我没有找到xorg.conf这个文件。。。。
/etc/X11/xorg.conf不存在。。。。
回复 支持 反对

使用道具 举报

发表于 2009-11-18 20:11:49 | 显示全部楼层
可以试试185的?
xorg.conf默认好像没有吧,装了驱动会问是不是要生成一个。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-18 20:17:52 | 显示全部楼层
Post by xinyoo;2047279
可以试试185的?
xorg.conf默认好像没有吧,装了驱动会问是不是要生成一个。

NVIDIA-Linux-x86-185.18.36-pkg1.run也试过了
回复 支持 反对

使用道具 举报

发表于 2009-11-18 20:25:05 | 显示全部楼层
kernel-devel装了没?
回复 支持 反对

使用道具 举报

发表于 2009-11-18 20:25:19 | 显示全部楼层
官方驱动是需要的,可以生成一个。生成的xorg.conf如果没有下面一段,手工加上:

  1. Section "Files"
  2.         ModulePath   "/usr/lib/xorg/modules/drivers"
  3.         ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
  4.         ModulePath   "/usr/lib/xorg/modules"
  5. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-11-18 20:26:58 | 显示全部楼层
me too ,9600GT
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表