DigitalMaster
11-19-2005, 05:30 AM
Hi, I'm having a real hard time getting these drivers installed, so far i have got to the stage of of running sh NVIDIA-Linux-x86-1.0-*DRIVERVERSION*-pkg1.run from the boot to console option when you start up as to avoid closing x server or whatever it is as i couldent figure out how to shut it down. The installer runs and tells me something about compiling my kernel, then it tries to download a precompiled kernel or something and fails and tells me i should tell it where my kernel headers are??? so basically im stabbing in the dark here anyway being a complete linux noob and struggling with the terminology.. Can you tell me where to find/download the kernel headers and step by step tell me what to do / what to write in the console to install the nvidia drivers. I've installed knoppix to my harddrive by the way.
Many Thanks
Appreciate any help
Bill
If you can it would very helpful for a 1 to 1 convo on irc
irc.quakenet.org #linux as DigitalMaster or billzZzoOo :?
Thought I would add the Nvidia Log file, Ive searched the forums for this and found someone else dating from June with the same problem, but noone answered his problem
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Nov 5 16:05:10 2005
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (Answer: 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.
-> Kernel include path: '/usr/src/linux/include'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/linux/include
'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error nv.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from nv.c:14:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
nv.c: In function `nvos_malloc_pages':
nv.c:397: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nvos_create_alloc':
nv.c:525: warning: use of cast expressions as lvalues is deprecated
nv.c:535: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_alloc_file_private':
nv.c:1173: warning: use of cast expressions as lvalues is deprecated
nv.c:1184: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_open':
nv.c:1246: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_ctl_open':
nv.c:1910: warning: use of cast expressions as lvalues is deprecated
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-agp.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-agp.c:24:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-interface
.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-interface.c:26:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
os-interface.c: In function `os_alloc_contig_pages':
os-interface.c:292: warning: use of cast expressions as lvalues is deprecate
d
os-interface.c: In function `save_wb':
os-interface.c:736: warning: use of cast expressions as lvalues is deprecate
d
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-registry.
c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-registry.c:14:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
-1 Invalid module format
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.
Many Thanks
Appreciate any help
Bill
If you can it would very helpful for a 1 to 1 convo on irc
irc.quakenet.org #linux as DigitalMaster or billzZzoOo :?
Thought I would add the Nvidia Log file, Ive searched the forums for this and found someone else dating from June with the same problem, but noone answered his problem
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Nov 5 16:05:10 2005
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (Answer: 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.
-> Kernel include path: '/usr/src/linux/include'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/linux/include
'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error nv.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from nv.c:14:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
nv.c: In function `nvos_malloc_pages':
nv.c:397: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nvos_create_alloc':
nv.c:525: warning: use of cast expressions as lvalues is deprecated
nv.c:535: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_alloc_file_private':
nv.c:1173: warning: use of cast expressions as lvalues is deprecated
nv.c:1184: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_open':
nv.c:1246: warning: use of cast expressions as lvalues is deprecated
nv.c: In function `nv_kern_ctl_open':
nv.c:1910: warning: use of cast expressions as lvalues is deprecated
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-agp.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-agp.c:24:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-interface
.c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-interface.c:26:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
os-interface.c: In function `os_alloc_contig_pages':
os-interface.c:292: warning: use of cast expressions as lvalues is deprecate
d
os-interface.c: In function `save_wb':
os-interface.c:736: warning: use of cast expressions as lvalues is deprecate
d
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMO
DULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KE
RNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5
328 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_
RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual -Wno-error os-registry.
c
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from nv-linux.h:72,
from os-registry.c:14:
/usr/src/linux/include/linux/highmem.h: In function `bh_kmap':
/usr/src/linux/include/linux/highmem.h:20: warning: pointer of type `void *'
used in arithmetic
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely
because the kernel module was built using the wrong kernel header files.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.o':
-1 Invalid module format
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.