Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-30-2006, 07:13 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Nvidia driver install problem.

I downloaded the kernel source, but when I try to install the NVIDIA drivers, eventually it says that a .ko file can't be made, and the kernel source doesn't match with my kernel. But it does, I think. I downloaded kernel-source-2.6, and mine is 2.6.12-17...
Old 03-30-2006, 07:36 PM   #2
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15

Follow the instructions here. They should get it working.
Old 03-30-2006, 11:41 PM   #3
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
What's your distro?

In a terminal, type uname -r
It'll give you your kernel version.
Your kernel and kernel-source versions have to match exactly.
Old 03-31-2006, 10:16 AM   #4
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Possibly not something to try if you're not feeling brave and/or knowledgeable, but in most cases (based on my experiences, at least) configuring a kernel extracts the config of the currently running kernel and uses that as a base if there is no pre-existing .config file.

That is, if you execute the following (assuming you have your new sources in /usr/src/linux):
# cd /usr/src/linux
# make mrproper
# make menuconfig (or 'make xconfig' if you prefer)
then the default already selected options will be those that match your running kernel as closely as possible. Saving the config, exiting, and a make bzImage && make modules && make modules_install && make install should build you a kernel of the desired version with the same functionality of your existing kernel.

Of course, there's a chance I'm wrong for your particular setup and it'll build you a kernel that won't recognise your graphics card or netword card or modem, etc. But so long as you check all the options first, you should be OK. Building kernels isn't as scary or hard as you'd think it would be.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 driver install problem jt1020 Fedora 30 12-14-2005 10:04 AM
Problem to install NVIDIA driver punx120 Debian 2 11-13-2004 02:06 PM
nvidia driver install problem mhl Linux - General 5 06-19-2004 04:34 PM
Yet Another nVidia Driver install problem Jimbo99 Linux - Hardware 7 05-17-2004 10:39 AM
Nvidia Binary driver install problem plbowler Red Hat 8 11-11-2003 10:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

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