A Kernel Configuration Tale of Woe
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · John Bradford
This demonstrates a very important point - _any_ automatic configuration program is likely to cause more traffic to this mailing list, and create more work for users and developers that the current automatic configuration process:
echo 'My box doesn't boot' | mail [email protected]
The kernel knows nothing about motherboards, cards, etc. It knows about chipsets, and nothing else. By definition, you cannot have a kernel configurator that works at a higher level than that.
I disagree. When we have a booting kernel, finding out the used drivers is not so difficult: kernel give us already enough informations (modules loaded, in drivers that use some resources,...).
The problem is: what will be the use of such minimalistic/optimal but non-modular kernel?
If I add a new device (such a modem, a printer, new USB device...) or if I use a new disk with an other FS, the users of an autoconfiguration will be lost, but not the users of the vendors kernels.
Thus the real problem is: where will use such autoconfiguration? Why? IMHO it can be used only by expert, to find what drivers is need for such device (when hotplug cannot help you).
ciao
giacomo
Quoted 7 lines
Quoted 7 lines
This demonstrates a very important point - _any_ automatic configuration program is likely to cause more traffic to this mailing list, and create more work for users and developers that the current automatic configuration process:
echo 'My box doesn't boot' | mail [email protected]
Quoted 7 lines
Quoted 3 lines
The kernel knows nothing about motherboards, cards, etc. It knows about chipsets, and nothing else. By definition, you cannot have a kernel configurator that works at a higher level than that.
I disagree. When we have a booting kernel, finding out the used drivers is not so difficult: kernel give us already enough informations (modules loaded, in drivers that use some resources,...).
OK, so you can analyse the data from a fully modular kernel, then use that information to build a kernel with just the required hardware support built in.
That will tell you what drivers are in use for the chipsets that are present on your devices. If you remove your foobar ethernet adaptor, and replace it with a foobar ethernet adaptor from the same manufacturer, it may stop working. It doesn't achieve what the original poster wanted.
The problem is that when it doesn't work, and somebody posts to this list saying that it doesn't work, I strongly suspect that it's going to be a lot more time consuming figuring out why, then just telling them which option needs to be set in their .config.
Quoted 2 lines
The problem is: what will be the use of such minimalistic/optimal but non-modular kernel?
Well, I use non-modular kernels by default, mainly because Linux didn't have modular support when I first used it, and I don't really find the need for them. Most desktop users find them indispenable, though.
Quoted 7 lines
If I add a new device (such a modem, a printer, new USB device...) or if I use a new disk with an other FS, the users of an autoconfiguration will be lost, but not the users of the vendors kernels.
Thus the real problem is: where will use such autoconfiguration? Why? IMHO it can be used only by expert, to find what drivers is need for such device (when hotplug cannot help you).
There already is a kind of autoconfiguration - reading the help text for each option in xconfig usually says, "If you're not sure say [Y|N|M]". Why doesn't the new xconfig just have the ability to set all of the options the the recommended ones?
John