Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235385 - sys-kernel/genkernel-3.4.10-r1: default config is not a good start for a slim desktop system
Summary: sys-kernel/genkernel-3.4.10-r1: default config is not a good start for a slim...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 17:13 UTC by Jorge Peixoto de Morais Neto
Modified: 2008-08-22 19:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Peixoto de Morais Neto 2008-08-21 17:13:03 UTC
This is a feature request.
Several users decide to configure their own kernel, but even if one has reasonable experience with Linux, it is a very time consuming task because the config is huge and some of the options are complex and hard to decide.
I tried to use the default config bundled with genkernel as a start, but there were two problems:

1) It does not seem a good start for a slim desktop. As a quick example, it comes with PREEMPT_NONE and HZ_100, which are hardly appropriate for a desktop. Also, it enables nearly everything (either builtin or as modules), including deprecated stuff like BINFMT_AOUT, nearly all filesystems (including some exotic ones), exotic partition types, etc, which would result in a big kernel and a huge /lib/modules. In fact, it seems a *worse* start than the default configuration given by make defconfig.
2) It is wasteful to emerge genkernel (with all its dependencies) just to get its default .config

So, as a favor, I ask you to:
1) Provide a desktop-suited .config, which could perhaps be obtained by a genkernel option like --tune-for-desktop
2) Provide your default .config as a separate download

Thank you very much for your time and for you work. Regards.

Reproducible: Always
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-08-21 17:26:04 UTC
If you don't like the default .config, create your own. The kconfig is created for use on many varying types of machines with many varying types of hardware and filesystems. It's also used on the LiveCD, which could possibly be used for "rescue" purposes.
Comment 2 Chris Gianelloni 2008-08-21 18:05:18 UTC
Also, to fill your second request:

http://sources.gentoo.org/viewcvs.py/*checkout*/genkernel/trunk/x86/kernel-config?rev=679

(or, even better, since it'll be updated...)

http://git.wolf31o2.org/gitweb/?p=projs/genkernel.git;a=blob_plain;f=arch/x86/kernel-config;hb=HEAD

Of course, if you need another architecture, you can simply grab it.  With the new genkernel, there will be a bit more "intelligence" built in, so it will eventually be similar to this request, but we definitely have no plans on maintaining multiple default kernel configurations.
Comment 3 Jorge Peixoto de Morais Neto 2008-08-21 18:12:12 UTC
Thank you.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-08-21 19:37:38 UTC
Isn't the only difference between the config in 3.4.10-r1 and the one in the git repo the CONFIG_DEBUG_* options?
Comment 5 Chris Gianelloni 2008-08-22 19:51:11 UTC
Yes, but he asked for a way to get it without installing genkernel.