LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-14-2005, 11:34 PM   #1
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Rep: Reputation: 15
nvidia module not found


I am running gentoo on my dell D800 (just finished install). I emerged, the nvidia drivers, X and kde and everything completed fine. The thing is, now when I try and run X I get an error that says "failed to initialize NVIDIA kernel module". I can't seem to figure out what the problem is though, because I have installed the nvidia drivers. I also can't seem to find any nvidia kernel modules. Do I need to install a module in addition to the driver? Anyway I didn't do to much searching because I am in links and it difficult to navigate for help in links so sorry if this is answered somewhere else. Anyway help you guys could provide would be great: my card is the geforce ti4200 Go 64MB. Thanks in advance
 
Old 07-15-2005, 12:13 AM   #2
CoolChEEzE
Newbie
 
Registered: Feb 2004
Distribution: EvilEntity Linux
Posts: 6

Rep: Reputation: 0
It would be my guess that the kernel module failed to build for some reason. check the log and figure out what went wrong. Perhaps kernel-header problems caused it to not buld correctly. but the log will give you a nice starting point. you *may* want to grab the driver from nvidia.com and just build the kernel module only.

hope that helps a bit
 
Old 07-15-2005, 12:22 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You did load the module right? Try this:

Code:
modprobe nvidia
Then try starting X again. Note, rebooting unloads that thing in case you are new to this stuff. You also have to be root to load it. To make it load when booting, it needs to be added to /etc/modules.autoload.d/kernel-2.6 file or 2.4 if you are using a 2.4 kernel.

Hope that helps.

 
Old 07-15-2005, 12:27 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.gentoo.org/doc/en/nvidia-guide.xml

nvidia drivers are in two bits - glx and kernel.
there is also a load of other stuff you gotta do to make it all work.
 
Old 07-15-2005, 02:37 AM   #5
fatblueduck
Member
 
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251

Rep: Reputation: 30
most people just modprobe nvidia and the open /etc/X11/xorg.conf and in the video section make sure that Driver "nvidia" and not "nv" that's all.
 
Old 07-15-2005, 09:36 AM   #6
shamgar03
Member
 
Registered: Jul 2004
Distribution: Gentoo, CentOS
Posts: 92

Original Poster
Rep: Reputation: 15
Alright I thinks I figured it out, well at least to some extent. I found nvidia.ko - and it recognizes the module, but it doesnt recognize that I have a "device" associated with it: modprobe nvidia gives me: "Error inserting nvidia (...nvidia.ko): no such device" but when I run lspci "vga compatible controller : NV28 [Geforce4 Ti4200 Go AGP 8x]" shows up. Any ideas?
 
Old 07-15-2005, 10:14 AM   #7
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Quote:
Originally posted by fatblueduck
most people just modprobe nvidia and the open /etc/X11/xorg.conf and in the video section make sure that Driver "nvidia" and not "nv" that's all.
Have you edited xorg.conf as fatblueduck suggested?
 
Old 07-15-2005, 11:40 AM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
If you follow that guide that Simon linked to, it should work. The Gentoo documentation is very good and well tested in my opinion. Just follow that thing to the letter. I have been known to copy and paste the commands. It works very well.

You can type in the command lsmod and it should tell you if it has loaded the module or not. Should look something like this:

Code:
root@smoker /etc # lsmod
Module                  Size  Used by
w83781d                34816  0
i2c_sensor              3200  0
nvidia               3711108  12
root@smoker /etc #
You can disregard the w83* and i2c* stuff on mine. It should have nvidia in yours though if it is loaded. You may have other things in their though which is fine.

If you are still having trouble, try to post as much info as you can if you get a error. We'll try to help all we can. You may also want to search around the Gentoo forums. Faster to search and find the answer than to ask then wait on someone to reply.

Hope this helps a little bit.

 
Old 07-16-2005, 10:37 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
shamgar03: You are getting lots of suggestions which are assuming things about your setup and what you have done that need not apply. Unless they have guessed correctly, you can end up tying yourself in more and more confused knots. (Only you know if they have or not - but you may not discover this 'till too late.)

The link I gave you does not make assumptions. Follow that and you will also learn how to troubleshoot other similar issues. I urge you to do this.

CoolChEEzE; fatblueduck: This is not to take anything away from you guys. Keep up the good work. BTW: Can you think of any reason the gentoo instructions wouldn't help in this case?

dalek thanks.
 
Old 07-16-2005, 10:42 PM   #10
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
I don't know much about Gentoo, but I know that if the rivafb is compiled into the kernel and enabled, the nvidia module won't load (or even compile). If you have the option when building the Gentoo kernel, exclude (or modularize) rivafb support.
It MIGHT work. It's all I can think of, at this moment. well, it worked for me, anyway!
 
  


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
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module latino Linux - Hardware 5 06-03-2008 03:55 AM
After updating kernel, Nvidia module cannot be found. ccin1492 SUSE / openSUSE 8 12-05-2004 09:43 PM
nvidia installer fails to create nvidia module rooman Linux - Software 3 10-04-2004 03:39 AM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
'nvidia' module doesn't persist for nVidia GeForce2 DDR card dude_a_b_c Mandriva 8 05-19-2004 02:50 PM

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

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