Re: Aunt Tillie builds a kernel (was Re: ISA hardware discovery -- the elegant solution)

Alex Bligh - linux-kernel
2002-01-15T21:39:10Z

--On Monday, 14 January, 2002 10:53 AM -0800 Larry McVoy <lm@bitmover.com>
wrote:

> Eric, your approach is pushing Aunt Tillie towards
> more variations and what the Aunt Tillie needs is less. Ditto for the
> distro vendors.

Not entirely.

If Aunt Tillie has (say) a laptop, I think she is likely to find that no
distribution kernel actually supports all features (sound, APM, etc.)
if the laptop is even moderately new. This from experience with
Redhat & Debian (perhaps the others are miles better). So she
does indeed have a reasonable need to compile a kernel.

However, Eric's approach (dmesg) is still flawed as normally
the way these distros fail is either (a) hanging on boot, or
(b) failing to detect the relevant hardware. Needless to say,
neither failure mode is going to give much use to a configurator
tool which looks at dmesg.

Eric: I think you'd be far better off trying to identify the
machine (and hence get a working .config) rather than the
hardware.

Example: put in some wget based thingy, which goes to some (fixed) web
site, searches for (some extracted or Tillie composed string) which
describes the hardware (bound to have been bought as-is and never opened),
pulls down a set of config files and heuristics to determine between them
(look at BIOS, or 'that model will always show this or that in the PCI
table') and guesses the correct (initial) config as tested by some other
user. This is the automated equivalent of going to www.google.com/linux,
typing your machine name followed by 'kernel .config'. If the site
it contacted was configurable by the distro, you'd then have
the distros praising you in that once they have solved the problem
for one IBM T23, they've solved it for all of them, without doing
a new release. And Aunt Tillie (apart from the module changes whatever)
can be using the kernel version etc. from their distro (recompiled),
rather than the latest 2.[2468].xx with lots of new bugs^Wunwanted
fixes in.

--
Alex Bligh