From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4FB1138334 for ; Wed, 31 Jul 2019 22:31:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EEF7E0833; Wed, 31 Jul 2019 22:31:23 +0000 (UTC) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E423DE0806 for ; Wed, 31 Jul 2019 22:31:22 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id a27so50482491qkk.5 for ; Wed, 31 Jul 2019 15:31:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:message-id:mime-version :content-disposition:content-transfer-encoding; bh=8shM+WN0tWjLffkiyMLCMVgDtEFA4hWsHnQVD1SYZ5A=; b=b2wFQ3bpXBrt4GatlgS+1xPRZsC5D/paMgpHsD8HLCejA1PoU6o0C3V0JsEJrRUTtk qMNaRAM/uH9ZnR7F50GSdPDJsH7SjZ1ezaWMtCmVpsaSP+NreePrvbQryuuxtjEqmNIq 1sWWhdOJ+z2u0DO+Zle0BbqyIbzHSGT5QjAvP3+/du2SnUbkVuwMfdOEY6LLSv8Z/Gru AbnKFHnpuzlq49d4OFID4lE9BSymFm2awnTjkdM/+mJ9Un1oa2GLWuN1y22vUWAgKUL3 343+D9lkhs1zZFNFi2Lmy3OeEt+QKSappr30o3DKWxXiAkqxfzBqefGAb3zdpmy/1Qyo YWGQ== X-Gm-Message-State: APjAAAVPun8CKIs3fGF5tlQL6KYBcmK3XPuGZgB13zjSX+rrvyRqZPr5 0uvyNfd5LOnZ9HjjLbEEULXkHQaOI0pmrA== X-Google-Smtp-Source: APXvYqz78jOp1ZrJenkEcSslrrVdxVjc7lIIvpr8TY82/S/WeQjGqTqapPxtiWL3HogLYwojX3+n3w== X-Received: by 2002:a37:be86:: with SMTP id o128mr84873412qkf.40.1564612281972; Wed, 31 Jul 2019 15:31:21 -0700 (PDT) Received: from ffortso4 ([2601:188:180:4f46:1ec1:deff:fe62:b72f]) by smtp.gmail.com with ESMTPSA id g13sm28497350qkm.17.2019.07.31.15.31.21 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 15:31:21 -0700 (PDT) Date: Wed, 31 Jul 2019 18:31:20 -0400 From: Jack Subject: [gentoo-user] kernel config strangeness To: gentoo-user@lists.gentoo.org X-Mailer: Balsa 2.5.6-220-gaae4051b9 Message-Id: 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ad9a7b3b-c0d9-4238-a043-2b578675ff34 X-Archives-Hash: 1de917b6900bdea971485d52d814c909 I just built a new PC, and I'm having a problem getting it to boot with =20 a custom configured kernel (gentoo-sources-5.2.4.) If I start with a =20 blank config and work through "make xconfig" the resulting kernel and =20 initramfs (genkernel) doesn't boot (just hangs after loading =20 initramfs.) So, starting with the config from the running kernel from =20 the live install medium, running make oldconfig then genkernel, it =20 boots fine. I assume my problem is removing something important while =20 trying to remove all the unnecessary options for supporting hardware =20 I'll never use. However, if I start with the .config which workd, and "make xconfig" =20 and select "Supported processor types" under "Processor type and =20 features" and then unselect "Support Intel Pprocessors" (I have a =20 Ryzen) and save the config, it decreases the size of .config from 169K =20 to under 13K, losing almost every setting in the file. Even stranger, if I look at "Local version - append to kernel release:" =20 it still shows the value I had previously set - but that setting =20 CONFIG_LOCALVERSION is NOT in .config. If I close the tool and start =20 it again, that setting is now missing and it looks like all settings =20 have been reset to the clean starting defaults (i.e., many say "(NEW)" Am I missing something here, or might this really be a bug in "make =20 xconfig" ? Can anyone else replicate this? While I don't think it's related to my =20 problem getting a non-booting kernel, it certainly has me confused. Thanks for helping me confirm what's left of my sanity. Jack =