Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2005 23:03:16 +0100
From:      cpghost@cordula.ws
To:        Max Laier <max@love2party.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Can't kldload pf
Message-ID:  <20050310220316.GA1529@bsdbox.farid-hajji.net>
In-Reply-To: <200503101913.59397.max@love2party.net>
References:  <20050310175208.GA947@bsdbox.farid-hajji.net> <200503101913.59397.max@love2party.net>

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

Thanks a lot!

> -- 
> /"\  Best regards,                      | mlaier@freebsd.org
> \ /  Max Laier                          | ICQ #67774661
>  X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
> / \  ASCII Ribbon Campaign              | Against HTML Mail and News

Kind regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



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