LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   nvidia driver install fail (https://www.linuxquestions.org/questions/linux-software-2/nvidia-driver-install-fail-86610/)

flump 08-28-2003 10:40 AM

nvidia driver install fail
 
contents of my log file
Quote:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Aug 26 20:48:00 2003

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.
-> There appears to already be a driver installed on your system (version: 1.0-
4496). As part of installing this driver (version: 1.0-4496), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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.
-> 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.
im using suse 8.2
after using YOU (online update) which upadated my kernel and install the source (aparntly)
the source is in /usr/src/linux (sym link)

uname -a
Linux linux 2.4.20-4GB-athlon #1 Wed Aug 6 18:27:52 UTC 2003 i686 unknown unknown GNU/Linux

and now i dont have 3d, so i tried to reinstlal the nvidia drivers but it fails (see above log)

thanks for any help. also wont let me install older version of kernel source from *rpm*.

Coproscefalo 08-28-2003 11:24 AM

*Download the NVidia installer for your card ( which in my case was NVIDIA-Linux-x86-1.0-4496-pkg2.run ).

*Open YaST2-> System-> Runlevel Editor. Once the module is loaded change the default runlevel from 5 to "3: Full multiuser with network." Click finish and restart your computer.

*When computer is restarted login as root and go to the directory containing the kernel sources ( /usr/src/linux ) and type "make cloneconfig && make dep."

*Once done, go to the directory containing the installer you downloaded and type "sh NVIDIA-Linux-x86-1.0-4496-pkg2.run" (change the installer name accordigly with the one you downloaded).

*The NVidia installer will start, accept the lisence aggrement and it will tell you that your kernel dont match(or something like that) and will ask if you want to build binaries for that kernel, say yes.

*If the installer built modules correctly, exit installer and type "sax," when it appears enable 3D for your card, test, save and exit SaX2.

*Now type "yast," and again go to System-> Runlevel Editor, and change the default runlevel from 3 to "5: Full multiuser with network and xdm." Again click finish and restart your computer.

Enjoy

flump 08-28-2003 07:26 PM

i still get the same error :(


All times are GMT -5. The time now is 10:51 AM.