ERROR: Unable to determine the NVIDIA kernel module filename.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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 : f*p://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 (*tp://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 also attached --kernel-name=2.4.22 (uname -r gives me 2.4.22) now but that did not change the error
I hope someone of you knows what to do, because I have no idea.
-> 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 (*tp://download.nvidia.com)? (Answer: No)
You should have answered Yes to this question, not no. That is your problem.
If you're using the kernel that came with slackware, to compile your module you need to install the kernel header files.
If you compiled your own kernel, they should be there. With the 2.6.x kernels, there was a problem with earlier drivers (now fixed) where they didn't work without a hack for the same reason - but it appears you are using 2.4.x.
Sometimes downloading a module doesn't work (like if you compile the kernel yourself).
of course I answered yes some times but it could not download the needed interface, so the last time I tried to install I answered no to move on faster
@Atmchicago
If you're using the kernel that came with slackware, to compile your module you need to install the kernel header files.
So how do I do that? I mean you know that I tried to install them as the README told me to do...
Quote:
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 do use the standard 2.4.22 that comes with slackware 9, I did not compile myself.
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 (*tp://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.
Are you running any command line switches... what exactly are you typing to excute this?
EDIT: nvm.. i see in your original post now... trying getting the 4493 nvidia drivers.. and see if you get the same thing.
Last edited by trey85stang; 02-13-2004 at 11:30 AM.
What I meant about kernel sources *should* be simple: on your slack CD (1 probabaly, could be 2) there should be a package called kernel source. look around the folders, and then do:
installpkg [kernel-sources-package].tgz
That should do the trick for installing your kernel sources that came with the default kernel.
Atmchicago
Do you have the Slackware 9 CDs? Actually on my CDs (I have 4) the source is located on the third as a bz2 file. Please correct me if I have understood something wrong and it would be nice if you could tell me the concrete CD and the path to the file.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Feb 14 14:29:36 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.
ERROR: The kernel header file '/usr/src/linux/include/linux/modversions.h' does
not exist. The most likely reason for this is that the kernel header
files in '/usr/src/linux/include' have not been configured.
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.
With older drivers I get this problem with modversions.h. Maybe I really left out one step to install my kernel source?
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!
sykes,
hmmm, my last Mdk was 8.2
Anyway: you will have an rpm package under Mdk that contains the source of your distro and needs to be installed. If the nvidia-installer does not find the source in your filesystem you can help it by providing a flag:
--kernel-source-path=/some/where
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.