From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 03:42:24 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 4006C16A4CF; Thu, 16 Sep 2004 03:42:24 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 38927 invoked by uid 1005); 3 Aug 2003 12:53:16 -0000 Delivered-To: max@vampire.homelinux.org Received: (qmail 38924 invoked from network); 3 Aug 2003 12:53:13 -0000 Received: from moutng.kundenserver.de (212.227.126.186) by p508399e4.dip.t-dialin.net with SMTP; 3 Aug 2003 12:53:13 -0000 Received: from [212.227.126.215] (helo=mxng19.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19jJF8-00006y-00 for max@vampire.homelinux.org; Sun, 03 Aug 2003 15:49:50 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng19.kundenserver.de with esmtp (Exim 3.35 #1) id 19jJF4-0000Sz-00 for max@love2party.net; Sun, 03 Aug 2003 15:49:46 +0200 Received: from turing (localhost [127.0.0.1])ESMTP id 9A9E6395048; Sun, 3 Aug 2003 08:54:23 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Sun, 03 Aug 2003 08:54:19 -0500 (EST) Delivered-To: pf4freebsd@freelists.org Received: from web12804.mail.yahoo.com (web12804.mail.yahoo.com [216.136.174.39])SMTP id 8E55A394FCE for ; Sun, 3 Aug 2003 08:54:18 -0500 (EST) Message-ID: <20030803134932.51529.qmail@web12804.mail.yahoo.com> Received: from [207.188.198.140] by web12804.mail.yahoo.com via HTTP; Sun, 03 Aug 2003 06:49:32 PDT From: cipherbk To: pf4freebsd@freelists.org MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-archive-position: 53 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: cipherbk@yahoo.com Precedence: normal X-list: pf4freebsd X-UID: 154 X-Length: 4695 X-Mailman-Approved-At: Thu, 16 Sep 2004 03:55:51 +0000 Subject: [pf4freebsd] pf 1.59 and ALTQ install trouble X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 03:42:24 -0000 X-Original-Date: Sun, 3 Aug 2003 06:49:32 -0700 (PDT) X-List-Received-Date: Thu, 16 Sep 2004 03:42:24 -0000 Hello, I've been battling with PF 1.59 and the new ALTQ (0.4) patches for 5.1 and having no luck getting them to install. I've tried using the install instructions from PF's README.ALTQ (which is way outdated) and I've followed the instructions from the ALTQ README: INSTALL Kernel: 1. copy your sys tree to a new sys.altq directory # cd /usr/src # cp -pr sys sys.altq 2. move your old sys away # mv /usr/src/sys /usr/src/sys.orig 3. link the new sys.altq # ln -s /usr/src/sys.altq /usr/src/sys 4. apply sys-altq-current.diff to the kernel sources in sys.altq # cd altq-distdir # patch -d /usr/src/sys.altq -p0 < sys-altq-freebsd-5.1-release.diff 5. copy the altq kernel files into sys.altq/altq # cp -pr altq /usr/src/sys.altq 6. add "options ALTQ" to your KERNEL or use the KERNEL named "ALTQ" 7. rebuild your kernel and reboot your system Headers: 1. create symbolic link /usr/include/altq -> /usr/src/sys.altq/altq I am using the 'new' way to build a kernel, i.e., specify KERNCONF=ALTQKERNEL in /etc/make.conf, then when it's time to build and install the kernel, I run 'make buildkernel' and 'make installkernel' from /usr/src. Now, PF doesn't load, even though I didn't get any errors during the kernel build/install, nor during the install of PF after the ALTQ kernel was installed. When attempting to bring up pf.ko, it complains with: kldload: can't load /boot/kernel/pf.ko: No such file or directory However, it's clearly present: # ls -la /boot/kernel|grep pf.ko -r-xr-xr-x 1 root wheel 141897 Aug 3 09:10 pf.ko BTW, it gives the same for pfaltq.ko, and that's in /boot/kernel also. Obviously, PF fails to start. PF was working fine before I tried to install ALTQ. I even blew away everything in /usr/src, re-cvsup'd and started from scratch and get the same result. Again, I was successful in getting ALTQ working on 5.0 (first try, even!), but the ALTQ install procedure for 5.0 was somewhat different. dmesg: Mounting root from ufs:/dev/da0s1a link_elf: symbol altq_lookup undefined link_elf: symbol altq_lookup undefined KLD pf.ko: depends on pfaltq - not available I'm attempting to load pfaltq.ko, then pf.ko at startup (as well as bring up pflog0, pfsync0, pflog.ko) Any ideas, fellas? Is there something missing from the instructions? __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com