Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 13:50:59 -0500
From:      Russell Sutherland <russ@madhaus.cns.utoronto.ca>
To:        Andy Gilligan <andy@glbx.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ipfw segfaults on 4.9-STABLE (??)
Message-ID:  <20031029185059.GA4480@madhaus.cns.utoronto.ca>
In-Reply-To: <002401c39db4$3f23c9d0$0201000a@vx>
References:  <20031027221133.14799.qmail@mail.speedroad.net> <002401c39db4$3f23c9d0$0201000a@vx>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031029185059.GA4480>