Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kernel config strangeness
Date: Wed, 31 Jul 2019 22:31:29
Message-Id: YXRPYE4V.EBIP27CI.XV2NROPO@AF4MZDFL.P43ASNHO.R7SPL64Z
1 I just built a new PC, and I'm having a problem getting it to boot with
2 a custom configured kernel (gentoo-sources-5.2.4.) If I start with a
3 blank config and work through "make xconfig" the resulting kernel and
4 initramfs (genkernel) doesn't boot (just hangs after loading
5 initramfs.) So, starting with the config from the running kernel from
6 the live install medium, running make oldconfig then genkernel, it
7 boots fine. I assume my problem is removing something important while
8 trying to remove all the unnecessary options for supporting hardware
9 I'll never use.
10
11 However, if I start with the .config which workd, and "make xconfig"
12 and select "Supported processor types" under "Processor type and
13 features" and then unselect "Support Intel Pprocessors" (I have a
14 Ryzen) and save the config, it decreases the size of .config from 169K
15 to under 13K, losing almost every setting in the file.
16
17 Even stranger, if I look at "Local version - append to kernel release:"
18 it still shows the value I had previously set - but that setting
19 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
21 have been reset to the clean starting defaults (i.e., many say "(NEW)"
22
23 Am I missing something here, or might this really be a bug in "make
24 xconfig" ?
25
26 Can anyone else replicate this? While I don't think it's related to my
27 problem getting a non-booting kernel, it certainly has me confused.
28
29 Thanks for helping me confirm what's left of my sanity.
30
31 Jack

Replies

Subject Author
Re: [gentoo-user] kernel config strangeness Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] kernel config strangeness Adam Carter <adamcarter3@×××××.com>