LWN: Comments on "A different approach to kernel configuration" https://lwn.net/Articles/733405/ This is a special feed containing comments posted to the individual LWN article titled "A different approach to kernel configuration". en-us Fri, 07 Nov 2025 09:43:01 +0000 Fri, 07 Nov 2025 09:43:01 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A different approach to kernel configuration https://lwn.net/Articles/733774/ https://lwn.net/Articles/733774/ csigler <div class="FormattedComment"> This just shows how old we both are... :-(<br> </div> Fri, 15 Sep 2017 03:44:34 +0000 A different approach to kernel configuration https://lwn.net/Articles/733734/ https://lwn.net/Articles/733734/ flussence <div class="FormattedComment"> Graphics drivers are particularly annoying here. You either want everything for a distro kernel, or want a very specific one for a custom kernel. But unlike (say) sound cards, the latter's not an option — you need to compile in support for all nVidia cards or all Radeons or all Intel chips. My /boot/vmlinuz is growing almost a megabyte per year because of it.<br> </div> Thu, 14 Sep 2017 19:05:27 +0000 A different approach to kernel configuration https://lwn.net/Articles/733665/ https://lwn.net/Articles/733665/ smitty_one_each <div class="FormattedComment"> <font class="QuotedText">&gt; As a bonus, this kernel boots in 1/5 of the time. </font><br> <p> Time being frog$kins, a more rapidly available cloud image is a right jolly awesome thing.<br> </div> Thu, 14 Sep 2017 11:43:52 +0000 A different approach to kernel configuration https://lwn.net/Articles/733636/ https://lwn.net/Articles/733636/ edgewood I had the exact same thought when I first read the article. I was surprised there wasn't a reference to Aunt Tilly in it! Thu, 14 Sep 2017 04:00:44 +0000 A different approach to kernel configuration https://lwn.net/Articles/733627/ https://lwn.net/Articles/733627/ csigler <div class="FormattedComment"> <font class="QuotedText">&gt; ... the config subsystem has grown so large that it's gotten out of control. </font><br> <p> Paging ESR... paging Mr. ESR.... ;-)<br> </div> Thu, 14 Sep 2017 03:20:22 +0000 A different approach to kernel configuration https://lwn.net/Articles/733622/ https://lwn.net/Articles/733622/ montj2 <div class="FormattedComment"> I could not find a definitive answer, but I am left to believe it is something private for his current position at the National Security Research Institute of South Korea. Were you able to find more?<br> </div> Wed, 13 Sep 2017 23:24:24 +0000 A different approach to kernel configuration https://lwn.net/Articles/733621/ https://lwn.net/Articles/733621/ Yui <div class="FormattedComment"> Or perhaps distro-specific minimal configurations like Linus proposed five years ago. This would at least make the job of people who are working on a distro based on an existing one a bit easier.<br> <p> <a href="https://lkml.org/lkml/2012/7/13/369">https://lkml.org/lkml/2012/7/13/369</a><br> </div> Wed, 13 Sep 2017 23:16:18 +0000 A different approach to kernel configuration https://lwn.net/Articles/733598/ https://lwn.net/Articles/733598/ Tara_Li <div class="FormattedComment"> Perhaps if the tool scanned the hardware first, and then generated a "suggested config" that could then be tweaked - bonus points if it includes comments on what it found and why it suggested that configuration - and even a "Found nVidia graphics chipset - would you like to use the free nouveau driver, or will you be installing the nVidia proprietary driver later?"<br> </div> Wed, 13 Sep 2017 18:40:27 +0000 A different approach to kernel configuration https://lwn.net/Articles/733585/ https://lwn.net/Articles/733585/ edeloget <div class="FormattedComment"> This is indeed an interesting approach but it's limited to a single use case - rebuilding a config for a kernel that suits you. <br> <p> I would love to see someone try to tackle the need for a simpler configuration tool. Creating a booting kernel for an esoteric custom board is a hard task even for expert themselves, and its has to do with how the kernel config is organized (not how menuconfig works). <br> </div> Wed, 13 Sep 2017 16:15:02 +0000 A different approach to kernel configuration https://lwn.net/Articles/733541/ https://lwn.net/Articles/733541/ Frogging101 <div class="FormattedComment"> Actually, I don't even care what the defconfig is. But a "generic x86 desktop" config would be nice. My current method to get a base config for my desktop is to download a Debian or Ubuntu kernel .deb and extract the config.<br> <p> You can get said debs at <a href="https://packages.debian.org/unstable/kernel/linux-image-amd64">https://packages.debian.org/unstable/kernel/linux-image-a...</a> or <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D">http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D</a> . Make an empty directory to extract it to, and run dpkg -x &lt;deb file&gt; &lt;destination dir&gt;. Look in boot/ under the destination for the config. Copy it to your kernel tree as .config. If it's an older config, run "yes '' | make oldconfig" before using it.<br> </div> Wed, 13 Sep 2017 15:10:52 +0000 A different approach to kernel configuration https://lwn.net/Articles/733511/ https://lwn.net/Articles/733511/ unixbhaskar <div class="FormattedComment"> I am looking forward to such a thing to come up. I have been hand-tuning kernel for many years now and it is a cumbersome process, but you gain a lot of insight about it. But having a tool like this would have certainly help lesser mortals better time. <br> </div> Wed, 13 Sep 2017 04:31:15 +0000 A different approach to kernel configuration https://lwn.net/Articles/733507/ https://lwn.net/Articles/733507/ pabs <div class="FormattedComment"> Did Kang mention which distro he is working for?<br> </div> Wed, 13 Sep 2017 03:23:45 +0000 A different approach to kernel configuration https://lwn.net/Articles/733506/ https://lwn.net/Articles/733506/ Frogging101 <div class="FormattedComment"> They already have kvmconfig and xenconfig.<br> <p> In my opinion, the defconf should enable the components that one could reasonably expect to find on an x86 desktop or server system, and disable the more exotic drivers that one would never find on such a system to reduce the number of unnecessary components in a build.<br> </div> Wed, 13 Sep 2017 03:15:27 +0000 A different approach to kernel configuration https://lwn.net/Articles/733483/ https://lwn.net/Articles/733483/ rodgerd <div class="FormattedComment"> At this point the defconf would probably be most accurate as a Xen or KVM guest.<br> </div> Tue, 12 Sep 2017 21:35:00 +0000 A different approach to kernel configuration https://lwn.net/Articles/733464/ https://lwn.net/Articles/733464/ marduk <div class="FormattedComment"> I'm really looking forward to using a tool like this. I have been hand-tuning kernels for years but there's always something in the back of your head that makes you wonder if you really needed option A or if you left out option B which you could have really benefited from. It's true that the config subsystem has grown so large that it's gotten out of control. It's going to require an overhaul and a fresh set of eyes to really make it into something impressive. But like the article states there is little demand upstream, or downstream for that matter.<br> </div> Tue, 12 Sep 2017 16:45:25 +0000 A different approach to kernel configuration https://lwn.net/Articles/733443/ https://lwn.net/Articles/733443/ tao <div class="FormattedComment"> Yeah, the config system is a nightmare, especially when new options are introduced--the choices of what to default to N or Y by default seems arbitrary at best. defconfig should probably default to a modern machine.<br> </div> Tue, 12 Sep 2017 12:46:16 +0000 A different approach to kernel configuration https://lwn.net/Articles/733441/ https://lwn.net/Articles/733441/ WolfWings <div class="FormattedComment"> Honestly the largest obstacle to kernel configuration is the menuconfig tool hasn't kept up.<br> <p> Some newer systems are arbitrary such as picking a compression or encryption algo at random as 'required' despite the actual code not requiring any single algo, just AT LEAST ONE algo existing from a large set.<br> <p> Others are setup one-way (the USB &lt;-&gt; networking &lt;-&gt; wireless trifecta for example) for the requirements so if you don't disable things in the correct order you can't disable other things.<br> <p> And there are numerous "top level items" that could be pushed down a level (or two!) to organize the tree structure in a more 'discoverable' way.<br> <p> A lot of it is improved Kconfig's being needed IMHO; the existing actual tools are well thought out, but Kconfig's aren't reviewed anywhere near as much as the functional code I feel, so a LOT of really bad cruft and cargo-cult scripting has ended up in those over the years since the syntax seems entirely unique and unrelated to anything else.<br> </div> Tue, 12 Sep 2017 12:26:31 +0000