Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No "/etc/modules.autoload.d/kernel-2.6" ????
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
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Tue Dec 09, 2008 11:32 pm    Post subject: No "/etc/modules.autoload.d/kernel-2.6" ???? Reply with quote

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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Dec 09, 2008 11:44 pm    Post subject: Reply with quote

it seems like you are using gentoo unstable and therefor openrc.
read the openrc migration guide. this will clear things up.
Back to top
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Tue Dec 09, 2008 11:47 pm    Post subject: Reply with quote

Thanks for the quick response. I'll take a look at that.

Thanks,
Bruce.
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 09, 2008 11:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Dec 10, 2008 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sun Dec 14, 2008 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun Dec 14, 2008 2:08 pm    Post subject: Reply with quote

baselayout2/openrc are still ~ marked, are you running a ~ system?
that would be a good reason why you got bl2/openrc.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sun Dec 14, 2008 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sun Dec 14, 2008 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun Dec 14, 2008 3:00 pm    Post subject: Reply with quote

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