LQ Newbie
Registered: Mar 2006
Posts: 1
Rep:
|
Nvidia driver wont install problem with kernel interface
hi guys im pretty new to linux i have installed fedora 5 new install and recompiled and installed the kernel with no issues to 2.6.16 and im getting an error wile installing the Nvidia drivers. Says it cant find a precompiled kernel, it then tries downloading one when its done downloading it gives me an error here is my log file for the install. thx guys in advanced
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar 23 19:02:18 2006
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror :
RPM file list : (not specified)
Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16/source'
-> Kernel output path: '/lib/modules/2.6.16/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16/source S
YSOUT=/lib/modules/2.6.16/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.16/source SUBDIRS=/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.16/build \
KBUILD_SRC=/usr/src/linux-2.6.16 \
KBUILD_EXTMOD="/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -f
/usr/src/linux-2.6.16/Makefile modules
mkdir -p /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/src/linux-2.6.16/scripts/Makefile.build obj=/tmp/selfgz2624/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2624/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16/include -include include/l
inux/autoconf.h -I/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
-Wall -
Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -mpreferred-sta
ck-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/linux-2.6.1
6/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaratio
n-after-statement -Wno-pointer-sign -I/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-
8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar
-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-com
mon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__K
ERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR
_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRID
GE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#
s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv.o /t
mp/selfgz2624/NVIDIA-Linux-x86-1.0-
8178-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: warning:
initialization from incompatible pointer type
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_get_agp_device_by_class’:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
implicit declaration of function ‘pci_find_class’
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: implicit declaration of function ‘pm_register’
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: warning
: implicit declaration of function ‘pm_unregister’
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_mmap’:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: warning
: implicit declaration of function ‘remap_page_range’
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
‘nvos_count_devices’:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
: assignment makes pointer from integer without a cast
cc -Wp,-MD,/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16/include -include includ
e/linux/autoconf.h -I/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -f
no-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -mpr
eferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/
linux-2.6.16/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -
Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz2624/NVIDIA-Lin
ux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
-O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_
NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MUL
TIPLE_BRIDG
E_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s
" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia
)" -c -o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv-v
m.o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__
KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16/include -include inclu
de/linux/autoconf.h -I/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/sr
c/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -
fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float -mp
referred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src
/linux
-2.6.16/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdecl
aration-after-statement -Wno-pointer-sign -I/tmp/selfgz2624/NVIDIA-Linux-x8
6-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE
_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR
(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR
(nvidia)" -c -o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.t
mp_os-agp.o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-agp
.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.0/includ
e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.16/include -include
include/linux/autoconf.h -I/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/u
sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
ing -fno-common -ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-floa
t -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3 -I/us
r/src/linux-2.6.16/include/asm-i386/mach-default -Iinclude/asm-i386/mach-def
ault -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz2624/NVID
IA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitc
h -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
error -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VER
SION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_
PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUIL
D_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-inte
rface.o /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interfa
ce.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In
function ‘os_set_mlock_capability’:
/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
5: error: ‘struct task_struct’ has no member named ‘rlim’
make[4]: *** [/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
nterface.o] Error 1
make[3]: *** [_module_/tmp/selfgz2624/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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
|