`kldload` doesn't find pf.ko, though `ls` finds it easily enough
Mike Hunter
mhunter at ack.Berkeley.EDU
Wed Nov 17 10:11:15 PST 2004
On Nov 17, "Tillman Hodgson" wrote:
Check dmesg. There's a bug somewhere that causes kldload to report "file
not found" to the user even though it was some other error that caused the
problem. That real error can sometimes be spit out to the console /
syslog / whatever.
> 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
More information about the freebsd-current
mailing list