From owner-freebsd-stable@FreeBSD.ORG Wed Oct 29 10:51:01 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F72E16A4CE for ; Wed, 29 Oct 2003 10:51:01 -0800 (PST) Received: from madhaus.cns.utoronto.ca (madhaus.cns.utoronto.ca [128.100.103.10]) by mx1.FreeBSD.org (Postfix) with SMTP id BD6D143F75 for ; Wed, 29 Oct 2003 10:51:00 -0800 (PST) (envelope-from russ@madhaus.cns.utoronto.ca) Received: (qmail 5249 invoked by uid 1032); 29 Oct 2003 18:51:00 -0000 Date: Wed, 29 Oct 2003 13:50:59 -0500 To: Andy Gilligan Message-ID: <20031029185059.GA4480@madhaus.cns.utoronto.ca> References: <20031027221133.14799.qmail@mail.speedroad.net> <002401c39db4$3f23c9d0$0201000a@vx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002401c39db4$3f23c9d0$0201000a@vx> User-Agent: Mutt/1.3.28i Organization: University of Toronto From: Russell Sutherland X-Delivery-Agent: TMDA/0.51 (Python 2.1.3 on Linux/i686) cc: freebsd-stable@freebsd.org Subject: Re: ipfw segfaults on 4.9-STABLE (??) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 18:51:01 -0000 * Andy Gilligan (andy@glbx.net) [28 Oct 2003 19:35]: > > obfleur# ipfw show > > Segmentation fault > > > > Seems we managed to enable ipfw2 in the config file, but this shouldn't > > segfault ipfw should it? > > > > bash-2.05b# uname -ar > > FreeBSD obfleur 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Oct 27 22:06:20 CET > > 2003 root@obfleur:/usr/obj/usr/src/sys/OB i386 > > > > Anyone seen this? :) > > > > I've seen it happen when /sbin/ipfw hasn't been compiled with IPFW2 support > and the kernel has. (and probably vice-versa) > > # cd /usr/src/sbin/ipfw/ > # make -DIPFW2 clean all install > > Should hopefully cure the segfault. I've seen this recently as well... And confirmed that the proper action to do is: # cd /usr/src/sbin/ipfw/ # make -DIPFW2 clean all install Or perhaps editting /etc/defaults/make.conf: CFLAGS="-DIPFW2" -- Russell P. Sutherland Email: russ @ madhaus.cns.utoronto.ca 4 Bancroft Ave., Rm. 102 Voice: +1.416.978.0470 University of Toronto Fax: +1.416.978.6620 Toronto, ON M5S 1C1 WWW: http://madhaus.cns.utoronto.ca/~russ CANADA