Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

nVidia drivers: FATAL: module nvidia not found?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Mrhnhrm
n00b
n00b
User avatar
Posts: 39
Joined: Sun Jun 29, 2008 4:41 pm
Location: Krasnoyarsk city, Russian Federation

nVidia drivers: FATAL: module nvidia not found?

  • Quote

Post by Mrhnhrm » Sun Jun 29, 2008 5:06 pm

Well, I think I've finally been able to install Gentoo (wow what an experience for a linux newbie... :roll:)
I've decided to start adding stuff to the basic system, starting with xorg-x11. After that I remember that it is probably going to need video drivers. So I've emerged nvidia-drivers. This process went pretty smoothly.
However, when I tried to modprobe the resulting kernel module, I was given a message saying something to the effect of

FATAL: module nvidia not found

The funniest thing is that a file named nvidia.ko exists in the /lib/modules/(kernel name)/ directory.
So, is there some way to make the system see and make use of this file?
Thanks in advance :)
Geofairy is the best Pokemon
Top
Zach_the_Lizard
n00b
n00b
Posts: 17
Joined: Fri Jun 20, 2008 1:54 pm
Location: /root

  • Quote

Post by Zach_the_Lizard » Sun Jun 29, 2008 5:23 pm

Well, for one, edit your xorg.conf file to make use of the nvidia driver for when you get it fixed.

Secondly, check to see if it is in /lib/modules/<kernel_name>/kernel/drivers/video. This is where my nvidia.ko is located, and perhaps you chould copy it there and see if it works.
Top
Pearlseattle
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Thu Oct 04, 2007 11:07 am
Location: Switzerland
Contact:
Contact Pearlseattle
Website

  • Quote

Post by Pearlseattle » Sun Jun 29, 2008 5:36 pm

My nvidia.ko is located in:
/lib/modules/2.6.24-gentoo-r4/video/
Top
Chewi
Developer
Developer
User avatar
Posts: 890
Joined: Mon Sep 01, 2003 4:29 pm
Location: Edinburgh, Scotland
Contact:
Contact Chewi
Website

  • Quote

Post by Chewi » Sun Jun 29, 2008 7:55 pm

Presumably you haven't changed kernel since you installed it. It should have run automatically but try running depmod. Failing that, you could try loading it directly with insmod /path/to/nvidia.ko just to see what happens. Maybe it will shed some light on the problem.
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Sun Jun 29, 2008 8:12 pm

you can also try "modules-update -f" (or was it update-modules... it's symlined either way)

cheers
Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.
banned from #gentoo since sept 2017
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Jun 29, 2008 11:49 pm

your GCC hasn't changed since you compiled your kernel has it?

ie you are compiling nvidia-drivers with a different gcc then your kernel was compiled with?
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Mrhnhrm
n00b
n00b
User avatar
Posts: 39
Joined: Sun Jun 29, 2008 4:41 pm
Location: Krasnoyarsk city, Russian Federation

  • Quote

Post by Mrhnhrm » Mon Jun 30, 2008 2:33 pm

So, I guess I was in too much of a hurry yesterday (or was it lack of sleep?). I've been able to solve the problem, but the solution description won't make much sense if a more detailed situation description is not given. When configuring a kernel I've added "Mrhnhrm edition 1" appendage to kernel version string, just for the heck of it.
And guess what? All the modules and related files created during kernel compilation reside in /lib/modules/kernel-(version)Mrhnhrmedition1/ And nvidia.ko and its related files reside in directory /lib/modules/kernel-(version)Mrhnhrm/ which is slightly different directory name :roll:
So, since I've complied and installed no other modules after messing around with nvidia-drivers I thought it would be safe to copy everything from the directory created by nvidia-drivers installation to the "default" modules directory.

Morale: don't create fancy custom kernel version appendages :)

Thanks for your moral support :)
Geofairy is the best Pokemon
Top
Rede
n00b
n00b
User avatar
Posts: 67
Joined: Sun Jun 03, 2007 1:26 am

  • Quote

Post by Rede » Wed Jul 02, 2008 4:43 am

I seem to be having the same problem with my nvidia.ko module. I did have gnome and the nvidia driver all running fine for a while and then I did something and can't get it working.

I tried to do what was said here but with no luck.

Unlike the solution here my nvidia.ko exists in the correct place, I believe when I unmasked the latest builds of the nvidia driver this began. I have searched around and none of the answers seem to help :?
Top
Vash63
n00b
n00b
Posts: 36
Joined: Sun Mar 11, 2007 10:14 am

  • Quote

Post by Vash63 » Mon Jul 07, 2008 1:39 am

Mrhnhrm wrote:So, I guess I was in too much of a hurry yesterday (or was it lack of sleep?). I've been able to solve the problem, but the solution description won't make much sense if a more detailed situation description is not given. When configuring a kernel I've added "Mrhnhrm edition 1" appendage to kernel version string, just for the heck of it.
And guess what? All the modules and related files created during kernel compilation reside in /lib/modules/kernel-(version)Mrhnhrmedition1/ And nvidia.ko and its related files reside in directory /lib/modules/kernel-(version)Mrhnhrm/ which is slightly different directory name :roll:
So, since I've complied and installed no other modules after messing around with nvidia-drivers I thought it would be safe to copy everything from the directory created by nvidia-drivers installation to the "default" modules directory.

Morale: don't create fancy custom kernel version appendages :)

Thanks for your moral support :)
My guess would be that it's the spaces that did it... you can change the name of the kernel if you like and it doesn't really cause any problems, spaces can cause issues with a lot of scripts though.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic