To view parent comment, click here.
To read all comments associated with this story, please click here.
I'm not sure if I understand. You want a tool that would examine a system and produce the minimal kernel config that would cover all the system needs?
First of all, it's a chicken and egg problem. I'm not sure if you can discover certain system capabilities if the kernel doesn't already offer support for that capability. So you'd need a "full" featured kernel to produce the leaner one.
Second, some hardware is pluggable. USB printers, for instance. There's no way for a diagnostics tool to realise you need USB printer support unless you have one plugged in and turned on at examination time and if, again, you don't already have support for that.
So I'm afraid that in the end the human is needed to project everything that would be needed in a kernel.
My wish was not to cut totally the human interaction on kernel configuration, just to be a little more sane on the amount of information we, humans, need to process when setting a basically new machine.
Also, realize that when you setup a new computer, the kernel that cames with your distro already has almost everything plus kitchen sink compiled.
So, basically what I was thinking about is this:
- got a new or updated computer;
- install the distro kernel;
- run a program to analyze your hardware and cut things you are not going to use (could have a guess level) that generates a valid minimum (or almost) .config;
- run make menuconfig (or even oldconfig) to do the tweaks.
Realize that, as the kernel keep getting more and more drivers and settings, the time needed to tweak it get bigger and bigger.
Also, such tool can help when you want a lean kernel for a particular machine you are not going to touch anymore (or almost).






Member since:
2005-07-13
"make oldconfig" works fine for me...