i386/97679: panic in ifconfig

Ed Maste emaste at phaedrus.sandvine.ca
Tue May 23 17:40:26 UTC 2006


The following reply was made to PR i386/97679; it has been noted by GNATS.

From: Ed Maste <emaste at phaedrus.sandvine.ca>
To: Andrej Zverev <az at FreeBSD.org>
Cc: FreeBSD-gnats-submit at 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


More information about the freebsd-i386 mailing list