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 <gentoo-user+bounces-111912-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OQp6y-00034q-Jf
	for garchives@archives.gentoo.org; Mon, 21 Jun 2010 22:05:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 104D5E0D72
	for <garchives@archives.gentoo.org>; Mon, 21 Jun 2010 22:04:54 +0000 (UTC)
Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id DC585E0C17
	for <gentoo-user@lists.gentoo.org>; Mon, 21 Jun 2010 22:01:08 +0000 (UTC)
Received: by pwi3 with SMTP id 3so797652pwi.40
        for <gentoo-user@lists.gentoo.org>; Mon, 21 Jun 2010 15:01:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from
         :user-agent:mime-version:to:subject:references:in-reply-to
         :x-enigmail-version:content-type:content-transfer-encoding;
        bh=hPza1MLpePZu3ifAd9Fv6Lf3u2VrE2VoBC1q5hSQOto=;
        b=GHWFZfMaY0vomvbY+Vb1BLe2/bqqTKMmx9jzsMz580Yfn8rqGBO9ZmBpcVIEeIx7ZC
         a5loDczGBgvUYApaiplLp6BkAD0EuSRfbHTPGaZoma0+hcRAf7R7PgRwOLDhuizeqI31
         5E/ZvbOkYTXhJx8F1iiqee5gRbae4oLxlZ9ak=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        b=mzhZW2QUl5fZGPsMgN/zsIr0eB5sE8MnD3BC+9lxBAbXNtSWY+YF6RvI3HNw+C/MVI
         gufwJAdws4czC7zbLFuQWhgQyyi0IVCayj0zcUXJe3nWN4Urgk8ZQR/oUHg7Vb7fbZAp
         /kmtsvh1g04qSwmAcKN0v/ly6oqGp2nLv1+88=
Received: by 10.114.189.13 with SMTP id m13mr4567628waf.130.1277157662436;
        Mon, 21 Jun 2010 15:01:02 -0700 (PDT)
Received: from [192.168.0.12] ([209.20.133.224])
        by mx.google.com with ESMTPS id f11sm20369919wai.11.2010.06.21.15.01.01
        (version=SSLv3 cipher=RC4-MD5);
        Mon, 21 Jun 2010 15:01:01 -0700 (PDT)
Message-ID: <4C1FE11A.3020406@gmail.com>
Date: Mon, 21 Jun 2010 15:00:58 -0700
From: Bill Longman <bill.longman@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100608 Thunderbird/3.0.4
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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] Boot hangs after install, no error
References: <4C1958B9.4000903@gmail.com> <4C1F7817.7020208@gmail.com> <4C1FA976.4020804@gmail.com> <201006212026.54478.wonko@wonkology.org> <4C1FB70F.4090505@gmail.com> <4C1FC51E.7030003@gmail.com> <4C1FCA2D.1070207@gmail.com>
In-Reply-To: <4C1FCA2D.1070207@gmail.com>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Archives-Salt: afac8aac-eb74-4021-9a34-a56320659090
X-Archives-Hash: 8a1e70952d3c4ab095f923164944d4d4

On 06/21/2010 01:23 PM, Dale wrote:
>> The only thing that genkernel would add is your initrd. The kernel is
>> exactly the same, whether you compile it with "make" or through
>> "genkernel". Do a test and you'll see. (I'm assuming we're both talking
>> about gentoo-sources, not vanilla-sources. Either way, they'd be the
>> same.) Some might be confused about what happens in the steps if they
>> haven't been down the "kernel compilation trail" more than once or
>> twice, but for folks who just want to compile their kernel and plop it
>> into place, along with a hands-off initrd, it's rather handy.
>>
>>    
> 
> But only if it works.  When I compile my kernel, I KNOW for sure what is
> in there.  When genkernel does one, especially on a new install, I have
> no idea what is in it or what is not.  If something goes wrong, I don't
> know where to start.  Is it a kernel problem or is it something else? 
> Who knows.  Then you have to go back and start from the bottom, usually
> the kernel, and work your way back up to find out what is broken.

By "But only if it works," I assume the antecedent "it" refers to is a
kernel that we're attempting to boot correctly. (In other words, you're
not talking about genkernel failing to create a kernel for you. Is that
correct?)

If someone has trouble on an initial install, then that just means they
didn't configure the kernel correctly, is what I interpret that to mean.
The result of "make" and the result of "genkernel kernel" are exactly
the same. If your "make menuconfig" creates an invalid .config file for
you, no sort of magic is going to make its resultant kernel valid. Do
you mean to say that you just grab a kernel, jump into the directory and
say "make" without an mrproper and some sort of config? You do realize
that genkernel has --menuconfig, --xconfig and --gconfig exactly for
this purpose, don't you?

What sort of things do you believe genkernel is adding to your kernel?
If you use "genkernel --menuconfig --no-install kernel", you can look
and see what it did. It's no different than running "make menuconfig"
followed by a "make; make modules". Just look in /usr/share/genkernel at
the gen_compile.sh and you'll see that it does a make.

> Genkernel may work for you but that doesn't mean it does for everyone
> else.  Should I mention hal here?  When someone comes for help, your
> looking for the failure not the successes.  If it was sucessful, they
> wouldn't need help.

Which is why I mentioned genkernel in the first place. Most times a hang
after boot is due to components that were missed in the kernel build --
from where? -- from a missing or incorrectly created initrd if the
required modules weren't compiled into the kernel. The easiest way that
I've seen is to use genkernel and get back to work. Then later on you
can find out what an initrd is and why it's needed with modules but at
least you'd have a running system.

No, I don't think you should mention hal because it's probably OT for a
thread about a hung boot. But you should apply to yourself a similar
logic you ask of me: if others can use genkernel successfully, why can't I?

Bill