View previous topic :: View next topic |
Author |
Message |
Timo n00b
Joined: 30 Sep 2002 Posts: 23
|
Posted: Tue May 24, 2005 7:05 pm Post subject: Modules init script fails |
|
|
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 |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Tue May 24, 2005 7:55 pm Post subject: |
|
|
as a workaround, you can try putting the modprobe/insmod commands in /etc/conf.d/local.start |
|
Back to top |
|
|
Timo n00b
Joined: 30 Sep 2002 Posts: 23
|
Posted: Tue May 24, 2005 8:28 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|