LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2006, 11:34 AM   #1
philippeP
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Debian sarge/etch
Posts: 18

Rep: Reputation: 0
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
 
Old 07-13-2006, 05:50 AM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver 8762 kernel module mismatch x module openfun Ubuntu 5 06-27-2006 10:02 PM
(EE) NVIDIA(0): Failed to initialize the nvidia kernel module necbrownie Slackware 18 06-16-2006 02:20 AM
newly-installed kernel boot problem Secant Fedora 1 01-01-2006 09:21 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration