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:
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. Thank you very much, Friedrich |
-> 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). |
@ jtshaw
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:
|
if the src wasnt there.. you will need to create a symlink, cd to /usr/src/linux if it says it doesnt exist you need to create a symlink
cd /usr/src ln -s linux-X.X(yourkernelversion) linux run that.. and you should be set. |
did not change anything
|
Code:
Using: nvidia-installer ncurses user interface EDIT: nvm.. i see in your original post now... trying getting the 4493 nvidia drivers.. and see if you get the same thing. |
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. |
trey85stang
I found only 4496 on http://www.nvidia.com/object/linux_display_archive.html but I'll try, probably it is similar to 4493 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. |
Quote:
|
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!
|
That's what I was saying, Friedrich :) Glad you worked it out.
|
Friedrich
I have the same problem in Mandrake 10.Can you tell me how did you worked it out? 10x |
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 (that was everything that I had to do, at least) hope that helps |
10x Friedrich
It worked.. :) |
All times are GMT -5. The time now is 07:42 PM. |