public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [kbuild-devel] Re: CML2 design philosophy heads-up
@ 2001-05-18 20:04 Wayne.Brown
  2001-05-18 20:43 ` Alan Cox
  2001-05-18 20:56 ` Mike Castle
  0 siblings, 2 replies; 57+ messages in thread
From: Wayne.Brown @ 2001-05-18 20:04 UTC (permalink / raw)
  To: esr; +Cc: Alan Cox, Keith Owens, CML2, kbuild-devel



On 05/18/2001 at 02:44:07 PM esr@thyrsus.com wrote:

>But the real question is whether the old tools have enough value to be
>worth the effort.  What problem are you trying to solve here?


How about:



1.  Some of us are perfectly satisfied with the existing tools and don't want
      them to be yanked out from under us.

2.  Some of us have no interest in Python and don't like being forced to deal
      with installing/upgrading it just for CML2.



Wayne



^ permalink raw reply	[flat|nested] 57+ messages in thread
* Re: [kbuild-devel] Re: CML2 design philosophy heads-up
@ 2001-05-18 22:52 Wayne.Brown
  0 siblings, 0 replies; 57+ messages in thread
From: Wayne.Brown @ 2001-05-18 22:52 UTC (permalink / raw)
  To: Mike Castle; +Cc: CML2



On 05/18/2001 at 03:56:50 PM Mike Castle <dalgoda@ix.netcom.com> wrote:

>On Fri, May 18, 2001 at 03:04:43PM -0500, Wayne.Brown@altec.com wrote:
>> 1.  Some of us are perfectly satisfied with the existing tools and don't want
>>       them to be yanked out from under us.
>
>Then stay with 2.4.x
>

Since doing kernel upgrades is my whole reason for using the tools, that's not a
very helpful suggestion.  It's a little like saying, "If you don't like the way
the air smells, just stop breathing."

>> 2.  Some of us have no interest in Python and don't like being forced to deal
>>       with installing/upgrading it just for CML2.
>
>
>Some don't like installing/upgrading the following just for a kernel:
>
>gcc
>binutils
>modutils
>mount
>Not to mention netfilter.

I don't especially like upgrading these things, either, and don't do it unless I
absolutely have to (that's why I'm still on egcs-2.91.66), but the kernel is
important enough to be worth the trouble.  If I have to use CML2 to move into
2.5.x, then I will.  However, upgrading a programming language I don't use, just
so I can replace a perfectly good tool with one I don't want, in order to do a
job that's always been easy to accomplish with the existing tools... well, that
seems a lot like a solution in search of a problem.

Fortunately, Alan's response about someone re-writing CML2 in C offers hope for
at least part of the issue.

Wayne



^ permalink raw reply	[flat|nested] 57+ messages in thread
* Re: [kbuild-devel] Re: CML2 design philosophy heads-up
@ 2001-05-18 17:11 Wayne.Brown
  0 siblings, 0 replies; 57+ messages in thread
From: Wayne.Brown @ 2001-05-18 17:11 UTC (permalink / raw)
  To: arjanv; +Cc: Eric S. Raymond, linux-kernel



On 05/18/2001 at 11:45:40 AM arjanv@redhat.com wrote:

>I hereby volunteer to maintain at least make oldconfig and make config,
>and perhaps make menuconfig.

THANK YOU THANK YOU THANK YOU!!!  I'm quite happy with the current form of
oldconfig and menuconfig, and will continue to use them as long as they're
available.

Wayne



^ permalink raw reply	[flat|nested] 57+ messages in thread
* Re: CML2 design philosophy heads-up
  2001-05-18 14:53 Eric S. Raymond
@ 2001-05-18 15:09 Keith Owens
  2001-05-18 15:39 ` Alan Cox
  1 sibling, 1 reply; 57+ messages in thread
From: Keith Owens @ 2001-05-18 15:09 UTC (permalink / raw)
  To: CML2; +Cc: kbuild-devel

cc trimmed back to mailing lists only.

On Fri, 18 May 2001 10:53:53 -0400, 
"Eric S. Raymond" <esr@thyrsus.com> wrote:
>   (a) Back off the capability approach.  That is, accept that 
>       people doing configuration are going to explicitly and 
>       exhaustively specify low-level hardware.

No, you loose one of the nicer features of CML2.

>   (b) Add complexity to the ruleset.  Split SCSI into SCSI_MIDLEVEL and 
>       SCSI_DRIVERS capabilities, make sure SCSI_DRIVERS is implied
>       whenever a SCSI card is configured, etc.

As a specific case this needs doing anyway, to handle SCSI emulation
over IDE, irrespective of the board type.  It needs mid layer but no
SCSI driver and can be done on a PC right now.

As a general question, I prefer selecting machine type foo to mean just
that, you get the devices supported by foo.

>   (c) Decide not to support this case and document the fact in the
>       rulesfile.  If you're going put gunge on the VME bus that replaces
>       the SBC's on-board facilities, you can hand-hack your own configs.

In general this is the best option, if you create a non-standard
configuration for machine foo then it is your problem, not everybody
else's.


^ permalink raw reply	[flat|nested] 57+ messages in thread
* Re: CML2 design philosophy heads-up
@ 2001-05-18 14:53 Eric S. Raymond
  2001-05-18 15:38 ` Alan Cox
  2001-05-18 16:02 ` Kai Germaschewski
  0 siblings, 2 replies; 57+ messages in thread
From: Eric S. Raymond @ 2001-05-18 14:53 UTC (permalink / raw)
  To: Alan Cox; +Cc: Tom Rini, Michael Meissner, Keith Owens, CML2, kbuild-devel

Alan Cox <alan@lxorguk.ukuu.org.uk>:
> I was under the impression the MVME had VME bus. So you can hang IDE off it
> and other gunge. Its also a reference design so you may find MVME147 like
> boards..

Urk.  Alan is right, I misinterpreted the original question.  There is
no on-board support for IDE or PCMCIA, but you could plug in an IDE
daughterboard with an IDE drive or a PCMCIA slot.  This would be a
pretty damn perverse thing to do, however -- there are newer, less
expensive, faster, and generally better SBCs that have IDE/ATAPI and
PCMCIA built in.  On top of that, VMEbus SBCs aren't normally used for
consumer devices -- their market is basically industrial-control
applications with a side of scientific instrumentation.

That being the case, we do face a question of design
philosophy, expressed as a policy question about how to design
rulesets.  Actually two questions:

1. When we have a platform symbol for a reference design like MVME147, do 
   we stick to its spec sheet or consider it representative of all derivatives
   (which may have other facilities)?

I know my answer to this one, which I will implement unless there's
strong consensus otherwise.  I go for explicitness.  If we're going to
support MVME147 derivatives and variants in the ruleset, they get
their own platform symbols.

2. How much extra tsuris should we accept in order to handle
   perverse edge cases like this one?  There are three ways we
   can cope:

   (a) Back off the capability approach.  That is, accept that 
       people doing configuration are going to explicitly and 
       exhaustively specify low-level hardware.

   (b) Add complexity to the ruleset.  Split SCSI into SCSI_MIDLEVEL and 
       SCSI_DRIVERS capabilities, make sure SCSI_DRIVERS is implied
       whenever a SCSI card is configured, etc.

   (c) Decide not to support this case and document the fact in the
       rulesfile.  If you're going put gunge on the VME bus that replaces
       the SBC's on-board facilities, you can hand-hack your own configs.

I don't want to do (a); it conflicts with my design objective of
simplifying configuration enough that Aunt Tillie can do it.  I won't 
do that unless I see a strong consensus that it's the only Right Thing.

The larger question in choosing between (b) and (c) is one of the usual ones
in programming -- that is, generality vs. maintainability.  Is it ever 
acceptable for the configuration system to deliberately punt an edge case
like this one in order to keep from having a combinatorial-complexity
explosion in the ruleset?

I know what my sense of taste and proportion says.  But I'm not going
to impose my vision on everybody.  If you have an opinion, I'd like
to hear it.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Whether the authorities be invaders or merely local tyrants, the
effect of such [gun control] laws is to place the individual at the 
mercy of the state, unable to resist.
        -- Robert Anson Heinlein, 1949

^ permalink raw reply	[flat|nested] 57+ messages in thread
* CML2 design philosophy heads-up
@ 2001-05-05 23:27 Eric S. Raymond
  2001-05-13 14:22 ` Jes Sorensen
  0 siblings, 1 reply; 57+ messages in thread
From: Eric S. Raymond @ 2001-05-05 23:27 UTC (permalink / raw)
  To: CML2, kbuild-devel

I've said before on these lists that one of the purposes of CML2's single-apex
tree design is to move the configuration dialog away from low-level platform-
specific questions towards higher-level questions about policy or intentions.

Or to put another way: away from hardware, towards capabilities.

As a concrete example, the CML2 rulesfile master for the m68k port
tree now has a section that looks like this:

# These were separate questions in CML1.  They enable on-board peripheral
# controllers in single-board computers.
derive MVME147_NET from MVME147 & NET_ETHERNET
derive MVME147_SCC from MVME147 & SERIAL
derive MVME147_SCSI from MVME147 & SCSI
derive MVME16x_NET from MVME16x & NET_ETHERNET
derive MVME16x_SCC from MVME16x & SERIAL
derive MVME16x_SCSI from MVME16x & SCSI
derive BVME6000_NET from BVME6000 & NET_ETHERNET
derive BVME6000_SCC from BVME6000 & SERIAL
derive BVME6000_SCSI from BVME6000 & SCSI

# These were separate questions in CML1
derive MAC_SCC from MAC & SERIAL
derive MAC_SCSI from MAC & SCSI
derive SUN3_SCSI from (SUN3 | SUN3X) & SCSI

If it isn't obvious, the intent is that if you specify (say) both 
MVME147 (a machine type) and SERIAL (a capability) you automatically 
get the specific driver support under MVME147_SCC.

