From owner-freebsd-stable@FreeBSD.ORG Mon Mar 14 21:16:28 2005 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 6B65F16A4CE for ; Mon, 14 Mar 2005 21:16:28 +0000 (GMT) Received: from sockeye.firmanix.com (sockeye.firmanix.com [216.127.139.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2AFF43D2F for ; Mon, 14 Mar 2005 21:16:27 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by sockeye.firmanix.com with local (Exim 4.44 (FreeBSD)) id 1DAwvO-000Dzs-Bl for freebsd-stable@freebsd.org; Mon, 14 Mar 2005 16:16:30 -0500 Date: Mon, 14 Mar 2005 16:16:30 -0500 From: Andy Firman To: freebsd-stable@freebsd.org Message-ID: <20050314211630.GA53774@sockeye.firmanix.com> References: <20050310175208.GA947@bsdbox.farid-hajji.net> <200503101913.59397.max@love2party.net> <20050310220316.GA1529@bsdbox.farid-hajji.net> <200503110934.08660.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503110934.08660.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.2.1i Subject: Re: Can't kldload pf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 21:16:28 -0000 On Fri, Mar 11, 2005 at 09:34:00AM +1030, Daniel O'Connor wrote: > On Fri, 11 Mar 2005 08:33, cpghost@cordula.ws wrote: > > On Thu, Mar 10, 2005 at 07:13:51PM +0100, Max Laier wrote: > > > On Thursday 10 March 2005 18:52, cpghost@cordula.ws wrote: > > > > on RELENG_5, cvsupped March 9th, I can't kldload pf: > > > > > > > > fw# kldload pf > > > > kldload: can't load pf: No such file or directory > > > > > > You don't have "options INET6" in your kernel config, but the pf module > > > assumes that it is there. You can either built pf into the kernel (since > > > you are building a custom kernel anyway), rebuild the module without that > > > assumption (see the module's Makefile) or you can reenable "options > > > INET6" in the kernel. > > > > Yes, INET6 is needed indeed. That was the catch! Adding "options INET6" > > solved the problem. > > > > > The ENOENT error returned from kldload is a bit misleading, though. > > > > Ugh... yes ;). Perhaps that should be documented in pf(4)? > > It's not pf per se.. > If you ran dmesg after your kldload attempts you'd see the kernel linker > complaining about being unable to resolve some IPv6 related symbols. > > Other possibility is to do.. > cd /usr/src/sys/modules/pf > make NO_INET6= install > > and load it again. Hmmmm...interesting!! Would this for for /usr/src/sys/modules/ipfilter ? I am having this problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=70401 That seems almost too easy. :-)