public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] kernel config strangeness
@ 2019-07-31 22:31 Jack
  2019-08-01  8:26 ` Mick
  2019-08-02  2:05 ` Adam Carter
  0 siblings, 2 replies; 7+ messages in thread
From: Jack @ 2019-07-31 22:31 UTC (permalink / raw
  To: gentoo-user

I just built a new PC, and I'm having a problem getting it to boot with  
a custom configured kernel (gentoo-sources-5.2.4.)  If I start with a  
blank config and work through "make xconfig" the resulting kernel and  
initramfs (genkernel) doesn't boot (just hangs after loading  
initramfs.)  So, starting with the config from the running kernel from  
the live install medium, running make oldconfig then genkernel, it  
boots fine.  I assume my problem is removing something important while  
trying to remove all the unnecessary options for supporting hardware  
I'll never use.

However, if I start with the .config which workd, and "make xconfig"  
and select "Supported processor types" under "Processor type and  
features" and then unselect "Support Intel Pprocessors" (I have a  
Ryzen) and save the config, it decreases the size of .config from 169K  
to under 13K, losing almost every setting in the file.

Even stranger, if I look at "Local version - append to kernel release:"  
it still shows the value I had previously set - but that setting  
CONFIG_LOCALVERSION is NOT in .config.  If I close the tool and start  
it again, that setting is now missing and it looks like all settings  
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  
xconfig" ?

Can anyone else replicate this?  While I don't think it's related to my  
problem getting a non-booting kernel, it certainly has me confused.

Thanks for helping me confirm what's left of my sanity.

Jack


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-08-04  6:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-31 22:31 [gentoo-user] kernel config strangeness Jack
2019-08-01  8:26 ` Mick
2019-08-02  2:05 ` Adam Carter
2019-08-02 16:52   ` Jack
2019-08-03  0:52     ` Adam Carter
2019-08-04  2:52       ` Jack
2019-08-04  6:28         ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox