cuda 3.1 on ubuntu 10.04 with kernel 2.6.32-22

Hi,

I’m having problems with installing cuda 3.1 on Ubuntu 10.04. I’ve tried following the instructions in [1]. But I get the error below (I’ve also attached the whole nvidia-installer.log to this post):
[indent]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.[/indent]

Here are the steps I’ve done so far:
[indent] - sudo apt-get purge nvidia-*
- added the following to blacklist.conf:
[indent] blacklist vga16fb
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidiafb[/indent]
- rebooted into recovery mode
- telinit 3
- sudo sh devdriver_3.1_linux_64_256.35.run[/indent]
More Info:
(1) I’m using gcc 4.4.3
(2) Here’s the output of “uname -a”:
Linux paulrivera-laptop 2.6.32-22-generic #36davewalker1 SMP Thu Jun 17 12:35:22 BST 2010 x86_64 GNU/Linux
(3) Here’s the output of “lshw -C display”:
[indent] *-display
description: VGA compatible controller
product: nVidia Corporation
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a2
width: 64 bits
clock: 33MHz[/indent]
(4) Here’s my xorg.conf:
[indent]Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
EndSection[/indent]
(5) I’m using macbook pro 7,1. Using this kernel version is important because it contains the fix for macbook pro 7,1. Without it, I cannot even install ubuntu.

Your help would be much appreciated!

Links:
[1] - [url=“[ubuntu] Cannot load Nvidia driver on Ubuntu 10.04”]http://ubuntu-ky.ubuntuforums.org/showpost...amp;postcount=5[/url]

