Subject: port-i386/28846: new kernel won't reliably boot (rc.conf problems?)
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <htodd@twofifty.com>
List: netbsd-bugs
Date: 01/03/2005 06:33:00
>Number:         28846
>Category:       port-i386
>Synopsis:       new kernel won't reliably boot (rc.conf problems?)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 03 06:33:00 +0000 2005
>Originator:     H. Todd Fujinaka
>Release:        NetBSD 2.99.12
>Organization:
None
>Environment:
	
	
System: NetBSD kerry.i8u.org 2.99.11 NetBSD 2.99.11 (KERRY) #31: Sat Dec 25 11:10:28 PST 2004 htodd@kerry.i8u.org:/usr/obj/sys/arch/i386/compile.i386/KERRY i386
Architecture: i386
Machine: i386
>Description:
The environment is incorrect for the bug. My 2.99.11 kernel will boot but my 2.99.12 kernel will not. Depending on the system, the boot halts with different rc scripts. The recent changes include /etc/rc.d/fixsb, /etc/rc.d/ipfilter and the inclusion of rc.d scripts from pkgsrc.

Note: the 2.99.12 kernel WILL BOOT if rc_fast_and_loose is enabled.

	
>How-To-Repeat:
I use the following rc.conf:

# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overridden below.
#
if [ -r /etc/defaults/rc.conf ]; then
	. /etc/defaults/rc.conf
fi

# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES

# Add local overrides below
#
hostname=kerry.i8u.org

newsyslog=YES
quota=NO

rtclocaltime=YES

dhclient=YES
dhclient_flags="wm0"

rpcbind=YES

ntpd=YES
lpd=YES
sshd=YES

sendmail=YES
smmsp=YES

ntpd_chrootdir="/var/chroot/ntpd"

xfs=YES

mountd=YES
nfs_client=YES
nfs_server=YES
lockd=YES
statd=YES
amd=YES
amd_flags="-l syslog -x error,noinfo,nostats"
amd_dir=/amd

mixerctl=YES

smartd=YES

mysqld=YES

famd=YES

nmbd=NO
winbindd=NO
smbd=NO
slapd=NO
slurpd=NO
mailman=NO

ipfilter=NO
apache=NO
snmpd=NO
snmptrapd=NO
freshclamd=YES
clamd=NO
thttpd=NO
spamd=NO
spamass_milter=NO

	
>Fix:
	Use an older kernel, or set rc_fast_and_loose=YES.

	I haven't checked to see if the second option will hang the system.

>Unformatted: