public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Canonical place to list modules to load
@ 2009-06-17 14:21 Harry Putnam
  2009-06-17 14:31 ` Mark Shields
  0 siblings, 1 reply; 15+ messages in thread
From: Harry Putnam @ 2009-06-17 14:21 UTC (permalink / raw
  To: gentoo-user

Where do we list modules we want loaded at boot?

When I run  modprobe fuse
WARNING: Deprecated config file /etc/modprobe.conf, all config files
         belong  into /etc/modprobe.d/.

/etc/modprobe.conf doesn't actually appear to have any modules listed
but does list a herd of aliases for modules.

Looking under /etc/modprobe.d
aliases.conf  blacklist.conf  i386.conf  pnp-aliases.conf

All of which appear to hold the same or more lists of aliases.

So if I want to load `fuse' at boot... where do it put it?




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 14:21 [gentoo-user] Canonical place to list modules to load Harry Putnam
@ 2009-06-17 14:31 ` Mark Shields
  2009-06-17 14:47   ` Neil Bothwick
  2009-06-19 14:07   ` Harry Putnam
  0 siblings, 2 replies; 15+ messages in thread
From: Mark Shields @ 2009-06-17 14:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

On Wed, Jun 17, 2009 at 10:21 AM, Harry Putnam <reader@newsguy.com> wrote:

> Where do we list modules we want loaded at boot?
>
> When I run  modprobe fuse
> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>         belong  into /etc/modprobe.d/.
>
> /etc/modprobe.conf doesn't actually appear to have any modules listed
> but does list a herd of aliases for modules.
>
> Looking under /etc/modprobe.d
> aliases.conf  blacklist.conf  i386.conf  pnp-aliases.conf
>
> All of which appear to hold the same or more lists of aliases.
>
> So if I want to load `fuse' at boot... where do it put it?
>
>
>
It's been the same as long as I've been using Gentoo the past 5
years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
handbook as long as I've been using Gentoo, too.

7.e. Kernel Modules

Configuring the Modules

You should list the modules you want automatically loaded in
/etc/modules.autoload.d/kernel-2.6. You can add extra options to the modules
too if you want.


-- 

I recommend reading the entire handbook from start to finish; it has plenty
of valuable information and will avoid unnecessary questions.
-- 
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 1651 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 14:31 ` Mark Shields
@ 2009-06-17 14:47   ` Neil Bothwick
  2009-06-17 18:29     ` Dale
                       ` (2 more replies)
  2009-06-19 14:07   ` Harry Putnam
  1 sibling, 3 replies; 15+ messages in thread
From: Neil Bothwick @ 2009-06-17 14:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:

> > So if I want to load `fuse' at boot... where do it put it?

> It's been the same as long as I've been using Gentoo the past 5
> years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
> handbook as long as I've been using Gentoo, too.

That's for baselayout1. For baselayout2/openrc it has moved
to /etc/conf.d/modules.


-- 
Neil Bothwick

There's no place like http://www.home.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 14:47   ` Neil Bothwick
@ 2009-06-17 18:29     ` Dale
  2009-06-17 19:16       ` Neil Bothwick
  2009-06-17 20:10     ` Mark Shields
  2009-06-19 14:05     ` [gentoo-user] " Harry Putnam
  2 siblings, 1 reply; 15+ messages in thread
From: Dale @ 2009-06-17 18:29 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:
>
>   
>>> So if I want to load `fuse' at boot... where do it put it?
>>>       
>
>   
>> It's been the same as long as I've been using Gentoo the past 5
>> years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
>> handbook as long as I've been using Gentoo, too.
>>     
>
> That's for baselayout1. For baselayout2/openrc it has moved
> to /etc/conf.d/modules.
>
>
>   

So I guess when people are asking questions like this, they need to
start stating what baselayout they are using.  Of course, emerge --info
would do this but most don't include that, including me most of the time.

After the corg-server update, I'm dreading that upgrade.  I'm still on
the old xorg.  The baselayout if not done carefully could leave a person
with a broke OS.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 18:29     ` Dale
@ 2009-06-17 19:16       ` Neil Bothwick
  2009-06-17 19:38         ` Dale
  0 siblings, 1 reply; 15+ messages in thread
From: Neil Bothwick @ 2009-06-17 19:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

On Wed, 17 Jun 2009 13:29:41 -0500, Dale wrote:

> After the corg-server update, I'm dreading that upgrade.  I'm still on
> the old xorg.  The baselayout if not done carefully could leave a person
> with a broke OS.

Unlikely, as long as you run etc-update or equivalent. The ebuild takes
care of migrating several config files, you only need to follow the steps
in the migration guide referred to in the elog messages.


-- 
Neil Bothwick

I do not like this dumb machine
I really ought to sell it.
It never does just what I want
But only what I tell it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 19:16       ` Neil Bothwick
@ 2009-06-17 19:38         ` Dale
  2009-06-17 20:13           ` Neil Bothwick
  0 siblings, 1 reply; 15+ messages in thread
From: Dale @ 2009-06-17 19:38 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Wed, 17 Jun 2009 13:29:41 -0500, Dale wrote:
>
>   
>> After the corg-server update, I'm dreading that upgrade.  I'm still on
>> the old xorg.  The baselayout if not done carefully could leave a person
>> with a broke OS.
>>     
>
> Unlikely, as long as you run etc-update or equivalent. The ebuild takes
> care of migrating several config files, you only need to follow the steps
> in the migration guide referred to in the elog messages.
>
>
>   

I did that with the xorg upgrade, followed the guide.  I still can't get
it to work.  I'm on the old xorg now.  That's why I dread some of these
upgrades.  Broke OS or broke X bothers me.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 14:47   ` Neil Bothwick
  2009-06-17 18:29     ` Dale
@ 2009-06-17 20:10     ` Mark Shields
  2009-06-18 21:45       ` Mick
  2009-06-19 14:05     ` [gentoo-user] " Harry Putnam
  2 siblings, 1 reply; 15+ messages in thread
From: Mark Shields @ 2009-06-17 20:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

On Wed, Jun 17, 2009 at 10:47 AM, Neil Bothwick <neil@digimed.co.uk> wrote:

> On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:
>
> > > So if I want to load `fuse' at boot... where do it put it?
>
> > It's been the same as long as I've been using Gentoo the past 5
> > years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
> > handbook as long as I've been using Gentoo, too.
>
> That's for baselayout1. For baselayout2/openrc it has moved
> to /etc/conf.d/modules.
>
>
> --
> Neil Bothwick
>
> There's no place like http://www.home.com
>

Baselayout 2 isn't used in the hardened gentoo base; it's ~x86 keyword (on
x86).  That's what I was going by.  The handbook still references
/etc/modules.autoload.d/kernel-2.6:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap7

-- 
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 1417 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 19:38         ` Dale
@ 2009-06-17 20:13           ` Neil Bothwick
  2009-06-17 20:36             ` Dale
  0 siblings, 1 reply; 15+ messages in thread
From: Neil Bothwick @ 2009-06-17 20:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

On Wed, 17 Jun 2009 14:38:09 -0500, Dale wrote:

> > Unlikely, as long as you run etc-update or equivalent. The ebuild
> > takes care of migrating several config files, you only need to follow
> > the steps in the migration guide referred to in the elog messages.

> I did that with the xorg upgrade, followed the guide.  I still can't get
> it to work.  I'm on the old xorg now.  That's why I dread some of these
> upgrades.  Broke OS or broke X bothers me.

The difference is that this one is under the direct control of Gentoo
devs, so it really ought to work, and does.


-- 
Neil Bothwick

Why is the word abbreviation so long?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 20:13           ` Neil Bothwick
@ 2009-06-17 20:36             ` Dale
  0 siblings, 0 replies; 15+ messages in thread
From: Dale @ 2009-06-17 20:36 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick wrote:
> On Wed, 17 Jun 2009 14:38:09 -0500, Dale wrote:
>
>   
>>> Unlikely, as long as you run etc-update or equivalent. The ebuild
>>> takes care of migrating several config files, you only need to follow
>>> the steps in the migration guide referred to in the elog messages.
>>>       
>
>   
>> I did that with the xorg upgrade, followed the guide.  I still can't get
>> it to work.  I'm on the old xorg now.  That's why I dread some of these
>> upgrades.  Broke OS or broke X bothers me.
>>     
>
> The difference is that this one is under the direct control of Gentoo
> devs, so it really ought to work, and does.
>
>
>   

That is what I have heard and am hoping for.  I think the things the
devs do is better than upstream most of the time.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-17 20:10     ` Mark Shields
@ 2009-06-18 21:45       ` Mick
  2009-06-18 22:08         ` Neil Bothwick
  0 siblings, 1 reply; 15+ messages in thread
From: Mick @ 2009-06-18 21:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

On Wednesday 17 June 2009, Mark Shields wrote:
> On Wed, Jun 17, 2009 at 10:47 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> > On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:
> > > > So if I want to load `fuse' at boot... where do it put it?
> > >
> > > It's been the same as long as I've been using Gentoo the past 5
> > > years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
> > > handbook as long as I've been using Gentoo, too.
> >
> > That's for baselayout1. For baselayout2/openrc it has moved
> > to /etc/conf.d/modules.
> >
> >
> > --
> > Neil Bothwick
> >
> > There's no place like http://www.home.com
>
> Baselayout 2 isn't used in the hardened gentoo base; it's ~x86 keyword (on
> x86).  That's what I was going by.  The handbook still references
> /etc/modules.autoload.d/kernel-2.6:
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_ch
>ap7

Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.

I am still confused with the difference between /etc/rc.conf 
and /etc/conf.d/rc ...
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-18 21:45       ` Mick
@ 2009-06-18 22:08         ` Neil Bothwick
  2009-06-19  8:08           ` Alan McKinnon
  0 siblings, 1 reply; 15+ messages in thread
From: Neil Bothwick @ 2009-06-18 22:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:

> Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.

They didn't, they moved it from there to /etc/conf.d where all the other
rc config files live.

> I am still confused with the difference between /etc/rc.conf 
> and /etc/conf.d/rc ...

Then moved that one out of /etc/conf.d :(


-- 
Neil Bothwick

Distrust any enterprise that requires new clothes. - Henry David Thoreau
(1817-1862)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-18 22:08         ` Neil Bothwick
@ 2009-06-19  8:08           ` Alan McKinnon
  2009-06-19 18:23             ` Mick
  0 siblings, 1 reply; 15+ messages in thread
