From owner-freebsd-current@FreeBSD.ORG Mon Aug 9 22:40:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6360316A4F3 for ; Mon, 9 Aug 2004 22:40:40 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC9B43D5E for ; Mon, 9 Aug 2004 22:40:39 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 69F384EFCD9; Tue, 10 Aug 2004 06:40:37 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 4A4124EFCD3; Tue, 10 Aug 2004 06:40:37 +0800 (CST) Date: Tue, 10 Aug 2004 06:40:37 +0800 (CST) From: Tai-hwa Liang To: Jiawei Ye In-Reply-To: Message-ID: <04081006355111.73606@www.mmlab.cse.yzu.edu.tw> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: kldload pf failed on -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 22:40:47 -0000 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.