Subject: kern/29444: consistent panic -- ifconfig vlan101
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <mtbakerguy@netbsd.org>
List: netbsd-bugs
Date: 02/19/2005 02:06:00
>Number:         29444
>Category:       kern
>Synopsis:       consistent panic -- ifconfig vlan101
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 19 02:06:00 +0000 2005
>Originator:     knotwell
>Release:        2.0
>Organization:
>Environment:
NetBSD bradwkstn 2.0 NetBSD 2.0 (BRAD) #1: Thu Dec  9 01:33:14 GMT 2004  root@bradwkstn:/usr/src/sys/arch/i386/compile/BRAD i386
>Description:
If I setup a vlan in the following manner:

   ifconfig vlan101 create
   ifconfig vlan101 vlan 101 vlanif fxp0
   ifconfig vlan101 192.168.N.M
   
I'll consistently get a panic on reboot when the  ifconfig vlan101 destroy command is issued out of /etc/rc.d/network.

A quick look at a stack trace from ddb showed a crash in if_detach + 0x1b8 right below if_clone_destroy.


>How-To-Repeat:
reboot
>Fix:
workaround:  comment out the destroy stanza in /etc/rc.d/network

fix:  none yet.  If someone has something they'd like me to try, contact me since it's a trivial reproduction for me.  Otherwise, I'll just live with the workaround.