Nvidia drivers fail to build on Linux 2.6.29-git8
Nvidia drivers will not build on the 2.6.29-git8 prepatch.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 31 15:02:45 2009
installer version: 1.0.7

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

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 180.44.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.29-git8-custom/source'
-> Kernel output path: '/lib/modules/2.6.29-git8-custom/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.29-git8-cus
tom/source SYSOUT=/lib/modules/2.6.29-git8-custom/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.29-git8-custom/build KBUILD_VERBOS
E=1 -C /lib/modules/2.6.29-git8-custom/source SUBDIRS=/tmp/selfgz3680/NVIDIA
-Linux-x86_64-180.44-pkg2/usr/src/nv modules
make -C /lib/modules/2.6.29-git8-custom/build \
KBUILD_SRC=/usr/src/linux-2.6.29 \
KBUILD_EXTMOD="/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv"
-f /usr/src/linux-2.6.29/Makefile \
modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tmp_ver
sions ; rm -f /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tm
p_versions/*
make -f /usr/src/linux-2.6.29/scripts/Makefile.build obj=/tmp/selfgz3680/NVI
DIA-Linux-x86_64-180.44-pkg2/usr/src/nv
cc -Wp,-MD,/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -Iinclud
e -Iinclude2 -I/usr/src/linux-2.6.29/include -I/usr/src/linux-2.6.29/arch/x8
6/include -include include/linux/autoconf.h -I/tmp/selfgz3680/NVIDIA-Linux
-x86_64-180.44-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototype
s -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-
declaration -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -fstack-protector -fstack-protector-all -pip
e -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-s
se2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-point
er-sign -fwrapv -I/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone
-MD -Wsign
-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION
_STRING=\"180.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -
D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tmp_nv.o /tmp
/selfgz3680/NVIDIA-Linux-x86_64-180.44-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:52,
from include/linux/utsname.h:35,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv.c:14:


/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h:64: warning: pointer of
type ‘void *’ used in arithmetic
/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h: In function ‘clear_bi
t’:
/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h:102: warning: pointer of
type ‘void *’ used in arithmetic
/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h: In function ‘change_b
it’:
/usr/src/linux-2.6.29/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/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2107: 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-2.6.29/arch/x86/include/asm/pci.h:98,
from include/linux/pci.h:1058,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv-linux.h:86,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/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 /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv-linux.h:113,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-2.6.29/arch/x86/include/asm/mtrr.h:167,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv-linux.h:142,
from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv/nv.c:14:
/usr/src/linux-2.6.29/arch/x86/include/asm/compat.h: In function ‘compat_a
lloc_user_space’:
/usr/src/linux-2.6.29/arch/x86/include/asm/compat.h:210: warning: pointer of
type ‘void *’ used in arithmetic
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c: In function
‘nvos_proc_create’:
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:596: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:597: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:598: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:618: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:632: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:643: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:653: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:663: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:674: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:681: error:
‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c: In function
‘nvos_proc_add_warning_file’:
/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:708: error:
‘struct proc_dir_entry’ has no member named ‘owner’
make[4]: *** [/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.
o] Error 1
make[3]: *** [_module_/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr
c/nv] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Nvidia drivers will not build on the 2.6.29-git8 prepatch.



nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Tue Mar 31 15:02:45 2009

installer version: 1.0.7



option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

precompiled interfaces : true

no ncurses color : false

query latest version : false

OpenGL header files : true

no questions : false

silent : false

no recursion : false

no backup : false

kernel module only : false

sanity : false

add this kernel : false

no runlevel check : false

no network : false

no ABI note : false

no RPMs : false

no kernel module : false

force SELinux : default

no X server check : false

no cc version check : false

force tls : (not specified)

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 180.44.

-> No precompiled kernel interface was found to match your kernel; would you li

ke the installer to attempt to download a kernel interface for your kernel f

rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)

-> No precompiled kernel interface was found to match your kernel; this means

that the installer will need to compile a new kernel interface.

-> Performing CC sanity check with CC="cc".

-> Performing CC version check with CC="cc".

-> Kernel source path: '/lib/modules/2.6.29-git8-custom/source'

-> Kernel output path: '/lib/modules/2.6.29-git8-custom/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.29-git8-cus

tom/source SYSOUT=/lib/modules/2.6.29-git8-custom/build'...

NVIDIA: calling KBUILD...

make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.29-git8-custom/build KBUILD_VERBOS

E=1 -C /lib/modules/2.6.29-git8-custom/source SUBDIRS=/tmp/selfgz3680/NVIDIA

-Linux-x86_64-180.44-pkg2/usr/src/nv modules

make -C /lib/modules/2.6.29-git8-custom/build \

KBUILD_SRC=/usr/src/linux-2.6.29 \

KBUILD_EXTMOD="/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv"

-f /usr/src/linux-2.6.29/Makefile \

modules

test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \

echo; \

echo " ERROR: Kernel configuration is invalid."; \

echo " include/linux/autoconf.h or include/config/auto.conf are mis

sing."; \

echo " Run 'make oldconfig && make prepare' on kernel src to fix it

."; \

echo; \

/bin/false)

mkdir -p /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tmp_ver

sions ; rm -f /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tm

p_versions/*

make -f /usr/src/linux-2.6.29/scripts/Makefile.build obj=/tmp/selfgz3680/NVI

DIA-Linux-x86_64-180.44-pkg2/usr/src/nv

cc -Wp,-MD,/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.nv.

o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.3/include -Iinclud

e -Iinclude2 -I/usr/src/linux-2.6.29/include -I/usr/src/linux-2.6.29/arch/x8

6/include -include include/linux/autoconf.h -I/tmp/selfgz3680/NVIDIA-Linux

-x86_64-180.44-pkg2/usr/src/nv -D__KERNEL__ -Wall -Wundef -Wstrict-prototype

s -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-

declaration -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-

time -maccumulate-outgoing-args -fstack-protector -fstack-protector-all -pip

e -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-s

se2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-point

er-sign -fwrapv -I/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/

nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare

ntheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone

-MD -Wsign

-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION

_STRING=\"180.44\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -

D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c

-o /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/.tmp_nv.o /tmp

/selfgz3680/NVIDIA-Linux-x86_64-180.44-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:52,

from include/linux/utsname.h:35,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv-linux.h:19,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv.c:14:





/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h:64: warning: pointer of

type ‘void *’ used in arithmetic

/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h: In function ‘clear_bi

t’:

/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h:102: warning: pointer of

type ‘void *’ used in arithmetic

/usr/src/linux-2.6.29/arch/x86/include/asm/bitops.h: In function ‘change_b

it’:

/usr/src/linux-2.6.29/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/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv-linux.h:19,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv.c:14:

include/linux/sched.h: In function ‘object_is_on_stack’:

include/linux/sched.h:2107: 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-2.6.29/arch/x86/include/asm/pci.h:98,

from include/linux/pci.h:1058,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv-linux.h:86,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/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 /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv-linux.h:113,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv.c:14:

include/linux/highmem.h: In function ‘zero_user_segments’:

include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in a

rithmetic

include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in a

rithmetic

In file included from include/linux/compat.h:14,

from /usr/src/linux-2.6.29/arch/x86/include/asm/mtrr.h:167,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv-linux.h:142,

from /tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv/nv.c:14:

/usr/src/linux-2.6.29/arch/x86/include/asm/compat.h: In function ‘compat_a

lloc_user_space’:

/usr/src/linux-2.6.29/arch/x86/include/asm/compat.h:210: warning: pointer of

type ‘void *’ used in arithmetic

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c: In function

‘nvos_proc_create’:

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:596: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:597: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:598: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:618: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:632: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:643: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:653: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:663: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:674: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:681: error:

‘struct proc_dir_entry’ has no member named ‘owner’

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c: In function

‘nvos_proc_add_warning_file’:

/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.c:708: error:

‘struct proc_dir_entry’ has no member named ‘owner’

make[4]: *** [/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/src/nv/nv.

o] Error 1

make[3]: *** [_module_/tmp/selfgz3680/NVIDIA-Linux-x86_64-180.44-pkg2/usr/sr

c/nv] Error 2

make[2]: *** [sub-make] Error 2

NVIDIA: left KBUILD.

nvidia.ko failed to build!

make[1]: *** [module] Error 1

make: *** [module] Error 2

-> Error.

ERROR: Unable to build the NVIDIA kernel module.

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

#1
Posted 03/31/2009 07:50 PM   
OK, if anyone runs into this problem.

Run:

sh NVIDIA-Linux-x86_64-180.44-pkg2.run -x

That will dump the driver into a directory like:

NVIDIA-Linux-x86_64-180.44-pkg2

go to /usr/src/nv subdirectory inside NVIDIA-Linux-x86_64-180.44-pkg2

Open nv.c in a text editor such as Gedit, locate all instances of "owner" and commend the line out:

Example:

.owner = THIS_MODULE,

becomes

/* .owner = THIS_MODULE, */

