From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 04:42:59 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 4DBF316A4CE for ; Tue, 10 Aug 2004 04:42:59 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 188AC43D48 for ; Tue, 10 Aug 2004 04:42:59 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 26388 invoked from network); 10 Aug 2004 04:42:58 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail4.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Aug 2004 04:42:58 -0000 Received: from hydrogen.funkthat.com (lmrwvm@localhost.funkthat.com [127.0.0.1])i7A4gvuU068274; Mon, 9 Aug 2004 21:42:58 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i7A4gvSA068273; Mon, 9 Aug 2004 21:42:57 -0700 (PDT) Date: Mon, 9 Aug 2004 21:42:57 -0700 From: John-Mark Gurney To: Jiawei Ye Message-ID: <20040810044257.GJ991@funkthat.com> Mail-Followup-To: Jiawei Ye , freebsd-current@freebsd.org References: <200408092003.28922.max@love2party.net> <20040809222127.GU64690@camelot.theinternet.com.au> <200408100040.23324.max@love2party.net> <20040809225255.GI991@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html 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 Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 04:42:59 -0000 Jiawei Ye wrote this message on Tue, Aug 10, 2004 at 11:34 +0800: > On Mon, 9 Aug 2004 15:52:55 -0700, John-Mark Gurney > > Ok, on the kernel boot, please send me: > > sysctl kern.bootfile kern.module_path > > ls /boot/ > > > > Make sure that you're current kernel is built to include modules. We > > no longer will load the default kernel's modules for other kernels. So > > if you boot kernel.test (or other kernel) that does not have pf.ko, you > > can't load pf.ko anymore. > > -- > > John-Mark Gurney Voice: +1 415 225 5579 > > root@chihiro:~# kldload pf > kldload: can't load pf: No such file or directory > root@chihiro:~# kldload /boot/kernel/pf.ko > root@chihiro:~# sysctl kern.bootfile kern.module_path > kern.bootfile: /boot/kernel/kernel > kern.module_path: /boot/modules > root@chihiro:~# ls /boot/kernel/ [...] > amdpm.ko* if_sn.ko* pf.ko* [...] Ok, now this is really wierd... On my system that I just upgraded on Sunday, I don't have a problem... I end up with: -bash-2.05b$ sysctl kern.bootfile kern.module_path kern.bootfile: /boot/kernel/kernel kern.module_path: /boot/kernel;/boot/modules and this is with: -bash-2.05b$ ident support.4th defaults/loader.conf support.4th: $FreeBSD: src/sys/boot/forth/support.4th,v 1.15 2002/05/24 02:28:58 gordon Exp $ defaults/loader.conf: $FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $ could you also send me your loader.conf and device.hints along with the output of ident as shown above? Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."