From owner-freebsd-i386@FreeBSD.ORG Tue May 23 17:40:21 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E45916A5F8 for ; Tue, 23 May 2006 17:40:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 276ED43D55 for ; Tue, 23 May 2006 17:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4NHeK0C065775 for ; Tue, 23 May 2006 17:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4NHeJpc065774; Tue, 23 May 2006 17:40:19 GMT (envelope-from gnats) Date: Tue, 23 May 2006 17:40:19 GMT Message-Id: <200605231740.k4NHeJpc065774@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Ed Maste Cc: Subject: Re: i386/97679: panic in ifconfig X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Maste List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 17:40:26 -0000 The following reply was made to PR i386/97679; it has been noted by GNATS. From: Ed Maste To: Andrej Zverev Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: i386/97679: panic in ifconfig Date: Tue, 23 May 2006 13:30:56 -0400 On Tue, May 23, 2006 at 10:53:36AM +0400, Andrej Zverev wrote: > try write scipt, like this > #!/usr/bin/perl > for ($i=1; $i<4000; $i++) > { > system ("ifconfig create vlan$i"); > system ("ifconfig vlan$i vlan $i vlandev $parent"); > system ("ifconfig vlan$i 10.10.10.10/32"); > } Do you still experience a panic if you run this script, destroy the vlans it created, and then try your test again? I've briefly looked into a race condition with if_grow() and I wonder if this is the case you're encountering. It will only occur when you go from e.g. 8->16 or 16->32 ifnets, as the array expands by a factor of two each time. -ed