Subject: kern/22272: config dependency problems
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <vugdeox@freeshell.org>
List: netbsd-bugs
Date: 07/26/2003 00:27:03
>Number:         22272
>Category:       kern
>Synopsis:       config dependency problems
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 26 00:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nate Hill
>Release:        NetBSD-current (200307130000)
>Organization:
>Environment:
NetBSD cryogen 1.6U NetBSD 1.6U (CRYOGEN) #4: Fri Jul 25 19:12:09 CDT 2003  vugdeox@gimp:/sys/arch/i386/compile/CRYOGEN i386
>Description:
I noticed a few problems while building a custom -current kernel:

- config doesn't notice that 'file-system CODA' needs psuedo-device vcoda and allows you to create a doomed compile tree.

- config doesn't seem to handle the new "bus" interface properly:

For instace, I can enable auich* somewhere and not enable an audio device for it. Config doesn't notice this problem because, audio now attaches to audiobus and there is no direct dependency (am I crazy or does this seem strange?). This is also noticeable in the firewire section except, fwohci doesn't need a fw device to compile.

I can understand this new bus layer but it seems that neither eap or auich will compile without audio and config doesn't seem to know this anymore.

I stupidly trashed the errors but, there were just undefined references (something_attach). They should be easily reproducible.	
>How-To-Repeat:
try to build a config with eap or auich and no audio device
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: