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

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

On Thursday 10 March 2005 18:52, cpghost@cordula.ws wrote:
> Hello,
>
> on RELENG_5, cvsupped March 9th, I can't kldload pf:
>
> fw# kldload pf
> kldload: can't load pf: No such file or directory
>
> fw# kldload /boot/kernel/pf.ko
> kldload: can't load /boot/kernel/pf.ko: No such file or directory
>
> fw# kldstat
> Id Refs Address    Size     Name
>  1    6 0xc0400000 2a8a44   kernel
>  2    1 0xc0c28000 6000     geom_bde.ko
>  3    4 0xc0d14000 12000    netgraph.ko
>  4    2 0xc0d2a000 4000     ng_ether.ko
>  5    1 0xc0d2f000 7000     ng_pppoe.ko
>  6    1 0xc0d37000 5000     ng_socket.ko
>
> fw# ls -l /boot/kernel/pf*
> -r-xr-xr-x  1 root  wheel  170382 Mar 10 17:18 /boot/kernel/pf.ko
>
> fw# sysctl kern.module_path
> kern.module_path: /boot/kernel;/boot/modules
>
> Attached is the kernel config file.
>
> Any idea what's going wrong here?

You don't have "options INET6" in your kernel config, but the pf module=20
assumes that it is there.  You can either built pf into the kernel (since y=
ou=20
are building a custom kernel anyway), rebuild the module without that=20
assumption (see the module's Makefile) or you can reenable "options INET6" =
in=20
the kernel.

The ENOENT error returned from kldload is a bit misleading, though.

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

--nextPart100953243.BAYUKB216N
Content-Type: application/pgp-signature

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

iD8DBQBCMI5nXyyEoT62BG0RAqutAJ4kmxxjJFWCD0ipQnJDjD2V6EPJNgCeIiyg
R/E0SsMRarBkBTjbWz6dyJk=
=RySU
-----END PGP SIGNATURE-----

--nextPart100953243.BAYUKB216N--



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