File Attachment doesn’t seem to be working. Here’s the whole nvidia-installer.log:

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Jul 2 10:36:28 2010
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)
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 : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
→ License accepted.
→ Installing NVIDIA driver version 195.36.15.
→ Performing CC sanity check with CC=“cc”.
→ Performing CC version check with CC=“cc”.
→ Kernel source path: ‘/lib/modules/2.6.32-22-generic/build’
→ Kernel output path: ‘/lib/modules/2.6.32-22-generic/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.32-22-gener
ic/build SYSOUT=/lib/modules/2.6.32-22-generic/build’…
NVIDIA: calling KBUILD…
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
versions ; rm -f /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.3
6.15-pkg2/usr/src/nv
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -Iin
clude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -include
include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
it-functio
n-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64
-mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-o
utgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAM
E=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mm
x -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno
-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1487/
NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type
-Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=
“195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s” -D"KBU
ILD_BASENAME=KBUILD_STR(nv)” -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
tmp/selfgz1487/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195
.36.15-pkg2/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv_gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit

Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
th -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -
Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR
(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR
(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_nv_gvi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/nv_gvi.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_gvi.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -
Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -inclu
de include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-imp
licit-function-declaration -Wno-format-security -fno-delete-null-pointer-che
cks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
NFIG_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-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-state
ment -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-s
tack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defe
r-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
VRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D
“KBUILD_STR(s)=#s” -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=
KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nv-vm.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-agp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werr
or -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast
-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.1
5" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASEN
AME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-agp.o /tmp/s
elfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inc
lude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGN
AL_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-point
er -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointe
r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/self
gz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wretu
rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
no-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign
-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION
STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#
s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_ST
R(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv/.tmp_os-interface.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/os-interface.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/incl
ude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit
-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimpl
icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
er-arith -Wno-multichar -Werror -mcmodel=kerne
l -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DE
BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os
registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NV
IDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-registry.o /tmp/selfgz14
87/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS
CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchron
ous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than
=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-
after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -
fconserve-stack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpar
entheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zon
e -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -
DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBU
ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/nv-i2c.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD
-Wsign-co
mpare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_ST
RING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)
" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
nvacpi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacp
i.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o”;
ld -m elf_x86_64 -r -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/nvidia.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-kernel.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/s
rc/nv/nv.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_
gvi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o
/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o /tmp/
selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o /tmp
/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o /tmp
/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o /tmp/se
lfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o
(cat /dev/null; echo kernel//tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko;) > /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-headers-2.6.32-22-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.32-22-generic/Modu
le.symvers -I /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/
Module.symvers -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/sr
c/nv/Module.symvers -S -w -s
WARNING: could not find /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/.nv-kernel.o.cmd for /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inclu
de -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -
include include/linux/autoconf.h -Iu
buntu/include -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 -O2 -m64 -mtune=generic -mno
-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstac
k-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-3d
now -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-c
alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflo
w -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmo
del=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -W
no-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDE
BUG -U_DEBUG -DNDEBUG -D"KBUILD_ST
R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -DMODULE -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nvidia.mod.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.mod.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/current.h:5,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvidia.mod.c:1:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-22-generic/scripts/mo
dule-common.lds --build-id -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nvidia.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-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), 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:
[ 22.576821] type=1505 audit(1278030

File Attachment doesn’t seem to be working. Here’s the whole nvidia-installer.log:

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Jul 2 10:36:28 2010
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)
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 : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
→ License accepted.
→ Installing NVIDIA driver version 195.36.15.
→ Performing CC sanity check with CC=“cc”.
→ Performing CC version check with CC=“cc”.
→ Kernel source path: ‘/lib/modules/2.6.32-22-generic/build’
→ Kernel output path: ‘/lib/modules/2.6.32-22-generic/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.32-22-gener
ic/build SYSOUT=/lib/modules/2.6.32-22-generic/build’…
NVIDIA: calling KBUILD…
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
versions ; rm -f /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.3
6.15-pkg2/usr/src/nv
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -Iin
clude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -include
include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
it-functio
n-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64
-mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-o
utgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAM
E=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mm
x -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno
-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1487/
NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type
-Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=
“195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s” -D"KBU
ILD_BASENAME=KBUILD_STR(nv)” -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /
tmp/selfgz1487/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195
.36.15-pkg2/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv_gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit

Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
th -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -
Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR
(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MODNAME=KBUILD_STR
(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/.tmp_nv_gvi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/
nv/nv_gvi.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv_gvi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_gvi.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include -
Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -inclu
de include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Ws
trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-imp
licit-function-declaration -Wno-format-security -fno-delete-null-pointer-che
cks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
NFIG_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-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-state
ment -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-s
tack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -
Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W
pointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defe
r-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DN
VRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D
“KBUILD_STR(s)=#s” -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=
KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nv-vm.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-vm.c:14:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-agp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werr
or -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast
-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.1
5" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASEN
AME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-agp.o /tmp/s
elfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-agp.c:24:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inc
lude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGN
AL_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-point
er -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointe
r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/self
gz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wretu
rn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
no-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wsign
-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION
STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#
s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_ST
R(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv/.tmp_os-interface.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/os-interface.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-interface.c:26:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/incl
ude -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werr
or-implicit-function-declaration -Wno-format-security -fno-delete-null-point
er-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG
AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit
-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
-I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimpl
icit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoint
er-arith -Wno-multichar -Werror -mcmodel=kerne
l -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D__KERNEL
_ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DE
BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os
registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NV
IDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_os-registry.o /tmp/selfgz14
87/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/os-registry.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL
_ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS
CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchron
ous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than
=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-
after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -
fconserve-stack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src
/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpar
entheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zon
e -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL
_ -
DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBU
ILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-1
95.36.15-pkg2/usr/src/nv/nv-i2c.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-i2c.c:8:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o”;
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
-Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -incl
ude include/linux/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
ecks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
-maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fram
e-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno
-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/t
mp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD
-Wsign-co
mpare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_ST
RING="195.36.15" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)
" -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.tmp_
nvacpi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacp
i.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:27,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2282: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/linux/dma-mapping.h:7,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/dma-mapping.h:42,
from include/linux/dma-mapping.h:103,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/pci.h:128,
from include/linux/pci.h:1126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:95,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:126,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.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:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/mtrr.h:173,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-linux.h:161,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvacpi.c:15:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h: In f
unction ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
set -e ; perl /usr/src/linux-headers-2.6.32-22-generic/scripts/recordmcoun
t.pl “x86_64” “64” “objdump” “objcopy” “cc” “ld” “nm” “” “” “1” “/tmp/selfgz
1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o”;
ld -m elf_x86_64 -r -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg
2/usr/src/nv/nvidia.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nv-kernel.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/s
rc/nv/nv.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv_
gvi.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-vm.o
/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-agp.o /tmp/
selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-interface.o /tmp
/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/os-registry.o /tmp
/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nv-i2c.o /tmp/se
lfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/nvacpi.o
(cat /dev/null; echo kernel//tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko;) > /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-headers-2.6.32-22-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.32-22-generic/Modu
le.symvers -I /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/
Module.symvers -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/sr
c/nv/Module.symvers -S -w -s
WARNING: could not find /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/u
sr/src/nv/.nv-kernel.o.cmd for /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr/src/nv/.
nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/inclu
de -Iinclude -I/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include -
include include/linux/autoconf.h -Iu
buntu/include -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 -O2 -m64 -mtune=generic -mno
-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstac
k-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-3d
now -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-c
alls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflo
w -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1487/NVIDIA-Linux-x86_64
-195.36.15-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmo
del=kernel -mno-red-zone -fno-defer-pop -MD -Wsign-compare -Wno-cast-qual -W
no-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="195.36.15" -UDE
BUG -U_DEBUG -DNDEBUG -D"KBUILD_ST
R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -DMODULE -c -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15
-pkg2/usr/src/nv/nvidia.mod.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.mod.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/current.h:5,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/incl
ude/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2/usr
/src/nv/nvidia.mod.c:1:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/bitops.h:178:
warning: pointer of type ‘void *’ used in arithmetic
ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-22-generic/scripts/mo
dule-common.lds --build-id -o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-
pkg2/usr/src/nv/nvidia.ko /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-pkg2
/usr/src/nv/nvidia.o /tmp/selfgz1487/NVIDIA-Linux-x86_64-195.36.15-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), 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:
[ 22.576821] type=1505 audit(1278030

sudo apt-get --purge remove nvidia-*
sudo apt-get --purge remove xserver-xorg-video-nouveau

sudo apt-get --purge remove nvidia-*
sudo apt-get --purge remove xserver-xorg-video-nouveau

Hi Cho,

I’ve run the commands but still get the same error message. Why is it that if I run lsmod, I can still see nouveau and vga16fb even after running the commands above and adding them in blacklist.conf? If I try to run modprobe -r nouveau, it says: Fatal: nouveau is in use! I’ve tried this in both run level 1 and 3 with no success. Any other ideas?

Hi Cho,

I’ve run the commands but still get the same error message. Why is it that if I run lsmod, I can still see nouveau and vga16fb even after running the commands above and adding them in blacklist.conf? If I try to run modprobe -r nouveau, it says: Fatal: nouveau is in use! I’ve tried this in both run level 1 and 3 with no success. Any other ideas?

my blacklist:

sudo gedit /etc/modprobe.d/blacklist.conf

blacklist vga16fb

blacklist nouveau

blacklist rivafb

blacklist nvidiafb

blacklist rivatv

<-keep this last blank line

my blacklist:

sudo gedit /etc/modprobe.d/blacklist.conf

blacklist vga16fb

blacklist nouveau

blacklist rivafb

blacklist nvidiafb

blacklist rivatv

<-keep this last blank line

I tried adding the blank line. I’m still getting the same error message when installing the developer driver. Here’s my blacklist.conf:

nvidia blacklist for cuda

blacklist vga16fb

blacklist nouveau

blacklist lbm-nouveau

blacklist nvidia-173

blacklist nvidia-96

blacklist nvidia-current

blacklist nvidiafb

Yes, there’s a blank line by the end. I even tried two blank lines. Any other ideas? Why is it that I can’t stop nouveau from running?

I tried adding the blank line. I’m still getting the same error message when installing the developer driver. Here’s my blacklist.conf:

nvidia blacklist for cuda

blacklist vga16fb

blacklist nouveau

blacklist lbm-nouveau

blacklist nvidia-173

blacklist nvidia-96

blacklist nvidia-current

blacklist nvidiafb

Yes, there’s a blank line by the end. I even tried two blank lines. Any other ideas? Why is it that I can’t stop nouveau from running?

try this:

boot in failsafe GUI mode, then:

sudo /etc/init.d/gdm stop

sudo sh ./NVIDIA*.run --uninstall

sudo sh ./NVIDIA*.run

sudo /etc/init.d/gdm start

I ran the commands above. Running “sudo sh ./devdriver_3.1_linux_64_256.35.run --uninstall” tells me “There is no NVIDIA driver currently installed.”. When I run “sudo sh ./devdriver_3.1_linux_64_256.35.run”, I still get the same error message. External Media

Thanks for the response Cho. Any other ideas?

I have NOT tried this, but you might go brute force… rename the nouveux module so it CAN’T be loaded so early.

The file will be something like:
/lib/modules/2.6.32-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko

Try renaming that .ko file and rebooting. Again, untried, but I bet Linux can’t keep loading it if you’ve hidden it first.

Again I haven’t tried this myself, so you have been warned if this breaks your boot or whatever.

Hey,

I’ve done the steps above but still get the same error. Anyway, I’ve reinstalled Ubuntu and used the default nvidia driver which was version 195.36.15. I did not install the cuda developer drivers anymore. I proceeded with installing the toolkit and cuda sdk which went fine. But when I tried to compile the examples, I get /usr/bin/ld: cannot find -lGL. Should I install Mesa for this?

Alright, I ignored the error on lGL not found and compiled some of my own examples. Compilation goes fine. But when I run them, I get:

ERROR: CUDA driver version is insufficient for CUDA runtime version.

Any ideas why I’m getting this or how to fix this?

You will need to downgrade to the CUDA 3.0 toolkit if you are going to use a 195 series driver. The 3.1 requires a 256 series driver to work.

I’ve downgraded to CUDA 3.0. Finally got everything working! Thanks everyone for your help! :)