This is different from the CML1 approach, which generally involved
explicitly specifying each driver with mutual dependencies described 
(if at all) in Configure.help.

I've created a number of derivations of this kind recently.  I'm not
going out of my way to do this, but what I am trying to do is reduce
the number of symbols undocumented in Configure.help to zero (I've got
it down to 243 from 547 when I started).  When I can eliminate the
need for a configuration question and associated help by writing this
kind of formula, I'm doing so.

This note is a heads-up.  If others with a stake in the configuration
system (port managers, etc.) have objections to moving further in this
direction, I need to hear about it, and about what you think we should
be doing instead.
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Never could an increase of comfort or security be a sufficient good to be
bought at the price of liberty.
	-- Hillaire Belloc

^ permalink raw reply	[flat|nested] 57+ messages in thread

end of thread, other threads:[~2001-05-21 19:01 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 20:04 [kbuild-devel] Re: CML2 design philosophy heads-up Wayne.Brown
2001-05-18 20:43 ` Alan Cox
2001-05-18 20:56 ` Mike Castle
  -- strict thread matches above, loose matches on Subject: below --
2001-05-18 22:52 Wayne.Brown
2001-05-18 17:11 Wayne.Brown
2001-05-18 15:09 Keith Owens
2001-05-18 15:39 ` Alan Cox
2001-05-18 15:58   ` [kbuild-devel] " Eric S. Raymond
2001-05-18 16:01     ` Alan Cox
2001-05-18 16:34       ` Eric S. Raymond
2001-05-18 16:43         ` Christoph Hellwig
2001-05-18 16:45         ` Arjan van de Ven
2001-05-18 17:17           ` Eric S. Raymond
2001-05-18 17:22             ` Arjan van de Ven
2001-05-18 17:25               ` Eric S. Raymond
2001-05-19  5:54           ` Ben Ford
2001-05-18 17:33         ` Alan Cox
2001-05-18 18:25           ` Eric S. Raymond
2001-05-18 19:13             ` Alan Cox
2001-05-18 19:44               ` Eric S. Raymond
2001-05-18 20:38                 ` Alan Cox
2001-05-19  1:49         ` Aaron Lehmann
2001-05-18 14:53 Eric S. Raymond
2001-05-18 15:38 ` Alan Cox
2001-05-18 16:04   ` Eric S. Raymond
2001-05-18 16:09     ` [kbuild-devel] " Christoph Hellwig
2001-05-18 16:43       ` Michael Meissner
2001-05-18 17:13         ` Arjan van de Ven
2001-05-18 17:22         ` Eric S. Raymond
2001-05-18 17:42           ` Christoph Hellwig
2001-05-18 17:42             ` Alan Cox
2001-05-18 18:28             ` John Cowan
2001-05-18 16:02 ` Kai Germaschewski
2001-05-05 23:27 Eric S. Raymond
2001-05-13 14:22 ` Jes Sorensen
2001-05-13 15:25   ` Eric S. Raymond
2001-05-15 20:32     ` Jes Sorensen
2001-05-15 21:33       ` Eric S. Raymond
2001-05-18 15:19         ` Jes Sorensen
2001-05-18 15:51           ` [kbuild-devel] " John Cowan
2001-05-18 15:58             ` Christoph Hellwig
2001-05-18 16:00               ` John Cowan
2001-05-18 17:15                 ` Mike Castle
2001-05-18 17:28                   ` Christoph Hellwig
2001-05-21  0:29             ` Jes Sorensen
2001-05-21  1:58               ` Mike Castle
2001-05-21  6:33                 ` Ben Ford
2001-05-21  9:55                   ` Jes Sorensen
2001-05-21 16:59                   ` Mike Castle
2001-05-21 17:03                     ` Alan Cox
2001-05-21  7:21                 ` arjan
2001-05-21  2:10               ` Robert M. Love
2001-05-21  2:35                 ` Jakob Østergaard
2001-05-21  5:01                   ` Mike Galbraith
2001-05-21  9:58                   ` Jes Sorensen
2001-05-21 15:36                     ` Tom Rini
2001-05-21 16:24                       ` Eric S. Raymond
2001-05-21  6:11                 ` Mike A. Harris
2001-05-21 12:08                   ` Robert M. Love
2001-05-21 12:29                     ` Alan Cox
2001-05-21 16:39                       ` Brent D. Norris
2001-05-21 17:48                         ` Eric S. Raymond
2001-05-21 15:18                   ` Wichert Akkerman
2001-05-21 15:21                     ` Alan Cox
2001-05-21 15:52                     ` Alexander Viro
2001-05-21  3:47               ` Nicolas Pitre
2001-05-18 16:22           ` Steven Cole
     [not found]   ` <0105210958040I.10237@spc.esa.lanl.gov>
     [not found]     ` <20010521090130.F9965@opus.bloom.county>
2001-05-21 16:13       ` Steven Cole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox