Re: kldload pf failed on -current

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Tue, 10 Aug 2004 06:40:37 +0800 (CST)
On Tue, 10 Aug 2004, Jiawei Ye wrote:
> root_at_chihiro:/usr/src# kldload -v pf
> kldload: can't load pf: No such file or directory
> root_at_chihiro:/usr/src# kldload /boot/kernel/pf.ko
> root_at_chihiro:/usr/src# /etc/rc.d/pf restart
> Enabling pf.
> pf enabled
>
> Somehow kldload cannot find pf.ko if no specific path is given. This
> is a 2 hours old -current.

It looks like the default module path, /boot/kernel, was removed from
/boot/default/loader.conf on Aug 6.

Workaround 1: add /boot/kernel to your module_path.

/boot/loader.conf:
module_path="/boot/kernel;/boot/modules"

Workaround 2: Either load your modules in /boot/loader.conf or load them
with the full path.
Received on Mon Aug 09 2004 - 20:40:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC