nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   ERROR: Unable to determine the NVIDIA kernel module filename. (http://www.nvnews.net/vbulletin/showthread.php?t=24738)

Friedrich 02-10-04 04:27 PM

ERROR: Unable to determine the NVIDIA kernel module filename.
 
Hello everyone,
for days I'm trying to install the NVIDIA driver with the help of NVIDIA-Linux-x86-1.0-5336-pkg1.run

I have
slackware 9
kernel 2.4.22

What I do is shutting down the X Server, su, and sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
That is my /var/log/nvidia-installer.log that is created during execution of this script
Quote:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Feb 10 22:50:29 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 source path : /home/freddy/kernel-install/linux-2.4.22
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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/home/freddy/kernel-install/linux-2.4.22' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/home/freddy/kernel-install/linux-2.4.22'
-> Performing cc_version_check with CC="cc".
ERROR: Unable to determine the NVIDIA kernel module filename.

As you can see the installer fails to install.

Actually I do not really understand the Error message but anyway i thought I would have something to do with my kernel source.

I extracted it from CD on my HDD (as you can see in this log too) and ran make mrproper, but actually this did not change anything.

I hope someone of you knows what to do , because i have no idea.

Thank you very much,
Friedrich

BarkingBonefish 02-10-04 05:54 PM

had similar problem
 
While I have not gotten the drivers to work as of yet (attempting a virtual machine install with a Go card on a Dell laptop), I did get past the compile stage.

I followed up the sh NVIDIA...... command with "--kernel-name=" and my specific kernel after that.

Like I said, using this I got an "install success" per the installer log, although I still have not gotten the drivers to load with my setup.

Hope this helps.

BB

Friedrich 02-11-04 07:22 AM

how do I know what to put in for the name:
--kernel-name=*what comes here?*

BarkingBonefish 02-11-04 08:18 AM

I used my kernel name from 'uname -r', a command I got off another post on this forum. Mine was 2.4.21-4.EL.

Look in /lib/modules/ and there should be a directory with your kernel source in it, named after said kernel source. If not, get the kernel source installed (I used Red Hat 9, so there was a kernel source RPM for this - you may want to ask the forum about how to do this if you are using some other version).

I got the kernel name thing from another post as well. You may want to search around a bit, as I have lost the link.

Hope that helps.

Friedrich 02-12-04 01:21 PM

I attached --kernel-name=2.4.22 now but that did not change the error

BarkingBonefish 02-12-04 02:07 PM

I am lost there. You may try running the thing again with --help at the end. This will print out a list of all the available options.

Sorry I could not be of more help there.

Friedrich 02-12-04 02:28 PM

Quote:

Originally posted by BarkingBonefish
I am lost there. You may try running the thing again with --help at the end. This will print out a list of all the available options.

Sorry I could not be of more help there.

already did that......

well it is OK thanks anyway, maybe someone else has got a tipp for me!

barchibald 02-13-04 05:31 PM

Update your linux source files
 
Hey:

I had the same problems...updating the kernal-source fixed the problems and install happened. Made me happy....

- Ben Archibald

matthewbrett 02-14-04 12:37 AM

Try:
 
Hi,

I had the same problem. I solved it (maybe not correctly) by adding

export SYSSRC=/usr/src/linux

before running the installer command line. Also, the 4496 installer ran without problems, so you might want to try that instead.

Hope that helps.

Matthew

Friedrich 02-14-04 07:49 AM

by adding

export SYSSRC=/usr/src/linux

where did you add this?

Friedrich 02-14-04 12:32 PM

Please do not stone me, but I worked it out and it was just too easy: instead of extracting and installing the source from slackware9-CD3 I had to install a package from the CD1 and everything went just fine with the latest installer!

dev-h 02-14-04 04:16 PM

what package mate?


All times are GMT -5. The time now is 05:12 PM.

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