From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E92BE138010 for ; Tue, 23 Oct 2012 23:23:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4503D21C013; Tue, 23 Oct 2012 23:23:39 +0000 (UTC) Received: from mail-yh0-f53.google.com (mail-yh0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 5333D21C013 for ; Tue, 23 Oct 2012 23:22:22 +0000 (UTC) Received: by mail-yh0-f53.google.com with SMTP id 3so879862yhp.40 for ; Tue, 23 Oct 2012 16:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=BPnbmNOef6cQGsJe6t48szW5oZDNTtMnKKkKVkyTIp8=; b=ZkaeRIFIOuqrHGfYrwaVCqoDjuT7qULhL+aL951STSDGXnV6kQ28yOwuF1LuqMDz4w LzPSVyXDcTcA0ZXuV8KCiKMfVtbllq9D1KzzWuYv5u08AzUBdvLlPBurpaMssLCRlfGw c4phY9auE3hFUKaPVTesWoy3SA8ekGjv22tiPTl3E4n8+2blTsfEf8KGnSxDXX99NCiL s7OYrHwTit7GSrIlKpyqoOBCR5IDvuX9GtfKTarUqXBCX23+FN1s/Bp1EbSePaYXl/oZ PADqSx0VgSiDMgZuF/Na7HccjuM2F3X2PWtV5s0WrHnlsYk7if11Gw7JVclwoSwJRGo9 ak/w== Received: by 10.101.74.13 with SMTP id b13mr4002176anl.78.1351034541608; Tue, 23 Oct 2012 16:22:21 -0700 (PDT) Received: from [192.168.2.5] (adsl-65-0-119-50.jan.bellsouth.net. [65.0.119.50]) by mx.google.com with ESMTPS id o5sm11976837anm.10.2012.10.23.16.22.20 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2012 16:22:20 -0700 (PDT) Message-ID: <508726AB.5080206@gmail.com> Date: Tue, 23 Oct 2012 18:22:19 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121020 Firefox/16.0 SeaMonkey/2.13.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] genkernel 2 manual References: In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archives-Salt: fac4a538-c522-4b44-8dce-3cfc7e6301fd X-Archives-Hash: e6dfe4fc928382c7ffc8904b367caa1d Joćo Matos wrote: > Hi list. > > I've been using Gentoo for quite a long time, and today I decided to > try compiling the kernel myself, Thing I've never done before. I want > a smaller kernel, a faster boot (without initramfs) and, of course, > some fun :). > > I'm still reading the oficial documentation, but I don't think it will > be enough, so, if anyone of you know some documentation more detailed, > I'd appreciate reading it. > > I've just ran 'make xconfig', and I noticed that the configuration is > the same from genkernel (genkernel --menuconfig). Is it good? Should I > get an original .conf, with less garbage, or this is just the 'normal > default' instead of 'genkernel default' as I'm guessing? > > Is there any tool that can scan my pc and help me out with the .conf > or even generate one? I guess not. There are lots of options that I > have no idea what they are for. I think this will be the fun part, but > I think I can't get a running kernel before I optimize it, so I can do > it gradually. > > Just for curiosity, what is the size of your kernel? Mine is 3.4 MB. > > Thank you, > -- > Joćo de Matos > Linux User #461527 > I would add lspci -k since it lists not only modules but built in drivers as well. Generally, if you have all those included, then you are doing fine hardware wise. In menuconfig, just hit the / key and search for the driver. Also, on the results of the search, it shows the path to the page the driver is on too. Some of them hide pretty good at times. Also, don't forget that some things have to be built in and not as modules. Things like file system that root is on, drive controller so that the drives can be seen and maybe even mouse/keyboard stuff. Some say not to but I just build everything into my kernel. The only modules I have is nvidia for my video drivers. Everything else is built in. Should work either way as long as the must haves are built in. One more thing, keep a couple known good kernels laying around just in case you really mess up. At least you can boot a old one to fix the new one. ;-) Don't ask how I learned this sort of thing. :/ Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!