From owner-freebsd-bugs Sun Oct 20 14:20: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FED837B401 for ; Sun, 20 Oct 2002 14:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C4943E75 for ; Sun, 20 Oct 2002 14:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9KLK2x3025425 for ; Sun, 20 Oct 2002 14:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9KLK2Ho025424; Sun, 20 Oct 2002 14:20:02 -0700 (PDT) Date: Sun, 20 Oct 2002 14:20:02 -0700 (PDT) Message-Id: <200210202120.g9KLK2Ho025424@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Pepper Subject: Re: kern/44311 IPFW2 broken in recent 4.7-STABLE?? Reply-To: Chris Pepper Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/44311; it has been noted by GNATS. From: Chris Pepper To: Luigi Rizzo Cc: FreeBSD-gnats-submit@freebsd.org, tom@FreeBSD.org Subject: Re: kern/44311 IPFW2 broken in recent 4.7-STABLE?? Date: Sun, 20 Oct 2002 17:14:03 -0400 Ah, then this is a bug against the man page, which provides instructions for getting IPFW2 in STABLE without mentioning the kernel change: > ipfw2 is standard in FreeBSD CURRENT, whereas FreeBSD STABLE still uses > ipfw1 unless the kernel is compiled with options IPFW2, and /sbin/ipfw > and /usr/lib/libalias are recompiled with -DIPFW2 and reinstalled (the > same effect can be achieved by adding IPFW2=TRUE to /etc/make.conf before > a buildworld). I will back off to IPFW1 for now if src/sys/modules/ipfw/Makefile isn't going to be able to build IPFW2 with STABLE GENERIC -- I prefer to stick with GENERIC and modules. Thanks, Chris Pepper At 1:51 PM -0700 2002/10/20, Luigi Rizzo wrote: >On Sun, Oct 20, 2002 at 04:34:02PM -0400, Chris Pepper wrote: >> At 12:26 PM -0700 2002/10/20, Luigi Rizzo wrote: >> >you have a mismatch between kernel and userland. Probably an >> >ipfw2 in userland and still ipfw1 in the kernel. >> >> Strange. I just rebuild kernel & world and get the same >> problem. Is there anything more than "IPFW2=TRUE" in /etc/make.conf >> that controls 1 vs. 2? How can I check the installed versions of both >> parts? I don't see anything useful with "strings /modules/ipfw.ko". > >you need > > options IPFW2 > >in your kernel config. I believe the module's Makefile does not have >the correct option to build an ipfw2 module -- Chris Pepper: Rockefeller University: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message