LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installing NVIDIA kernel module for newly installed kernel (https://www.linuxquestions.org/questions/linux-general-1/installing-nvidia-kernel-module-for-newly-installed-kernel-463339/)

philippeP 07-12-2006 11:34 AM

Installing NVIDIA kernel module for newly installed kernel
 
Thinking I would post directly to the source I have dropped the following question on www.nvnews.net and got absolutely NO reply... (see http://www.nvnews.net/vbulletin/show...=package+found)

So since I have always been a lot more successful on www.linuxquestions.org, was hoping to get more hints from some fellows here. Below is a copy of my post linked above. This might be an intersting follow up to this other thread on linuxquestions.org.

Quote:

Hi,

I have had this problem since I use your linux driver (about 3 years) and I have always been too lazy to inquire about why it is not working. But /each/ time it is irritating. I guess the problem comes from me, but I don't know what it is...

Initial condition:
(1) I have downloaded the installer, e.g. NVIDIA-Linux-x86-1.0-8762-pkg1.run
(2) Installed it with success using "sh ./NVIDIA*run"
(3) Erased installer "rm ./NVIDIA*run"
(4) Used happily my linux box with kernel 2.6.x for a while...

Problem description:
I have just compiled 2.6.y and would like to have my nvidia kernel module ready for next boot up. Reading the info from "nvidia-installer -A" (advanced help) I understand I should be using something like

# nvidia-installer -K -k 2.6.y

But I always get the error "No Package found"? What package is he looking for? Is it the file "NVIDIA-Linux-x86-1.0-8762-pkg1.run" which I have?

So I could finally do what I wanted by downloading the run-file again and calling

# sh ./NVIDIA-Linux-x86-1.0-8762-pkg1.run -e --ui=none -n -N -K -k 2.6.y

So the questions:

(A) Is it really necessary to keep the run file to do this? Can't one use nvidia-installer?

(B) What is the "package"? Is it the above named "NVIDIA*run" file?

(C) Why doesn't the nvidia-installer try to download the appropriate package to solve the problem itself?

(D) The help is really not helpful. The only hint given by nvidia-installer is to look into "nvidia-installer --help" options, which none have to do with any "package".

Thanks for any inspiring comments / replies.
PP

BobNutfield 07-13-2006 05:50 AM

HI

I have always simply ran the nVidia install script in full each time a new kernel is used. This is because the installer looks for a pre-compiled module and when it doesn't find one, it creates one.

When you run the installer and get a "Package not found" error, I would guess it is because of this:

Quote:

(3) Erased installer "rm ./NVIDIA*run"
In my experiences, a fresh install of the nVidia drive is the best way to go.

Hope this helps

Bob


All times are GMT -5. The time now is 04:45 PM.