NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/41117: ddb.onpanic=0 in default sysctl.conf(5) could cause error



The following reply was made to PR install/41117; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, install-manager%netbsd.org@localhost, 
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/41117: ddb.onpanic=0 in default sysctl.conf(5) could cause 
error
Date: Wed, 1 Apr 2009 09:16:51 -0400

 On Apr 1, 11:45am, tsutsui%ceres.dti.ne.jp@localhost 
(tsutsui%ceres.dti.ne.jp@localhost) wrote:
 -- Subject: install/41117: ddb.onpanic=0 in default sysctl.conf(5) could caus
 
 | >Number:         41117
 | >Category:       install
 | >Synopsis:       ddb.onpanic=0 in default sysctl.conf(5) could cause error
 | >Confidential:   no
 | >Severity:       non-critical
 | >Priority:       high
 | >Responsible:    install-manager
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Wed Apr 01 11:45:00 +0000 2009
 | >Originator:     Izumi Tsutsui
 | >Release:        NetBSD 5.0_RC3
 | >Organization:
 | >Environment:
 | System: NetBSD/sparc default install, but affects all ports
 | Architecture: sparc
 | Machine: sparc
 | >Description:
 | The default sysctl.conf(5) file now has an entry of "ddb.onpanic=0"
 | to avoid ddb prompt on running system, but that ddb.onpanic sysctl
 | node is only available on kernels with options DDB.
 | 
 | On sparc the default GENERIC kernel doesn't have options DDB,
 | so the above ddb.onpanic entry in sysctl.conf causes
 | the following error message
 | >> sysctl: second level name 'onpanic' in 'ddb.onpanic' is invalid
 | on every reboot.
 | 
 | >How-To-Repeat:
 | Install NetBSD/sparc 5.0_RC3 and boot it to multiuser.
 | 
 | >Fix:
 | There are several suggestions in source-changes-d thread:
 | 
 | - add an option to sysctl(8) to ignore error
 |   http://mail-index.NetBSD.org/source-changes-d/2009/03/29/msg000144.html
 | 
 | - introduce a new syntax for sysctl(8) to see if the specified node is vaild
 |   http://mail-index.netbsd.org/source-changes-d/2009/03/29/msg000148.html
 | 
 | But for 5.0 release, we might need simpler workaround.
 | (adding a dummy ddb.onpanic stub for !DDB case in some source?)
 | 
 
 It is simpler and adds consistency to add ddb to the sparc kernel.
 
 christos
 


Home | Main Index | Thread Index | Old Index