From owner-freebsd-bugs Wed May 7 18:40:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA00799 for bugs-outgoing; Wed, 7 May 1997 18:40:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA00784; Wed, 7 May 1997 18:40:03 -0700 (PDT) Date: Wed, 7 May 1997 18:40:03 -0700 (PDT) Message-Id: <199705080140.SAA00784@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: conf/3526: Bug in config(8) mechanism Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR conf/3526; it has been noted by GNATS. From: Bruce Evans To: FreeBSD-gnats-submit@FreeBSD.ORG, hm@kts.org Cc: Subject: Re: conf/3526: Bug in config(8) mechanism Date: Thu, 8 May 1997 11:34:15 +1000 > config(8) fails to properly configure drivers which name ends > in digits: > > A line in the kernel config file: > > pseudo-device bisdnq921 This is a bug in your config line. In config syntax, `bisdnq921' consists of 2 tokens, `bisdnq' and `921'. It specifies 921 units for the pseudo-device bisdnq. When there is no bisdnq device listed in /sys/conf/files or /sys/i386/conf/files.i386, this line is completely ignored. (This is probably a bug. It also causes problems for misspelled driver names, e.g., `snoop' instead of `snp'.) Since you have a bisdnq921 device in the file lists but no driver for this device is configured, you bisdnq921.h with NBSDNQ921 = 0 in it. The problem is more obvious for pseudo-device bisdnq921 1 This specifies the number of devices twice, which is a syntax error. "bisdn921" should work. Bruce