From: Alan McKinnon @ 2009-06-19  8:08 UTC (permalink / raw
  To: gentoo-user

On Friday 19 June 2009 00:08:04 Neil Bothwick wrote:
> On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:
> > Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.
>
> They didn't, they moved it from there to /etc/conf.d where all the other
> rc config files live.
>
> > I am still confused with the difference between /etc/rc.conf
> > and /etc/conf.d/rc ...
>
> Then moved that one out of /etc/conf.d :(

Lets not confuse the fellow with our awesome wit :-)

Mick, it's a cleanup operation with openrc to get things a bit more sane.

Unix let's you put config files any damn place you want them. So it's up to 
you to put them someplace sane. The recent trend is to use a structure like

/etc/thing.conf
/etc/thing.d/*

The first one is used for global settings that affect the entire package (or 
system in this case as it's openrc).
The second has individual files, one for each logical sub-section. Package 
managers can then update individual bits independently - trying to do updates 
to one massive file with sed is a distinctly non-trivial operation.

With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc 
took the opportunity to tidy all this up.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Canonical place to list modules to load
  2009-06-17 14:47   ` Neil Bothwick
  2009-06-17 18:29     ` Dale
  2009-06-17 20:10     ` Mark Shields
@ 2009-06-19 14:05     ` Harry Putnam
  2 siblings, 0 replies; 15+ messages in thread
From: Harry Putnam @ 2009-06-19 14:05 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Wed, 17 Jun 2009 10:31:23 -0400, Mark Shields wrote:
>
>> > So if I want to load `fuse' at boot... where do it put it?
>
>> It's been the same as long as I've been using Gentoo the past 5
>> years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
>> handbook as long as I've been using Gentoo, too.
>
> That's for baselayout1. For baselayout2/openrc it has moved
> to /etc/conf.d/modules.

Thanks... that's what I was after.

Alan McKinnon <alan.mckinnon@gmail.com> writes:

[...]
Alan M wrote:
> With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc 
> took the opportunity to tidy all this up.

And /etc/conf.d/modules does seem saner.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Canonical place to list modules to load
  2009-06-17 14:31 ` Mark Shields
  2009-06-17 14:47   ` Neil Bothwick
@ 2009-06-19 14:07   ` Harry Putnam
  1 sibling, 0 replies; 15+ messages in thread
From: Harry Putnam @ 2009-06-19 14:07 UTC (permalink / raw
  To: gentoo-user

Mark Shields <laebshade@gmail.com> writes:

> It's been the same as long as I've been using Gentoo the past 5
> years: /etc/modules.autoload.d/kernel-2.6.  This has always been in the
> handbook as long as I've been using Gentoo, too.

Yeah... thats why I was confused.  But as you see, things are
different with baselayout2.

I was fortunate in that I came to baselayout2 on a completely new
install.  I imagine its a bit more confusing moving from baselayout1
to 2.




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Canonical place to list modules to load
  2009-06-19  8:08           ` Alan McKinnon
@ 2009-06-19 18:23             ` Mick
  0 siblings, 0 replies; 15+ messages in thread
From: Mick @ 2009-06-19 18:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

On Friday 19 June 2009, Alan McKinnon wrote:
> On Friday 19 June 2009 00:08:04 Neil Bothwick wrote:
> > On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote:
> > > Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6.
> >
> > They didn't, they moved it from there to /etc/conf.d where all the other
> > rc config files live.
> >
> > > I am still confused with the difference between /etc/rc.conf
> > > and /etc/conf.d/rc ...
> >
> > Then moved that one out of /etc/conf.d :(
>
> Lets not confuse the fellow with our awesome wit :-)
>
> Mick, it's a cleanup operation with openrc to get things a bit more sane.
>
> Unix let's you put config files any damn place you want them. So it's up to
> you to put them someplace sane. The recent trend is to use a structure like
>
> /etc/thing.conf
> /etc/thing.d/*
>
> The first one is used for global settings that affect the entire package
> (or system in this case as it's openrc).
> The second has individual files, one for each logical sub-section. Package
> managers can then update individual bits independently - trying to do
> updates to one massive file with sed is a distinctly non-trivial operation.
>
> With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc
> took the opportunity to tidy all this up.

Thank you for the explanation.

I am running stable x86 on all my boxen at the moment.  I guess I'll have to 
become accustomed to the new set up soon.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-06-19 18:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 14:21 [gentoo-user] Canonical place to list modules to load Harry Putnam
2009-06-17 14:31 ` Mark Shields
2009-06-17 14:47   ` Neil Bothwick
2009-06-17 18:29     ` Dale
2009-06-17 19:16       ` Neil Bothwick
2009-06-17 19:38         ` Dale
2009-06-17 20:13           ` Neil Bothwick
2009-06-17 20:36             ` Dale
2009-06-17 20:10     ` Mark Shields
2009-06-18 21:45       ` Mick
2009-06-18 22:08         ` Neil Bothwick
2009-06-19  8:08           ` Alan McKinnon
2009-06-19 18:23             ` Mick
2009-06-19 14:05     ` [gentoo-user] " Harry Putnam
2009-06-19 14:07   ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox