Subject: Re: effective configuration from config(8) after "no foo"
To: Rhialto <>
From: Quentin Garnier <>
List: current-users
Date: 12/20/2007 21:22:55
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 20, 2007 at 08:10:06PM +0100, Rhialto wrote:
> On Thu 20 Dec 2007 at 02:36:14 +0100, Quentin Garnier wrote:
> > Merely configuring this:
> >=20
> > include "arch/i386/conf/GENERIC"
> > no mca
> >=20
> > works, so I'm wondering what your configuration file exactly looks like.
> I've fiddled with it some more, but I can re-create the error condition.
> (This is with a -current from about a week ago, in case it matters)
> ../../../../arch/i386/conf/GENERIC:864: `ed* at edc?' is orphaned (nothin=
g matching `edc?' found)
> ../../../../arch/i386/conf/GENERIC:1338: `wsmouse* at btms?' is orphaned =
(nothing matching `btms?' found)
> *** Stop.
> The config file is attached since it is a bit long to put it inline.

While there is indeed an abnormal behaviour, it is because of the lines:

no something
no device at something?

The second one is not needed, as it is (kind of) implied by the first
line.  I.e., if you negate all instances of a driver, all its children
will be ignored, as otherwise they'd be orphans.

I'm still analysing why it happens, but in the end I should probably
error out on the second line, because the attachment is not provided by
any configured instance at that point.  Although such checks are
probably missing for other negations, too.  For instance, the following
passes, which is questionable:

no something
no something
no something

> > I'm pretty sure I still have it, so I can do it :)
> That sounds very useful to me. Please go ahead with committing it.

I'll see about that in a couple days.

Quentin Garnier - -
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.6 (NetBSD)