Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 1997 18:14:23 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        daniel_sobral@voga.com.br
Cc:        tlambert@primenet.com, hackers@FreeBSD.ORG
Subject:   Re: Why so many steps to build new kernel?
Message-ID:  <199712151814.LAA18539@usr05.primenet.com>
In-Reply-To: <8325656E.003FF988.00@papagaio.voga.com.br> from "daniel_sobral@voga.com.br" at Dec 15, 97 08:45:43 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > The idea that there needs to be a mechanism for handling mutual
> > exclusions presupposes (incorrectly, IMO), that some drivers are
> > mutually exclusive.
> 
> Well, as far as I know, syscon and the vt stuff are mutually exclusive.
> And, generally, speaking, two drivers to the same piece of hardware will be
> mutually exclusive. That's not that unlikely to ignore the possibility.

The first one to grab the hardware gets it.  If you want to prefer
one driver over the other, you link it first so it gets first shot
at the SYSINIT.  If you want to configure one to be first at run time
instead of at link time: use an ELF archiver.


> > Similarly, prerequisite identification is well and good, but can be
> > done symbolically, without reference to a kernel configurator.
> 
> Similarly, the kernel configurator should not display syscon's history
> buffer size option if you did not select syscon.

A data section groveller would allow you to set this type of thing;
we currently have three of them, counting sysinit/rc.conf.


> > So what's left for a kernel configurator to do?
> 
> > ...Nothing.
> 
> In a perfect world, with elf kernel, PnP PCI devices, devfs, and well
> behaviored hardware, sure, nothing's left to do.
> 
> (except that, there probably would be even then)

So why work on (or argue heatedly about) code that's going to go away?

There's no need for a build-time configurator, in any case.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712151814.LAA18539>