nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   problem with driver (http://www.nvnews.net/vbulletin/showthread.php?t=17264)

clos21 08-30-03 06:31 PM

problem with driver
 
GF4 ti 4200
driver not know the one that comes with the update
suse 8.2
dont have one
amd 2100+
MSI KT4V

And this is the error that I get when I try to install the 4496 drivers from nvidia's site



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.
ERROR: Unable to find the kernel header files for the currently running kernel.
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.


OK WHAT DO I DO NEXT TO FIX THIS

jshtan77 08-30-03 07:01 PM

You have to install your kernel-source package in order for the drivers to be able to compile. It's either in the redhat CD or you can download the package from sourceforge for your kernel version.

install that and then try the nvdia installer again it should get further then that but i never got it work yet if i recompiles the kernel.

clos21 08-31-03 12:12 PM

OK BUT
 
Im a n00b and I dont understand what to do. Or how to do it. Is there some kinda program that does that.

clos21 08-31-03 07:25 PM

Ok I installed the source pkg and it still wount install.........................This sucks

Moled 08-31-03 08:29 PM

well whats the error now?

clos21 08-31-03 08:46 PM

This is the log file


Using: nvidia-installer ncurses user interface
-> License accepted.
-> An NVIDIA_kernel rpm appears to already be installed on your system. As par
t of installing the new driver, this NVIDIA_kernel rpm will be uninstalled.
Are you sure you want to continue? ('no' will abort installation) (Answer: Y
es)
-> Removed NVIDIA_kernel.
-> 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.20-4GB-athlon/build/include'
-> 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.20-4G
B-athlon/build/include'...

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

[1;31m*** Failed cc sanity check. Bailing out! ***
[0mmake: *** [gcc-check] Error 1
-> 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.

jshtan77 09-01-03 02:41 AM

You are probably need to install the correct kernel source for your kernel version.

use:
uname -a
or:
uname -l

to find out what version your kernel is and download the correct source rpm and install it.

Hope this helps.

clos21 09-01-03 07:41 AM

OK where do I get it from...............if you know please send link.

this is what I get when I do uname -a.....
Linux linux 2.4.20-4GB-athlon #1 Wed Aug 6 18:27:52 UTC 2003 i686 unknown unknown GNU/Linux

when I do uname -i ............I get unknown...
what does that mean

g.schwann 09-01-03 08:54 AM

use the following:
export IGNORE_CC_MISMATCH=yes
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run

This should work. Good luck.

ciao

clos21 09-01-03 08:56 AM

do I do that out of X

g.schwann 09-01-03 09:18 AM

Quote:

Originally posted by clos21
do I do that out of X
Yes.

press CTRL+ALT+F1
Then log in as root and type:
cd /where/your/driver/is/downloaded
init 3
export IGNORE_CC_MISMATCH=yes
sh ./NVIDIA-Linux-x86-1.0-4496-pkg2.run
sax2 (enable 3D support)
init 5

This worked for me (except my GL-performance is very poor :( )

ciao

clos21 09-01-03 09:55 AM

Same garbage I am having the hardest time with this install..................Is there another way I can install this driver without having to use the .RUN mess.


All times are GMT -5. The time now is 03:20 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.