Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 10:11:08 -0800
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        Tillman Hodgson <tillman@seekingfire.com>
Cc:        FreeBSD -CURRENT <current@freebsd.org>
Subject:    Re: `kldload` doesn't find pf.ko, though `ls` finds it easily enough
Message-ID:  <20041117181108.GA24426@ack.Berkeley.EDU>
In-Reply-To: <20041117180157.GO76234@seekingfire.com>
References:  <20041117180157.GO76234@seekingfire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@thoth# kldstat
> Id Refs Address    Size     Name
>  1    3 0xc0400000 441524   kernel
>  2    1 0xc17f3000 3000     daemon_saver.ko
> 
> root@thoth# ls -l /boot/kernel/pf.ko
> -r-xr-xr-x  1 root  wheel  170068 Nov  9 19:12 /boot/kernel/pf.ko
> 
> root@thoth# kldload -v pf
> kldload: can't load pf: No such file or directory
> 
> root@thoth# kldload -v /boot/kernel/pf.ko
> kldload: can't load /boot/kernel/pf.ko: No such file or directory
> 
> root@thoth# sysctl kern.bootfile kern.module_path
> kern.bootfile: /boot/kernel/kernel
> 
> root@thoth# uname -a
> FreeBSD thoth.seekingfire.prv 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Nov  9 17:44:22 CST 2004
> toor@thoth.seekingfire.com:/usr/obj/usr/src/sys/THOTH  i386



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