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.
(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
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.
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.