LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2009, 08:47 PM   #1
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
Question Nvidia 9600GT


Hello,

first of all as most of the users here im a Linux newbie...

I have been trying to install my graphic card for like 3 days now and yes, i have read toons of forums and internet articles...

Im having thiss error :

ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc
that differs from the one used to build the target kernel, or if
a driver such as rivafb/nvidiafb is present and prevents the
NVIDIA kernel module from obtaining ownership of the NVIDIA graphics
device(s), or NVIDIA GPU installed in this system is not supported by
this NVIDIA Linux graphics driver release.


before you guys ask im using Ubuntu 9.04, my graphic card is an Nvidia Ge-Force 9600 GT and the driver is 185.18.36 (Linux 32)
my kernel is 2.6.28-15 generic
and my gcc version is 4.3.3-5ubuntu4

to keep track on my lasts steps please see this link

https://help.ubuntu.com/community/Nv...nual%20Install

if needed more info please let me know and Thanks in advance
 
Old 09-08-2009, 10:41 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Valgerd View Post
Hello,

first of all as most of the users here im a Linux newbie...

I have been trying to install my graphic card for like 3 days now and yes, i have read toons of forums and internet articles...

Im having thiss error :

before you guys ask im using Ubuntu 9.04, my graphic card is an Nvidia Ge-Force 9600 GT and the driver is 185.18.36 (Linux 32)
my kernel is 2.6.28-15 generic
and my gcc version is 4.3.3-5ubuntu4

if needed more info please let me know and Thanks in advance
You need to get the right driver for your kernel, and that error indicates you don't have it. You say you've read tons of forums and posts for 3 days, but did you check the nVidia site?? This link:

http://www.nvidia.com/object/linux_d...185.18.36.html

has your driver, from August 2009. Download it, and follow the installation instructions. You can also click on the "additional information" tab on that page, for a quick how-to, and check their FAQ's. When you run their installation script, it will ask if you want to compile a driver for your kernel. Say yes. That should do it.
 
Old 09-09-2009, 09:03 AM   #3
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
You need to get the right driver for your kernel, and that error indicates you don't have it. You say you've read tons of forums and posts for 3 days, but did you check the nVidia site?? This link:

http://www.nvidia.com/object/linux_d...185.18.36.html

has your driver, from August 2009. Download it, and follow the installation instructions. You can also click on the "additional information" tab on that page, for a quick how-to, and check their FAQ's. When you run their installation script, it will ask if you want to compile a driver for your kernel. Say yes. That should do it.
Hi, thanks for the advice but unfortunately i already did that (that is why i mentioned my driver version on my post, 185.18.36)and i have read Nvidia Faq`s already... nothing is solving my problem...
 
Old 09-09-2009, 09:14 AM   #4
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
I had a similar problem... it has to do with your kernel.

Here is the thing:

the nvidia installer does not find a "pre-compiled package" for your driver so it goes ahead and compiles one. Then it tries to load the modules in to the kernel but for some reason it cant.

You can check if you are doing it with root privileges, if you ARE then try going to your /usr/src folder to your kernel sources and do a make mrproper ... that saved my bell few times.

Also check as the error says that you are not trying to install on top of another installation, always try to clean the last install by doing NVIDIA*.run --uninstall first.

And lastly:

Quote:
if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s)
very careful with that one, it can be tricky since it can be present and you simply didnt know.

If all that doesnt work then I guess you will have to take a dive in your kernel compilation, maybe to check if it allows you to load modules.

Last edited by RaptorX; 09-09-2009 at 09:20 AM. Reason: adding info
 
Old 09-09-2009, 09:38 AM   #5
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Valgerd, just checking - why aren't you just installing this from package management?
 
Old 09-09-2009, 11:35 AM   #6
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by karamarisan View Post
Valgerd, just checking - why aren't you just installing this from package management?
Because he doesn`t detect my card... it shows up blank
 
Old 09-10-2009, 07:34 AM   #7
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
did you try what i suggested?
 
