Bug 20806

Summary: config(8) does not know about BROKEN_KEYBOARD_RESET
Product: Base System Reporter: hohmuth <hohmuth>
Component: confAssignee: yokota <yokota>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description hohmuth 2000-08-23 18:30:01 UTC
If a kernel configuration file contains "options
BROKEN_KEYBOARD_RESET", config(8) does not prepare a working kernel
build directory.  Instead, it complains:

  FOO:59: unknown option "BROKEN_KEYBOARD_RESET"

AFAICT, option BROKEN_KEYBOARD_RESET is still valid; LINT still lists
it.

Fix: 

Workaround: Create a file /sys/i386/conf/options.<KERNELIDENT> that
contains the line:

BROKEN_KEYBOARD_RESET   opt_global.h
How-To-Repeat: 
  root(hohmuth)@caramba:/sys/i386/conf# grep BROKEN_KEYBOARD_RESET FOO
  options         BROKEN_KEYBOARD_RESET

  root(hohmuth)@caramba:/sys/i386/conf# config FOO
  FOO:59: unknown option "BROKEN_KEYBOARD_RESET"

  root(hohmuth)@caramba:/sys/i386/conf# cd ../../compile/FOO/

  root(hohmuth)@caramba:/sys/compile/FOO# make
  make: no target to make.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-24 09:51:19 UTC
Responsible Changed
From-To: freebsd-bugs->yokota

Over to the maintainer.
Comment 2 jedgar 2000-08-25 12:36:16 UTC
On Wed, 23 Aug 2000 hohmuth@innocent.com wrote:

> >Number:         20806
> >Category:       conf
> >Synopsis:       config(8) does not know about BROKEN_KEYBOARD_RESET
> 

Peter 'fixed' this a while back (see the log for
src/sys/i386/i386/vm_machdep.c).  See also
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12927 for a working fix.

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
Comment 3 hohmuth 2000-08-25 13:13:14 UTC
"Chris D. Faulhaber" <jedgar@fxp.org> writes:

> Peter 'fixed' this a while back (see the log for
> src/sys/i386/i386/vm_machdep.c).  See also
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12927 for a working fix.

The fix doesn't seem to have made it to 4.1-STABLE, though.

Michael
-- 
hohmuth@innocent.com, hohmuth@sax.de
http://www.sax.de/~hohmuth/
Comment 4 yokota freebsd_committer freebsd_triage 2000-08-26 05:19:46 UTC
State Changed
From-To: open->closed

Fixed by MFCing.