Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2005 09:34:00 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Cc:        cpghost@cordula.ws
Subject:   Re: Can't kldload pf
Message-ID:  <200503110934.08660.doconnor@gsoft.com.au>
In-Reply-To: <20050310220316.GA1529@bsdbox.farid-hajji.net>
References:  <20050310175208.GA947@bsdbox.farid-hajji.net> <200503101913.59397.max@love2party.net> <20050310220316.GA1529@bsdbox.farid-hajji.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1524362.2001BC6LYg
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 (sin=
ce
> > you are building a custom kernel anyway), rebuild the module without th=
at
> > 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=20
complaining about being unable to resolve some IPv6 related symbols.

Other possibility is to do..
cd /usr/src/sys/modules/pf
make NO_INET6=3D install

and load it again.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1524362.2001BC6LYg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBCMNJo5ZPcIHs/zowRAk9rAJ49IF1F97YXtO6l2sAcynSm2GmsmACfZIkv
/DiZ9yxOD0EwpHJiUbSfF3M=
=Hmjt
-----END PGP SIGNATURE-----

--nextPart1524362.2001BC6LYg--



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