Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Module Not Found [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hocmin
n00b
n00b


Joined: 20 Jun 2003
Posts: 40

PostPosted: Thu Jun 02, 2005 2:08 am    Post subject: Module Not Found [SOLVED] Reply with quote

I've been using genkernel with version 2.6.11-gentoo-r3 since I first installed Gentoo. I decided to try compiling a kernel manually to see if I'd get any better performance. I have the latest version (2.6.11-gentoo-r9) and basically followed the HOWTO at http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually. After "make menuconfig" I ran "make && make modules && make modules_install" followed by "make install" after mounting /boot. For the most part, everythings seems to be working ok, except I'm not getting any modules to load. For example, I can't get nvidia to load.

I've got "nvidia" in /etc/modules.autoload.d/kernel-2.6 and it tells me it fails to load it on start up. Running "modprobe nvidia" gives me
Quote:
FATAL: Module nvidia not found

I tried emerge-ing nvidia again. Didn't have any logical reason to think that would solve it and it didn't so no shock there. I checked my .config file and I do have the two kernel options mentioned in http://www.gentoo.org/doc/en/nvidia-guide.xml checked.

I'm really not sure what I missed. Thanks for any help.


Last edited by hocmin on Fri Jun 03, 2005 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
doubleagent
Guru
Guru


Joined: 15 Apr 2005
Posts: 444
Location: 127.0.0.1

PostPosted: Thu Jun 02, 2005 4:20 am    Post subject: Reply with quote

There's no text in that wiki. You'll need to fire up make menuconfig again and compile things with an <M> instead of a <*> if you want to be able to use the modules. Make sure you check the right parts so that you'll have access to the right modules. This may have been information you already knew though. I'd suggest looking on the forum: there are a few HOWTO's specifically for nvidia graphics cards.

Everything else looks good.
_________________
shickapooka wrote:
i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Back to top
View user's profile Send private message
hocmin
n00b
n00b


Joined: 20 Jun 2003
Posts: 40

PostPosted: Thu Jun 02, 2005 6:04 am    Post subject: Reply with quote

The period at the end of my sentence was tacked on to the end of the URL. Guess I should have used the URL button. According to http://www.gentoo.org/doc/en/nvidia-guide.xml, there is no actual module I need to include; just the two kernel options mentioned at the top and I definitely have those checked. It's really confusing because I am currently using genkernel on this system with no module problem whatsoever. And it's not nvidia specific because it's also failing to load via-rhine (those are the only two modules listed to auto load). I just used nvidia as the example.

I'm going to try a clean compile of the kernel, double checking my configuration. Maybe I missed a step or did something stupid. If that doesn't work, I'm not sure what my next step should be.
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Thu Jun 02, 2005 6:31 pm    Post subject: Reply with quote

hocmin wrote:
For example, I can't get nvidia to load.

I've got "nvidia" in /etc/modules.autoload.d/kernel-2.6 and it
tells me it fails to load it on start up. Running "modprobe
nvidia" gives me
Quote:
FATAL: Module nvidia not found

I tried emerge-ing nvidia again.


On my system, when I compile a new kernel, my last step,
(having arranged that the /usr/src/linux symlink points to the source
directory of the new kernel, in my case 2.6.11.10) is to execute

Code:
emerge  nvidia-kernel nvidia-glx


I believe that this creates file

Code:
/lib/modules/2.6.11.10/video/nvidia.ko


The symlink

Code:
/usr/src/linux -> /usr/src/linux-2.6.11.10


ensured that this .ko file got built in the correct subdirectory
of /lib/modules/.

OMSystem, I need to do this for module net-fs/shfs as well.
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
hocmin
n00b
n00b


Joined: 20 Jun 2003
Posts: 40

PostPosted: Fri Jun 03, 2005 6:27 pm    Post subject: Reply with quote

I think I figured out the problem. When I re-emerged nvidia I just ran:
Code:
emerge nvidia-glx
which didn't re-emerge nvidia-kernel because it was seen as already installed. Explicitely emerging it as you suggested created my module and now it's working great. I'd like to suggest some mention of this in the nvidia HOWTO.

Thanks for all the help.
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Sun Jun 05, 2005 6:51 pm    Post subject: Reply with quote

hocmin wrote:
...Explicitly emerging it as you suggested
created my module and now it's working great. I'd like to
suggest some mention of this in the nvidia HOWTO.

Thanks for all the help.


You are most welcome, hocmin. I did file a bug report
https://bugs.gentoo.org/show_bug.cgi?id=94953
on a slight generalization of your question, and was directed to
http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap6

Your HOWTO suggestion is a good one.
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum