From citylink.dinoex.sub.org!admin@net2.dinoex.sub.org  Wed Jun 25 12:00:37 1997
Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA08816
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jun 1997 12:00:35 -0700 (PDT)
Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193])
          by mail.Contrib.Com (8.8.4/8.8.4) with SMTP
	  id VAA24124 for <freebsd.org!FreeBSD-gnats-submit>; Wed, 25 Jun 1997 21:00:21 +0200 (MET DST)
Received: from citylink.dinoex.sub.org by net2.dinoex.sub.org with uucp
	(Smail3.1.29.1 #1) id m0wgxNg-000EEqC; Wed, 25 Jun 97 21:05 CEST
Received: (from admin@localhost) by citylink.dinoex.sub.org (8.8.5/PMuch-B3b)
	id QAA09244; Wed, 25 Jun 1997 16:35:38 +0200 (CEST)
Message-Id: <199706251435.QAA09244@citylink.dinoex.sub.org>
Date: Wed, 25 Jun 1997 16:35:38 +0200 (CEST)
From: admin@citylink.dinoex.sub.org (Maschinenwart)
Reply-To: admin@citylink.dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: kern-config: options PANIC_REBOOT_WAIT_TIME doesn't work
X-Send-Pr-Version: 3.2

>Number:         3953
>Category:       kern
>Synopsis:       kern-config: options PANIC_REBOOT_WAIT_TIME doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 12:10:01 PDT 1997
>Closed-Date:    Mon Jun 26 04:51:25 PDT 2000
>Last-Modified:  Mon Jun 26 04:52:22 PDT 2000
>Originator:     Peter Much
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Beyond the Future Shockwave: Convenience or Conviviality?
>Environment:

>Description:

giving the option PANIC_REBOOT_WAIT_TIME=<some_value> in the kernel
config file doesn't make it into the kernel.
Reason: This option is put into opt_machdep.h; while the respective
#define is needed in kern/kern_shutdown.c --- but kern/kern_shutdown.c
doesn't load opt_machdep.h, but only opt_ddb.h.

>How-To-Repeat:

>Fix:

	$ diff i386/conf/options.i386.orig i386/conf/options.i386
	11c11
	< PANIC_REBOOT_WAIT_TIME        opt_machdep.h
	---
	> PANIC_REBOOT_WAIT_TIME        opt_ddb.h
>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: admin@citylink.dinoex.sub.org, FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: kern/3953: kern-config: options PANIC_REBOOT_WAIT_TIME doesn't work
Date: Thu, 26 Jun 1997 20:01:21 +1000

 >giving the option PANIC_REBOOT_WAIT_TIME=<some_value> in the kernel
 >config file doesn't make it into the kernel.
 >Reason: This option is put into opt_machdep.h; while the respective
 >#define is needed in kern/kern_shutdown.c --- but kern/kern_shutdown.c
 >doesn't load opt_machdep.h, but only opt_ddb.h.
 
 PANIC_REBOOT_WAIT_TIME has nothing to do with either ddb or machdep.c
 (opt_machdep.h is for options in machdep.c, and kern_shutdown.c is
 supposed to be machine-independent).
 
 This was broken when kern_shutdown.c was split off from machdep.c.
 
 SHOW_BUSYBUFS is broken in the same way.
 
 Bruce
State-Changed-From-To: open->analyzed 
State-Changed-By: bde 
State-Changed-When: Sun Aug 31 16:08:44 PDT 1997 
State-Changed-Why:  
Fixed in -current. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: nbm 
State-Changed-When: Mon Jun 26 04:51:25 PDT 2000 
State-Changed-Why:  
Fix in 1997's -current means that we have this in 3.x and older, and 
this can be closed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3953 
>Unformatted:
