View previous topic :: View next topic |
Author |
Message |
bruce32466 n00b
Joined: 18 Nov 2008 Posts: 10
|
Posted: Tue Dec 09, 2008 11:32 pm Post subject: No "/etc/modules.autoload.d/kernel-2.6" ???? |
|
|
Why do I not have " /etc/modules.autoload.d" directory in my /etc? There is "modules.d" what is the dif between them? Kernel is 2.6.27-gentoo-r5.
Would appreciate any help!
Bruce. |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Tue Dec 09, 2008 11:44 pm Post subject: |
|
|
it seems like you are using gentoo unstable and therefor openrc.
read the openrc migration guide. this will clear things up. |
|
Back to top |
|
|
bruce32466 n00b
Joined: 18 Nov 2008 Posts: 10
|
Posted: Tue Dec 09, 2008 11:47 pm Post subject: |
|
|
Thanks for the quick response. I'll take a look at that.
Thanks,
Bruce. |
|
Back to top |
|
|
outermeasure Apprentice
Joined: 26 Nov 2008 Posts: 194 Location: ping6 ff02::1
|
Posted: Tue Dec 09, 2008 11:49 pm Post subject: |
|
|
Create the directory yourself, if it doesn't exist. (It should be there in the stage tarball you extract in chapter 5 of the installation handbook, and also comes with the sys-apps/baselayout package).
Edit: ok, alex beats me ... but still it should be there shouldn't it? (or maybe you deleted it yourself some time ago?) |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Dec 10, 2008 12:48 am Post subject: |
|
|
outermeasure wrote: | ... but still it should be there shouldn't it? |
It moved to /etc/conf.d/modules with baselayout2 + openrc.
In most cases you should leave this file empty, and let the kernel load modules on demand. |
|
Back to top |
|
|
bruce32466 n00b
Joined: 18 Nov 2008 Posts: 10
|
Posted: Sun Dec 14, 2008 1:43 pm Post subject: |
|
|
OK! So I reinstalled using the stage3-i686-2008.0.tar.bz2 and checked to see if the modules.autoload.d was in /etc and it was. Now after installing Xorg-x11 I nolonger have the modules.autoload.d directory. would "emerge -uaDN world" have upgraded my system to base layout? would there be any USE flags that would cause this? Yes I'm new at this by the way!
Thanks,
Bruce. |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Dec 14, 2008 2:05 pm Post subject: |
|
|
in my installations the /etc/autoload.d is still present.
while installing we have made the folder nano -w /etc/modules.autoload.d/kernel-2.6
as per doc. still my boot up flashes message "no modules auto loaded"
but all asked modules work with the kernel as they are loaded from /etc/conf.d/modules
i was wondering if to remove the manually made autoload folder. anyway i left it there.
except for the message it does no harm.
it is not removed automatically anyways by emerge of baselayout _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Sun Dec 14, 2008 2:08 pm Post subject: |
|
|
baselayout2/openrc are still ~ marked, are you running a ~ system?
that would be a good reason why you got bl2/openrc. |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Dec 14, 2008 2:13 pm Post subject: |
|
|
yes i have ACCEPT_KEYWORDS="~x86"
in my make.conf _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
bruce32466 n00b
Joined: 18 Nov 2008 Posts: 10
|
Posted: Sun Dec 14, 2008 2:37 pm Post subject: |
|
|
I see! I too have ACCEPT_KEYWORDS="x86 ~x86". If I remove the "~x86" from make.conf and "emerge -uaND world", would that remove base layout or do I need to reinstall again?
Thanks,
Bruce. |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Sun Dec 14, 2008 2:48 pm Post subject: |
|
|
bruce32466 wrote: | I see! I too have ACCEPT_KEYWORDS="x86 ~x86". If I remove the "~x86" from make.conf and "emerge -uaND world", would that remove base layout or do I need to reinstall again?
Thanks,
Bruce. |
It would downgrade baselayout and the rest of the system to x86. That surely will cause a huge mess (i.e. glibc downgrades which are unsupported and will not work anyway)
So if you added ~x86 intentionally, then why not just use it. You do not need /etc/modules.autoload.d if you run baselayout-2* with OpenRC - it's not used there, and that's why it gets removed.
Just add the modules you want to load to /etc/conf.d/modules. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
bruce32466 n00b
Joined: 18 Nov 2008 Posts: 10
|
Posted: Sun Dec 14, 2008 2:53 pm Post subject: |
|
|
Alrighty then! I'll give it a shot and just keep it the way it is. Thanks again for the help.
Bruce. |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Sun Dec 14, 2008 3:00 pm Post subject: |
|
|
from the gentoo openrc migration guide: Quote: | Normally, when you want certain kernel modules automatically loaded at boot, you place them into /etc/modules.autoload.d/kernel-2.6 along with any parameters you wanted to pass to them. In baselayout-2, this file is not used anymore. Instead, autoloaded modules and module parameters are placed in one file, /etc/conf.d/modules, no matter the kernel version. |
so, you will have to delete the file yourself. |
|
Back to top |
|
|
|