`kldload` doesn't find pf.ko, though `ls` finds it easily enough

Tillman Hodgson tillman at seekingfire.com
Wed Nov 17 10:01:58 PST 2004


SYNOPSIS:

kldload doesn't seem to be able to find the pf module in spite of it
being it the normal place.

DETAILS:

root at thoth# kldstat
Id Refs Address    Size     Name
 1    3 0xc0400000 441524   kernel
 2    1 0xc17f3000 3000     daemon_saver.ko

root at thoth# ls -l /boot/kernel/pf.ko
-r-xr-xr-x  1 root  wheel  170068 Nov  9 19:12 /boot/kernel/pf.ko

root at thoth# kldload -v pf
kldload: can't load pf: No such file or directory

root at thoth# kldload -v /boot/kernel/pf.ko
kldload: can't load /boot/kernel/pf.ko: No such file or directory

root at thoth# sysctl kern.bootfile kern.module_path
kern.bootfile: /boot/kernel/kernel

root at thoth# uname -a
FreeBSD thoth.seekingfire.prv 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Nov  9 17:44:22 CST 2004
toor at thoth.seekingfire.com:/usr/obj/usr/src/sys/THOTH  i386

Thanks for any assistance,

-T


-- 
Page 30: Leaving a terminal logged in is like leaving your car unlocked
with the keys in the ignition.
	- Harley Hahn, _The Unix Companion_


More information about the freebsd-current mailing list