LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2004, 12:09 AM   #1
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
nvidia drivers and new compile of kernel


when i compile a new kernel the installtion process of the new nvidia drivers cant tell what version kernel i have and i have the source installed anyone got any suggestions?
 
Old 02-22-2004, 03:58 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
reinstall Nvidia driver
 
Old 02-22-2004, 05:41 AM   #3
NoTreeHugger
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Demonbane, I might be wrong, but it appears that c0rderr0y is already attempting that

c0rderr0y, make sure that any (command line?) options to specify the path to your kernel source are correct
 
Old 02-22-2004, 08:40 AM   #4
eNTi
LQ Newbie
 
Registered: Jul 2002
Location: Austria - Salzburg
Distribution: gentoo
Posts: 20

Rep: Reputation: 0
make sure you have a link called "linux" in /usr/src/ that points to your _CURRENT_ kernel sources.
Code:
<15:39:30><Sun Feb 22></usr/src>
nt@eNTi $ la
total 16K
lrwxr-xr-x    1 root     root           16 Feb 21 17:39 linux -> linux-2.6.3-mm2//
drwxr-xr-x    7 root     root         4,0K Mar 28  2003 pc/
drwxr-xr-x    4 root     root         4,0K Feb 21 17:46 ./
drwxr-xr-x   19 root     root         4,0K Feb  9 13:15 ../
drwxr-xr-x   18 root     root         4,0K Feb 21 17:40 linux-2.6.3-mm2/
this might do the trick.
 
Old 02-22-2004, 11:48 AM   #5
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Original Poster
Rep: Reputation: 15
thanx for the replies

where do u put this snipet of code?

Last edited by c0rderr0y; 02-22-2004 at 11:49 AM.
 
Old 02-22-2004, 12:37 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well first you don't put that snippet of code anywheres ..
that is a directory listing of eNTi's /usr/src folder ..

secondly the steps should have been as followed ...
1) upgrade kernel
2) boot to runlevel 3
3) navigate to folder containing nvidia installer
4) ./NVIDIA-installer.run --uninstall
5) ./NVIDIA-installer.run
6) should say they were successfully installled ...
7) startx
8) enjoy gui with 3d acceleration

now please people don't reply telling him "well its better to do this, and then this in stead of when ozz did this" ...
of course these steps can be rearranged ... but give the guy a break and let him try this .... for instance we know step 4 could actually be step 1 .. etc, etc, etc...

now i assume you updated to a 2.6.x series kernel .... if so, then i have a feeling i know what error your receiving but you didn't mention it to helps us help you ....
but in any case, with the steps above, and THESE 2.6 modifed nvidia drivers ... you should be good to go
 
Old 02-22-2004, 02:35 PM   #7
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Kernel Updated?

I had the same error but then remembered I had updated my kernel and kernal source so that the source didn't match my running kernel, a reboot fixed that.

secondly the steps should have been as followed ...
1) upgrade kernel
>>2) boot to runlevel 3
as root at command line "init 3", that will take to you runlevel 3.
3) navigate to folder containing nvidia installer
4) ./NVIDIA-installer.run --uninstall
5) ./NVIDIA-installer.run
6) should say they were successfully installled ...
>>6.5) Don't forget to update /etc/X11/XF86Config-4 file "Driver" section so that it now loads "nvidia" instead of "nv" driver. Also under "modules" section I think you have to make sure "glx" is in there, and remove a couple of other entries that may exist ( "dri" ? ) .You would thing the installed would do this for you, but I've always had to do it manually. .Its all in the instructions on NVidia's web site.

7) startx
8) enjoy gui with 3d acceleration
 
Old 02-22-2004, 08:08 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
Quote:
6) should say they were successfully installled ...
>>6.5) Don't forget to update /etc/X11/XF86Config-4 file "Driver" section so that it now loads "nvidia" instead of "nv" driver. Also under "modules" section I think you have to make sure "glx" is in there, and remove a couple of other entries that may exist ( "dri" ? ) .You would thing the installed would do this for you, but I've always had to do it manually. .Its all in the instructions on NVidia's web site.
think of what your saying ... the drivers were already installed, so that means the config file was already edited. .. when you uninstall the drivers, it does not remove lines from your config ...
so again, my steps are legit, and i made sure they were before posting them, thx
 
Old 02-22-2004, 08:39 PM   #9
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Original Poster
Rep: Reputation: 15
hmmm im using the new install package from nvidia that should support 2.6.3 ..... but i guess i'll try these and i'll also give u guys the errors that i get when trying to install...

Last edited by c0rderr0y; 02-22-2004 at 09:12 PM.
 
  


Reply

Tags
compile, nvidia, reinstall



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia MX 440--Drivers will not compile. At my wits end. tsw Linux - Hardware 8 08-04-2004 11:18 PM
Can't compile nvidia nforce drivers in AT kernel kalvnhobbz Fedora 2 01-26-2004 08:44 AM
NVIDIA drivers won't compile in my gentoo system rcrules Linux - Hardware 8 11-08-2003 05:16 AM
slack 9 with NVidia drivers; cannot compile opengl programs gunter Slackware 5 07-12-2003 11:35 AM
re-compile Nvidia drivers niton Linux - Newbie 2 07-20-2002 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 AM.

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