LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help installing NVIDIA driver (http://www.linuxquestions.org/questions/linux-newbie-8/need-help-installing-nvidia-driver-168300/)

kenoichi 04-09-2004 05:31 PM

need help installing NVIDIA driver
 
im getting an error when i install.. im sorta a linux newbie, can someone help me out?

im running fedora core 1, and my video card is a geforce4 ti4600

heres the log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Apr 9 17:58:22 2004

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: '/lib/modules/2.4.22-1.2174.nptl/build/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=/lib/modules/2.4.22-1.
2174.nptl/build/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/lib/modules/2.4.22-1.2174.nptl/build/include -Wno-cast-qual
-Wno-error nv.c
In file included from /lib/modules/2.4.22-1.2174.nptl/build/include/linux/vm
alloc.h:8,
from nv-linux.h:72,
from nv.c:14:
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h: In function `
bh_kmap':
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h:20: warning: p
ointer 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/lib/modules/2.4.22-1.2174.nptl/build/include -Wno-cast-qual
-Wno-error os-agp.c
In file included from /lib/modules/2.4.22-1.2174.nptl/build/include/linux/vm
alloc.h:8,
from nv-linux.h:72,
from os-agp.c:24:
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h: In function `
bh_kmap':
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h:20: warning: p
ointer 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/lib/modules/2.4.22-1.2174.nptl/build/include -Wno-cast-qual
-Wno-error os-interface.c
In file included from /lib/modules/2.4.22-1.2174.nptl/build/include/linux/vm
alloc.h:8,
from nv-linux.h:72,
from os-interface.c:26:
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h: In function `
bh_kmap':
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h:20: warning: p
ointer 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/lib/modules/2.4.22-1.2174.nptl/build/include -Wno-cast-qual
-Wno-error os-regist
ry.c
In file included from /lib/modules/2.4.22-1.2174.nptl/build/include/linux/vm
alloc.h:8,
from nv-linux.h:72,
from os-registry.c:14:
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h: In function `
bh_kmap':
/lib/modules/2.4.22-1.2174.nptl/build/include/linux/highmem.h:20: warning: p
ointer 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: WARNING: /usr/local/sbin/insmod.old: I am not the
old version!
insmod: error inserting './usr/src/nv/nvidia.o': -1 Unknown symbol in
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.

--------------------------------
any ideas? please tell me.. i know i have the correct linux source file installed, maybe it's a linux header problem, but i dont know how to fix that.. someone help me please. thanks

Joey.Dale 04-09-2004 08:38 PM

Are you in X if yes, you must exit X before installing the drivers.

-Joey

kenoichi 04-09-2004 08:49 PM

no im not in x when i do it..it has something to do with the kernel header files

strikeforce 04-09-2004 09:15 PM

Are you in init 3????? If so my understanding is that it is a loadable module already. Try loading it as a module your self. using the insmod command and that module name. If that doesn't work post what it says there. Yes I saw it tried to do it but if you manually try to do it maybe the result will spit out something different.

Type: init 3
if your not.

Btw I have the same OS as you and the header files are in the system.

/usr/src/linux-2.4******** under there. I just don't know specifically. If you still.

kenoichi 04-09-2004 09:22 PM

yes. im in init 3.... uhh, could you be a bit more specific on what i need to do? <-- newbie

strikeforce 04-09-2004 09:28 PM

The command is.

$insmod (module.o)

Try that and tell me what happens. If you are not root jump into root using the following command.

$su -

If that works you will have to at that to the rc.sysinit file.

kenoichi 04-09-2004 10:02 PM

[root@d14-69-73-190 root]# insmod (module.o)
-bash: syntax error near unexpected token `module.o'
[root@d14-69-73-190 root]#


whats that mean? heh

vi0lat0r 04-09-2004 10:25 PM

Read this:

http://www.linuxquestions.org/questi...633#post850633

strikeforce 04-10-2004 02:16 AM

Good call with that link I don't know whether its setup or not but that post that this is linked to should be stickied if there is a way.


All times are GMT -5. The time now is 07:18 AM.