View previous topic :: View next topic |
Author |
Message |
djentoo n00b
Joined: 17 Oct 2017 Posts: 37
|
Posted: Mon Apr 02, 2018 10:42 pm Post subject: [SOLVED] Configuring /etc/conf.d/modules |
|
|
There are over 1000 modules, my conf file reads as below. How do I select modules for bootup more efficiently than going line by line while learning what each module is?? Is there an essentials kit like gen-kernel??
Code: | # a released kernel version, a main kernel version or all kernel versions.
# The most specific versioned variable will take precedence.
# FreeBSD users can only use the modules="foo bar" setting.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"
# Linux users can give modules a different name when they load - the new name
# will also be used to pick arguments below.
# This is not supported on FreeBSD.
#modules="dummy:dummy1"
# Linux users can give the modules some arguments if needed, per version
# if necessary.
# Again, the most specific versioned variable will take precedence.
# This is not supported on FreeBSD.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"
# You should consult your kernel documentation and configuration
# for a list of modules and their options. |
[Moderator edit: added [code] tags to preserve output layout. -Hu]
Last edited by djentoo on Mon Apr 02, 2018 11:06 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Apr 02, 2018 11:03 pm Post subject: |
|
|
djentoo,
Skip that step. Module autoloading for hardware is fairly good.
Unless you have some rare exotic hardware, you won't net anything there yet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Apr 02, 2018 11:04 pm Post subject: Re: Configuring /etc/conf.d/modules |
|
|
djentoo wrote: | There are over 1000 modules, my conf file reads as below. How do I select modules for bootup more efficiently than going line by line while learning what each module is?? Is there an essentials kit like gen-kernel?? |
Dunno if really kernel could have 1000, but a kernel could have 0, number of modules depends on your choice.
And 99.9% of modules you can tag as "essential" are for hardware support, and i'm risking a: all of them are loaded by your device manager.
This to say, the conf.d/modules is "mostly" useless to load a module, only few people will use it to load some non hardware related module.
Still, this is a great config file when you want pass a module parameter or for the wonderful openrc conditional loading (ability to load a module for a specific kernel version).
edit: grrrr, beaten again by the old man! NeddySeagoon my ass, he is flash!!!
Last edited by krinn on Mon Apr 02, 2018 11:06 pm; edited 2 times in total |
|
Back to top |
|
|
djentoo n00b
Joined: 17 Oct 2017 Posts: 37
|
Posted: Mon Apr 02, 2018 11:06 pm Post subject: |
|
|
Thank you both for clarifying this step. |
|
Back to top |
|
|
|
|
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
|
|