Save the file. Install kernel 2.6.29-git8, reboot.

Uninstall your driver like you normally would to make sure none of it is there from your last install.

Navigate to the NVIDIA-Linux-x86_64-180.44-pkg2 wherever you put it:

Become root (su) or prefix this stuff with sudo (Ubuntu)

chmod +x nvidia-installer
./nvidia-installer

It should now install.
OK, if anyone runs into this problem.



Run:



sh NVIDIA-Linux-x86_64-180.44-pkg2.run -x



That will dump the driver into a directory like:



NVIDIA-Linux-x86_64-180.44-pkg2



go to /usr/src/nv subdirectory inside NVIDIA-Linux-x86_64-180.44-pkg2



Open nv.c in a text editor such as Gedit, locate all instances of "owner" and commend the line out:



Example:



.owner = THIS_MODULE,



becomes



/* .owner = THIS_MODULE, */



Save the file. Install kernel 2.6.29-git8, reboot.



Uninstall your driver like you normally would to make sure none of it is there from your last install.



Navigate to the NVIDIA-Linux-x86_64-180.44-pkg2 wherever you put it:



Become root (su) or prefix this stuff with sudo (Ubuntu)



chmod +x nvidia-installer

./nvidia-installer



It should now install.

#2
Posted 04/01/2009 08:59 PM   
Scroll To Top