Old 09-10-2009, 11:58 AM   #8
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by RaptorX View Post
did you try what i suggested?
Not yet, im triying to find out the entire command line to run a "make mrproper" since like i said im a newbie =D

could you give me more details please ?

should i run a "sudo make mrproper" ?

or should i specify the folder where to make the proper ?

like cd /etc/kernel/ and then a sudo make mrproper ?

and finally, what does mrproper do ?

Thanks again for your patience
 
Old 09-10-2009, 04:31 PM   #9
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
Sorry didnt know that you were not aware of those things... ok here is the clear version

After you open your terminal do the following:

Code:
cd /usr/src/
In there should be a folder with your kernel sources something like linux-2.6.28.15 or a soft link called linux that points to your current kernel sources (in some distros).
Cd to that directory.

After you are inside your kernel sources folder then you:

Code:
make mrproper
That should clean the old configuration file of the kernel sources leaving it "clean" for a new installation and for that reason when you run the NVIDIA installer it will (supposedly) compile correctly since maybe any current configuration of the kernel is preventing that.

But again that is just ONE thing you can try. Check on the other things i pointed out.

Last edited by RaptorX; 09-10-2009 at 04:33 PM.
 
Old 09-12-2009, 08:57 AM   #10
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,
Thanks again for your help.

After i navigate to usr/src i have this folders... which one should i cd ? since inside all of them there is a kernel folder...
Attached Thumbnails
Click image for larger version

Name:	Ubuntu 1.jpg
Views:	21
Size:	109.2 KB
ID:	1484  
 
Old 09-12-2009, 09:09 AM   #11
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Use the folder that corresponds to the output of
Code:
 uname -r
Keep in mind that "mrproper" will delete your .config file in the source dir.
If you want to keep it, first copy it to another location, run "make mrproper", then copy it back to the same location.

:edit: I noticed from your attachment that you're running in vmware. I might be wrong, but I think installing the nvidia driver via vmware won't work.

Last edited by mdg; 09-12-2009 at 09:15 AM.
 
Old 09-12-2009, 01:41 PM   #12
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Good catch, mdg. Valgerd, if you're running in a VM, Ubuntu can't actually see your physical graphics card, so the nVidia driver is of no use to you. Run `lspci`; you'll see that what Ubuntu thinks it's running on is a virtual graphics card, not the 9600 GT.
 
Old 09-12-2009, 01:54 PM   #13
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
yup, when using a virtual machine I guess is better installing the vm's drivers (vmware tools i guess) but you wont be able to access the local GForce.
 
Old 09-12-2009, 04:47 PM   #14
Valgerd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, indeed im using VMware.
Since im a windows user i was a little "afraid" to make a dual boot and don't enjoying linux, so i took providence and runned on a virtual machine... just to get used to the interface and commands.

Din't knew that VMware would limitate my hardware...

i will try to install that VM tools and see what happens and probably on the future (when i buy an extra HD) will leave it exclusively for linux on dual boot.

i must say Thank you very much to all for the patience and help
 
Old 09-13-2009, 11:13 AM   #15
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Not sure if you were going to limit or imitate, but that's not quite it/exactly what VMs do. I suggest you take a little time and read up on what a virtual machine actually is; you'll get more use out of them if you know what you're working with. Wikipedia is your friend here.
 
  


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
EP45-UD3L and 9600GT zoran119 Linux - Hardware 4 06-28-2009 07:23 AM
nVidia 9600GT, Samsung LCD Television and Onkyo Receiver - Change Resolution???? rmwlaw Linux - Newbie 5 06-21-2009 08:24 AM
X.org starting white screen with NVIDIA 9600GT The_Seraphim Linux - Desktop 4 10-30-2008 08:15 AM
Nvidia 173.08 driver works OK with 9600GT card, Fedora 8 terry-duell Fedora 2 05-27-2008 07:11 PM
LXer: ASUS GeForce 9600GT 512MB LXer Syndicated Linux News 0 03-21-2008 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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