LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-17-2005, 03:42 PM   #1
reformedgeek
LQ Newbie
 
Registered: Apr 2005
Location: Southampton, UK
Distribution: (K)Ubuntu Edgy
Posts: 14

Rep: Reputation: 0
Kernel change and Nvidia drivers


Ok,
so here's the deal:
I want to change my current kernel (2.6.10-386) to the more appropriate ~-k7 kernel as i have a 1900+ athlon xp. Now i've read that there's minimal increase in performance, but still, i'd like to see for myself.
When i install the new kernel, my nvidia drivers die. I've tried apt-get remove nvidia* and then reinstall them, but no dice.
I tried installing them with the nvidia installer, but it keeps screaming that it doesn't have the kernel sources.
Being a fairly big n00b, and having only dabbled with RH and Gentoo and am not sure what to do.


WHAT DO I DO NOW?
any help would be good.
thanks
 
Old 05-18-2005, 08:09 AM   #2
[NL]_Target
Member
 
Registered: Aug 2003
Distribution: Arch Linux 0.7
Posts: 81

Rep: Reputation: 15
You should get the kernel source matching your current running kernel, and put it in /usr/src/linux

You can probably get this from your distribution, try looking for 'kernel-src' packages etc..

The nvidia installer needs some files in this kernel source to figure out how it should make the driver.

if you need any more help, let me know

- target
 
Old 05-23-2005, 02:00 PM   #3
jalakas
LQ Newbie
 
Registered: May 2005
Location: Orebro, Sweden
Distribution: Gentoo and Kubuntu
Posts: 5

Rep: Reputation: 0
Hello reformedgeek!

[NL]_Target is correct, you need the kernel-headers to compile an interface for the custom/standalone nvidia driver. However i have the exact same problem (on a _much_ slover K7) and i think i found another way to do it:

When you remove the packade nvidia-kernel-common (which you should have done when trying to remove the nvidia completely) you see that a little secret magik package called linux-restricted-modules-2.6.x-x-386 is also being removed. This one is the key.

When you try to reinstall the nvidia packages (nvidia-glx and nvidia-kernel-common) this little baby is going to be installed again, but you don't vant the 386 version you want the K7 one.

So, to make the story shorter:

1. remove all nvida packages
2. install the package linux-restricted-modules-2.6.x-x-K7
3. reinstall the nvidia-glx (and it dependecies)

A sudo modprobe nvidia should now work (not give any errors)

Reboot the, now tainted, kernel and all should work.

---------------

This way you can use synaptic/apt instead of hand-hacking, wich is nice sometimes. There migth be an easier way of doing the above (maybe the dependecis would atomagically remove the 386 version of linux-restricted-modules when you install the K7-one) but the above is the way i tried fist and it worked. So, this worked for me. But beeing a regular att breakmygentoo.net i think you should use some caution applying my advice

---------------

And, as always; sorry for my poor english
 
Old 05-25-2005, 03:06 AM   #4
ravee
Member
 
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83

Rep: Reputation: 15
I recently downloaded and installed the latest nvida drivers for my sound card. I have detailed the steps I took at
http://linuxhelp.blogspot.com/2005/0...use-nvida.html

Hope this helps.

Ravi
 
Old 05-25-2005, 05:19 AM   #5
reformedgeek
LQ Newbie
 
Registered: Apr 2005
Location: Southampton, UK
Distribution: (K)Ubuntu Edgy
Posts: 14

Original Poster
Rep: Reputation: 0
THANKS to all,

jalakas, your english is great, better than some native speakers!!

yeh i got the nvidia card working great, it was those sneaky restricted modules after all.
it's running great

so thanks for the help.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New kernel + NVidia drivers Mad Merlin Linux - General 2 06-03-2006 07:36 PM
Nvidia drivers and kernel? Shady195 Linux - Newbie 11 10-22-2005 04:30 AM
did something change after kernel 2.6.8-1.521? re:Nvidia drivers and FC2 clausawits Fedora 3 01-24-2005 03:13 PM
nvidia drivers and kernel 2.6.1 mikejedw Linux - Hardware 20 03-02-2004 08:23 AM
nvidia drivers in kernel?? Zig Linux - Software 3 06-29-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:39 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