From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NAhK2-0004am-19 for garchives@archives.gentoo.org; Wed, 18 Nov 2009 09:59:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9515AE0965; Wed, 18 Nov 2009 09:58:56 +0000 (UTC) Received: from mail-bw0-f215.google.com (mail-bw0-f215.google.com [209.85.218.215]) by pigeon.gentoo.org (Postfix) with ESMTP id 4FAECE0965 for ; Wed, 18 Nov 2009 09:58:56 +0000 (UTC) Received: by bwz7 with SMTP id 7so1024476bwz.26 for ; Wed, 18 Nov 2009 01:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=8HgRB3MAVcgiOWAz0I6JS0G2Qa3SSlzqOPEBZI10mFI=; b=aVyKHdpvg1HAM2ej30Lb30buf0ENTaCoLgTj+wkbvuXMLSdHPm3owFenrgK0saf9g0 BXXAiZD6QXlEZ4+vZYgOIqmYWoH++633FhI1y6yPGSpuBQ6RdyHwpLcH6tHwkBNtjb6h ExdwkIbBNkOl/hGMrzK9sViax+h1/MBP2ja1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=MSV2oc+m3sbV0yj+xO33b8heEicxCa3rkezyJZ0Vra7az88lwUSiXngH+C7o+19Jyl l2RBJH3Uiyz5jfxIPFVccBwyZHsG0IgFn0x7pWkfF0BnuEggYagCJSBLRkVWJ+RBgzuf 7L42WsaUR/qYnucVNiWFmZwc/mc7YIVLkdA88= Received: by 10.216.90.74 with SMTP id d52mr1514900wef.51.1258538335406; Wed, 18 Nov 2009 01:58:55 -0800 (PST) Received: from energy.localnet (energy.heim10.tu-clausthal.de [139.174.197.94]) by mx.google.com with ESMTPS id m5sm15714142gve.26.2009.11.18.01.58.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 01:58:54 -0800 (PST) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: decrapify your kernel config Date: Wed, 18 Nov 2009 10:58:49 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.31.5r4; KDE/4.3.3; x86_64; ; ) References: <39CFC182-B039-4D26-9880-DC26485DF8F2@stellar.eclipse.co.uk> <4B032EB4.5010802@xunil.at> <200911180918.14880.alan.mckinnon@gmail.com> In-Reply-To: <200911180918.14880.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911181058.50053.volkerarmin@googlemail.com> X-Archives-Salt: 216863ea-d35b-4949-ad1e-fad5540f6c87 X-Archives-Hash: f23ee2ec1ce5aaa6c6f3a52dbf6c06c6 On Mittwoch 18 November 2009, Alan McKinnon wrote: > On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote: > > Volker Armin Hemmann schrieb: > > > Namespaces - you don't need it? Kick 'em out. > > > > hmm, interesting ... ;-) > > > > for sure I also want to decrapify my kernel-config ... > > > > To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct? > > > > This is rather counterintuitive to me, as my main workstation is far > > from an embedded or small system (ok, not compared to the > > 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for > > example, my embedded ALIX-PC I use as fw/router/something ...). > > > > So you suggest I set CONFIG_EMBEDDED=y and in turn get several new > > options/defaults to choose and get right or wrong ... ? > > > > ;-) > > > > I am quite sure to have at least *some* crap in my config as I tend to > > always do something like > > > > zcat /proc/config.gz >> /usr/src/linux-new-shiny-version/.config > > make oldconfig > > > > .... > > > > This gives me expected results and a "it boots OK" experience, getting > > rid of unused crap is another issue, yes. > > > > I wonder which EMBEDDED options would help me ... > > Likely none of them. > > The embedded menu is the most counter-intuitive thing in the whole kernel > config. It does not supply a list of things you may enable, instead it > activates a menu that allows you to switch stuff OFF that is normally ON. > > The rationale is that embedded devices need to get by on a very slim kernel > and with some magic trickery they can successfully disable some features > that are usually considered perfectly normal for regular desktop use. > > For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop, > but does your TomTom need it? Does a GPS even have hotplug facilities? How > about ADSL router/modems? > > To disable namespace, enable embedded, leave everything on, and you will > find you can now disable namespaces. > you can disable: - Enable 16-bit UID system calls - Sysctl syscall support without negative impact on a desktop. Most of it is broken for years anyway. - Core dumps are another feature that most people never use - Load all symbols for debugging/ksymoops and - Do an extra kallsyms pass stuff you can deactivate if you don't plan to send crash reports. - Enable PC-Speaker support oh hell - away with that one! Who needs beeps anyway?