Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modules init script fails
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
Timo
n00b
n00b


Joined: 30 Sep 2002
Posts: 23

PostPosted: Tue May 24, 2005 7:05 pm    Post subject: Modules init script fails Reply with quote

Hmm, seems I'm stuck (searched the forums and tried to fix the problem, but I'm lost).

I've setup the box like my other 40+ gentoo installs I've made so far (at least I hope).

I usually build a new kernel using genkernel --udev all, and then place the modules I need into /etc/modules.autoload.d/kernel-2.6. During boot, the modules init script complains that it can't find the modules specified. I tried (for sanity) to load the modules with their full path, it still complains.

When I login, a modprobe works, as well as an insmod with the full path, however, just an insmod <modulename> doesn't work. The output of uname -a is correct, and ls /usr/lib/`uname -r`/ shows the correct directory contents.

My questions:

- How does insmod/modprobe know where to pull the modules from?
- genkernel automatically creates an initial ramdisk, could it be that there's some trouble with that? Can I tell genkernel to include my network driver (3c59x)?
- To my knowledge, the modules initscript just does call modprobe, so why doesn't modprobe work in the modules init script?
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue May 24, 2005 7:55 pm    Post subject: Reply with quote

as a workaround, you can try putting the modprobe/insmod commands in /etc/conf.d/local.start
Back to top
View user's profile Send private message
Timo
n00b
n00b


Joined: 30 Sep 2002
Posts: 23

PostPosted: Tue May 24, 2005 8:28 pm    Post subject: Reply with quote

I don't like "unclean" solutions ;)

If it's a bug, we should fix it.
If it's a feature, we should document it.
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