Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230541 - Putting module name in /etc/modules.autoload.d/kernel-2.6 doesn't work
Summary: Putting module name in /etc/modules.autoload.d/kernel-2.6 doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 15:45 UTC by Timothy Miller
Modified: 2008-07-02 22:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2008-07-02 15:45:40 UTC
I have a module, f711882fg, that I would like to autoload.  According to all the Gentoo documentation I find, what I need to do is put that name into /etc/modules.autoload.d/kernel-2.6.  Unfortunately, that doesn't work.  (The module works fine if I manually modprobe it.)

So either Gentoo has changed, and the docs are behind (so this bug should be filed against the docs), or something is broken in the way the genkernel works.



Reproducible: Always

Steps to Reproduce:
1.  Put "f711882fg" into /etc/modules.autoload.d/kernel-2.6
2.  Reboot
3. 

Actual Results:  
The module isn't loaded

Expected Results:  
The module should be loaded

I'm running the current 2008 beta, and the kernel is 2.6.25-gentoo-r5.
Comment 1 franky 2008-07-02 16:54:56 UTC
(In reply to comment #0)
> I have a module, f711882fg, that I would like to autoload.  According to all
> the Gentoo documentation I find, what I need to do is put that name into
> /etc/modules.autoload.d/kernel-2.6.  Unfortunately, that doesn't work.  (The
> module works fine if I manually modprobe it.)
> 
I'm not sure if you're running ~arch, maybe your're using baselayout2 / openrc?!
In that case the required file to put your modules in is /etc/conf.d/modules.
http://www.gentoo.org/doc/en/openrc-migration.xml for more details
Comment 2 nm (RETIRED) gentoo-dev 2008-07-02 20:46:15 UTC
It looks like you're running ~arch, since you're on a 2.6.25 kernel as well. As suggested earlier, be sure to read the OpenRC migration guide so that you know what goes where. The rest of our documentation only covers running stable, not ~arch.
Comment 3 Timothy Miller 2008-07-02 22:26:43 UTC
Yeah, I'm running ~amd64.  The docs didn't mention anything about this migration, although I did get the idea of using ~amd64 from those docs.  So maybe the docs need a small note about that.

I read the migration notes, and I found the solution.  So thank you for that.  I tried looking at the script in /etc/init.d/modules to see if I could figure out where it was looking, but I got nowhere there.  I guess there are variables being passed in that are not explicit.