Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to Compile Specific (ie: by name) Kernel Modules?
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
Vorlon
Apprentice
Apprentice


Joined: 16 May 2003
Posts: 263
Location: East Earl, PA

PostPosted: Sun Sep 26, 2010 12:19 am    Post subject: How to Compile Specific (ie: by name) Kernel Modules? Reply with quote

I'm building Gentoo on an old computer that has some goofy HP hardware configurations. I want to be sure I've compiled all the needed kernel modules, so I loaded Sabayon Linux LiveCD and recorded all the modules it loaded with lsmod.

Now I want to compile my kernel and use menuconfig to select all the needed Kernel modules.

However, I have a problem: How can I find out (easily) which menuconfig settings generate specific kernel modules?

For example, the kernel module "8139too" is created when you select the Realtek 8139 network adapter. If you read the "help" for each item in menuconfig, it _usually_ tells you the name of the module it creates. However, I need to go the other way and find the menu selection that will create a specific module.

Is there a master list of modules and what they are and how to set them?


PS: I know, I could use the wholesale "genkernel" approach, but that seems too clunky to me. I would much rather select each module individually.

TIA!
_________________
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
Back to top
View user's profile Send private message
wuzzerd
Guru
Guru


Joined: 05 Jan 2005
Posts: 467
Location: New Mexico

PostPosted: Sun Sep 26, 2010 12:32 am    Post subject: Reply with quote

When running make menuconfig, you can search for a configuration parameter using the / key.

HTH
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23064

PostPosted: Sun Sep 26, 2010 1:01 am    Post subject: Reply with quote

wuzzerd wrote:
When running make menuconfig, you can search for a configuration parameter using the / key.
As I read the OP, this does not help. Configuration parameters are not necessarily named after the driver they build.

OP: technically, everything you need can be derived from the kernel Makefiles if you have the patience to dig through them. However, this is not a particularly efficient solution. The target localyesconfig might do what you want if you run it while in the Sabayon CD.
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