Can't kldload pf

Max Laier max at love2party.net
Thu Mar 10 10:14:10 PST 2005


On Thursday 10 March 2005 18:52, cpghost at 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 
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.

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

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050310/8ef85a47/attachment.bin


More information about the freebsd-stable mailing list