From owner-freebsd-stable@FreeBSD.ORG Thu Mar 10 18:14:10 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D0716A4CE for ; Thu, 10 Mar 2005 18:14:10 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id A87D143D41 for ; Thu, 10 Mar 2005 18:14:09 +0000 (GMT) (envelope-from max@love2party.net) Received: from pD9E39649.dip.t-dialin.net[217.227.150.73] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1D9SAc3Xyt-0002Um; Thu, 10 Mar 2005 19:14:02 +0100 From: Max Laier To: cpghost@cordula.ws Date: Thu, 10 Mar 2005 19:13:51 +0100 User-Agent: KMail/1.7.2 References: <20050310175208.GA947@bsdbox.farid-hajji.net> In-Reply-To: <20050310175208.GA947@bsdbox.farid-hajji.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart100953243.BAYUKB216N"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503101913.59397.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 cc: freebsd-stable@freebsd.org Subject: Re: Can't kldload pf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 18:14:10 -0000 --nextPart100953243.BAYUKB216N Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 10 March 2005 18:52, cpghost@cordula.ws wrote: > Hello, > > on RELENG_5, cvsupped March 9th, I can't kldload pf: > > fw# kldload pf > kldload: can't load pf: No such file or directory > > fw# kldload /boot/kernel/pf.ko > kldload: can't load /boot/kernel/pf.ko: No such file or directory > > fw# kldstat > Id Refs Address Size Name > 1 6 0xc0400000 2a8a44 kernel > 2 1 0xc0c28000 6000 geom_bde.ko > 3 4 0xc0d14000 12000 netgraph.ko > 4 2 0xc0d2a000 4000 ng_ether.ko > 5 1 0xc0d2f000 7000 ng_pppoe.ko > 6 1 0xc0d37000 5000 ng_socket.ko > > fw# ls -l /boot/kernel/pf* > -r-xr-xr-x 1 root wheel 170382 Mar 10 17:18 /boot/kernel/pf.ko > > fw# sysctl kern.module_path > kern.module_path: /boot/kernel;/boot/modules > > Attached is the kernel config file. > > Any idea what's going wrong here? You don't have "options INET6" in your kernel config, but the pf module=20 assumes that it is there. You can either built pf into the kernel (since y= ou=20 are building a custom kernel anyway), rebuild the module without that=20 assumption (see the module's Makefile) or you can reenable "options INET6" = in=20 the kernel. The ENOENT error returned from kldload is a bit misleading, though. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart100953243.BAYUKB216N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCMI5nXyyEoT62BG0RAqutAJ4kmxxjJFWCD0ipQnJDjD2V6EPJNgCeIiyg R/E0SsMRarBkBTjbWz6dyJk= =RySU -----END PGP SIGNATURE----- --nextPart100953243.BAYUKB216N--