All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dennis Grant" <trog@wincom.net>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: A Kernel Configuration Tale of Woe
Date: Wed, 27 Nov 2002 12:52:45 -0500	[thread overview]
Message-ID: <3de507c7.1c64.0@wincom.net> (raw)

>On Tue, 2002-11-26 at 19:28, Dennis Grant wrote:

>> Agreed - so then the association between "board" 
>> and "chipset" must be capable of being multi-valued,
>> and when there is a mult-valued match there must be 
>> some means of further interrogating the user (or user agent)
>> for more information.

> Much simpler to just include "modular everything" and let
> user space sort it out. Guess why every vendor takes this path

Oh, OK... Now I see what you're getting at.

Build a kernel where everything is a module, boot with some sort of absolute-bare-minimum
bootloader kernel, and then self-configure dynamically. Either to, from there,
generate a specific kernel config file from which to build a box-specific kernel
- or just to hell with it, and self-configure every time at boot.

Well... yeah. Assuming all the modules can autodetect, or that there's some
sort of sane userspace module loader doing autodetection, reading from a config
file, or both... yeah, that works.

I'll be honest - certain aspects of this offends some of my asthetics... but
that's not a requirement. Functionality is.

And with the assumption that all the modules needed, plus the mechanism to determine
if a given module is/is not loaded (and if loaded, how it is to be configured)
are availible on the box, this is 100% functional.

But....

I don't think this would have solved any of my problems.

I haven't had the opportunity to test it yet, but I have every confidence that
my ATA speed problems are a product of an incompletely-supported motherboard
chipset (wrt the kernel I compiled), and that once the 20-pre3+ac patches are
applied, that I'll have the correct drivers availible and everything will Just
Work. Certainly this was the case with the onboard Ethernet (I had to track
down a vendor driver, as it appears there is no support anywhere in a 2.4 series
kernel as of yet).

So even if 2.4.19 _had_ the "everything as modules" option, plus the required
userspace glue, you'd still be hearing from me, because there is no module there
to be autoloaded that matches my hardware.

And then there's still the issue of enough information being presented out of
the modules to allow one to examine the dmesg output from a boot and actually
determine that modules were missing (or missing features, or whatever)

So I think there's still a need for the hardware->kernel version+config database.
Perhaps the need for the query mechanism to generate an actual working kernel
config is less than I first imagined, but certainly the ability to generate
(if nothing else) the minimum kernel version required to support a give set
of hardware has value - it would have kept me away at least. :)

DG 

             reply	other threads:[~2002-11-27 17:36 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27 17:52 Dennis Grant [this message]
2002-11-27 18:01 ` A Kernel Configuration Tale of Woe Alex Riesen
  -- strict thread matches above, loose matches on Subject: below --
2002-11-27 17:47 Mark H. Wood
     [not found] <fa.ivlir9v.u14v3p@ifi.uio.no>
     [not found] ` <fa.gaum5rv.1j3snhh@ifi.uio.no>
2002-11-27  8:43   ` Giacomo Catenazzi
2002-11-27 10:12     ` John Bradford
2002-11-26 19:28 Dennis Grant
2002-11-26 19:45 ` John Bradford
2002-11-27 10:55   ` Keith Owens
2002-11-27 12:03     ` Roman Zippel
2002-11-27 12:19       ` Keith Owens
2002-11-27 19:01         ` Sam Ravnborg
2002-11-27 19:14         ` Kai Germaschewski
2002-11-26 20:05 ` Alan Cox
2002-11-26 23:21   ` Roger Gammans
2002-11-27  6:10     ` Greg KH
2002-11-26 17:57 Dennis Grant
2002-11-26 18:11 ` Andrew Walrond
2002-11-26 18:24   ` Rusty Lynch
2002-11-26 23:46     ` Lee Leahu
2002-11-26 15:35 Dennis Grant
2002-11-26 17:01 ` Kai Henningsen
2002-11-26 17:35 ` Rusty Lynch
2002-11-26 18:04   ` Dimitrie O. Paun
2002-11-26 18:46     ` Alan Cox
2002-11-26 18:48 ` Richard B. Johnson
2002-11-26  9:15 Thomas Hood
2002-11-25 19:30 Dennis Grant
2002-11-25 20:00 ` Richard B. Johnson
2002-11-26 10:57   ` Adrian Bunk
2002-11-26 14:44     ` Alan Cox
2002-11-26 12:33 ` Andrew Walrond
2002-11-28 22:09   ` LA Walsh
2002-11-29  1:28     ` Miles Bader
2002-11-29 10:04       ` Andrew Walrond
2002-11-29 10:21         ` Miles Bader
2002-11-25 17:33 Dennis Grant
2002-11-25 18:10 ` Richard B. Johnson
2002-11-25 18:58   ` Samuel Flory
2002-11-26 16:58   ` Kai Henningsen
2002-11-26  4:24 ` Theodore Ts'o
2002-11-26  8:21 ` john slee
2002-11-26  8:35   ` Brad Hards
2002-11-26 19:59     ` Otto Wyss
2002-11-27  0:29       ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3de507c7.1c64.0@wincom.net \
    --to=trog@wincom.net \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.