All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dennis Grant" <trog@wincom.net>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>, Adrian Bunk <bunk@fs.tum.de>,
	"Richard B. Johnson" <root@chaos.analogic.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: A Kernel Configuration Tale of Woe
Date: Tue, 26 Nov 2002 10:35:14 -0500	[thread overview]
Message-ID: <3de395e1.2c79.0@wincom.net> (raw)

> I think he missed the solution rather than missing the 
> problem 

I think I may agree with you, to a point, in that (after further reflection)
I think there's an intermediate step between the current state and the magical
world of "make partsconfig" or even "make autoconfig"

The real problem is the difficulty in mapping a given hardware configuration
to a kernel version and a subsequent kernel configuration. There's no smooth
road to get from one to the other. Paving that road solves the problem; the
only question is of degree. The "make autoconfig" case is the ideal, but we
don't necessarily need the ideal. Perfect is the enemy of good enough.

I started doing a little doodling, and I came up with a very rough sort of relationship
map. I don't present this as the ideal data model - it's a start point at best.


A "box" is composed of "devices" and "subcomponents"
A "subcomponent" is composed of "chipsets"
A "chipset" provides a set of "capabilities"
A "device" requires a  set of "capabilities"
A "chipset->capability::capablility<-device" pair defines an "interface"
An "interface" has associated with it:
   a) the kernel version where it first became availible
   b) the kernel config switches that activate it

So what is needed is some way to start at the "box" level, and given the set
of subcomponents and devices associated with it, spit out a list of a) and b)


Here's the mini-eureka I've had - that need not actually be a part of the kernel
config system, although the kernel config system might potentially make use
of it.

What would suffice would be some sort of online database, published in a highly
visible location, and crosslinked from hell and back to make it likely to be
discovered in a Google-driven troubleshooting session. Provide motherboard make
and model (a subcomponent) any expansion cards (also subcomponents) and the
make and model numbers of drives et al (devices) and then query the database
and present the report.

I'm envisioning something very much like the CDDB service. This is a little
more complex, but the concept is similar. And like the CDDB service, it could
be queried over the network by some future "make" option if somebody decided
to implement that.

Also like the CDDB service, it makes use of network effects. No one person has
to populate the _entire_ database. The association of "subcomponents" to "chipsets"
(or "devices" to "capabilities") might be done by the manufacturer, or it might
be done by the developer who actually debugged the original driver instance,
or it might even be done by someone like myself (a sufficiently clued-in sysadmin
who did it the hard way and wants to help those who will follow after him)

All that matters is that _somebody_ contribute one little portion of the mapping,
and then, given enough somebodies, the entire map assembles itself.

And if Microsoft hasn't dared attempt such a thing... well, then that would
make it an "innovation", wouldn't it? ;)

DG 

             reply	other threads:[~2002-11-26 15:19 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 15:35 Dennis Grant [this message]
2002-11-26 17:01 ` A Kernel Configuration Tale of Woe 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
  -- strict thread matches above, loose matches on Subject: below --
2002-11-27 17:52 Dennis Grant
2002-11-27 18:01 ` Alex Riesen
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  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=3de395e1.2c79.0@wincom.net \
    --to=trog@wincom.net \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /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.