Subject: kern/25129: NetBSD 2.0_BETA panic() with DIAGNOSTIC + IPF + bind9
To: None <gnats-bugs@gnats.NetBSD.org>
From: Takahiro Kambe <taca@back-street.net>
List: netbsd-bugs
Date: 04/11/2004 02:52:57
>Number:         25129
>Category:       kern
>Synopsis:       NetBSD 2.0_BETA panic() with DIAGNOSTIC + IPF + bind9
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 10 17:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Takahiro Kambe
>Release:        NetBSD 2.0_BETA
>Organization:
	
>Environment:
	
	
System: NetBSD ns.back-street.net 2.0_BETA NetBSD 2.0_BETA (EPIA) #3: Sat Apr 10 23:14:56 JST 2004 taca@land.a.back-street.net:/data/i386/obj/sys/arch/i386/compile/EPIA i386
Architecture: i386
Machine: i386
>Description:
	NetBSD 2.0_BETA crash with DIAGNOSTIC + IPF + bind9.

>How-To-Repeat:
	Here is sure way to get crash dump.

	1. Compile kenrel with DIAGNOSTIC options and IP FIlter enabled.
	2. Start single user mode.
	3. Run thses commands:

		# sh /etc/rc.d/swap1 start
		# sh /etc/rc.d/fsck start
		# sh /etc/rc.d/ipfilter start
		# sh /etc/rc.d/network start
		# sh /etc/rc.d/named start (I assume it starts bind9.)

	After white panic() happen soreceive() in uipc_socket.c.
	It happens at innter of DIAGNOSTIC ifdefs.

	I've seen panic("receive 1") and panic("receive 1a").

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: