Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 06:40:37 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: kldload pf failed on -current
Message-ID:  <04081006355111.73606@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <c21e92e2040809095447587b64@mail.gmail.com>
References:  <c21e92e2040809095447587b64@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Aug 2004, Jiawei Ye wrote:
> root@chihiro:/usr/src# kldload -v pf
> kldload: can't load pf: No such file or directory
> root@chihiro:/usr/src# kldload /boot/kernel/pf.ko
> root@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.



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