Subject: kern/22010: "ifconfig pppoe0 down" drops system into DDB
To: None <gnats-bugs@gnats.netbsd.org>
From: Bob Kemp <bob+dated+1059481423.2334a7@allegory.demon.co.uk>
List: netbsd-bugs
Date: 06/29/2003 14:23:43
>Number:         22010
>Category:       kern
>Synopsis:       "ifconfig pppoe0 down" drops system into DDB
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 29 12:24:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bob Kemp
>Release:        NetBSD 1.6U
>Organization:
>Environment:
System: NetBSD boucle.loc 1.6U NetBSD 1.6U (BOUCLE) #0: Tue Jun 24 18:39:10 CEST 2003  bob@tenebres.loc:/usr/src/sys/arch/i386/compile/BOUCLE i386
Architecture: i386
Machine: i386
>Description:
	If there is a program (eg named) listening on the pppoe0 interface
	when I bring it down, the system falls into DDB immediately with the following error (hand copied).

			    UVM FAULT (0xc8bd1540, 0, 0, 1) -> 0xe
	    kernel: page fault trap, code = 0
	    Stopped in pid 220.1 (named) at NetBSD:in_pcbconnect+0x19c: movl    0x60(%ebx), %eax

	If I first stop all processes that are listening on pppoe0 and then down the i/f everything is fine.

>How-To-Repeat:
	su
	/etc/rc.d/named restart
	ifconfig pppoe0 down
	<BANG>

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 		23/24 Jun 2003