On 08/19/2010 08:44 AM, Florian Philipp wrote:
> Am 18.08.2010 21:30, schrieb Elmar Hinz:
>> 1.) Is there a Map: modules to configration parameters?
>>
>> "lspci -k" lists me all modules of the running genkernel.
>> Unfortunately the configuration parameters of the kernel have
>> different names.
>>
>>
>> 2.) Which approach would you recommend?
>>
> 
> With new enough kernel sources (gentoo-sources in stable are good
> enough), there is `make localmodconfig` which removes all mods from your
> current .config which are not loaded.
> There is also `make localyesconfig` which does the same but doesn't
> create modules.

Al, if you look in the README file in the top of the kernel tree,
there's a very good section with explanations about the various kernel
configuration options available for make.

I find it amazing, though, that even if I copy my old .config, it still
takes me so much time to make sure all the settings are correct for a
given machine. Hasn't anyone come up with a handy
look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool?
Or does it already exist and we just call him "Pappy"?

Reply via email to