On Thursday 10 March 2005 18:52, [EMAIL PROTECTED] 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, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News
pgpiLsVLNwi10.pgp
Description: PGP signature