From owner-freebsd-pf@FreeBSD.ORG Fri Jan 25 22:18:53 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA6316A418 for ; Fri, 25 Jan 2008 22:18:53 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from lewey.cts.cwu.edu (lewey.cts.cwu.edu [198.104.67.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA8D13C447 for ; Fri, 25 Jan 2008 22:18:53 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.LEWEY.CTS.CWU.EDU by LEWEY.CTS.CWU.EDU (PMDF V6.3-x13 #31358) id <01MQIHEDZRKW001Z6P@LEWEY.CTS.CWU.EDU> for freebsd-pf@freebsd.org; Fri, 25 Jan 2008 14:18:52 -0800 (PST) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by LEWEY.CTS.CWU.EDU (PMDF V6.3-x13 #31358) with ESMTP id <01MQIHEDRNM8001YSM@LEWEY.CTS.CWU.EDU> for freebsd-pf@freebsd.org; Fri, 25 Jan 2008 14:18:52 -0800 (PST) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Fri, 25 Jan 2008 14:18:52 -0800 Date: Fri, 25 Jan 2008 14:18:40 -0800 From: Gavin Spomer To: freebsd-pf@freebsd.org Message-id: <4799EFC0020000900001307D@hermes.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Content-type: multipart/mixed; boundary="Boundary_(ID_4sGk/HZSBWNl/Pnnoittwg)" Subject: Re: How does /dev/pf get created? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 22:18:53 -0000 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --Boundary_(ID_4sGk/HZSBWNl/Pnnoittwg) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline >>> Gary Palmer 01/25/08 1:47 PM >>> On Fri, Jan 25, 2008 at 11:45:00AM -0800, Gavin Spomer wrote: > My mistake, I DO have pf.ko: > # ls /boot/kernel/pf.ko > -r-xr-xr-x 1 root wheel 184K Jan 25 09:33 kernel/pf.ko > I was trying "ls /boot/kernel/pf" before. Now I'm wondering why I'm = still getting "kldload: can't load pf.ko: No such file or > directory" when I run kldload. > Sigh, shouldn't be this difficult. ;) ENOENT ("No such file or directory") can also mean that a symbol that the module requires cannot be found in the kernel. This can be many things, including a missing prerequisite module or that the module was built with a different set of options to the currently running kernel. Check dmesg to see if there is a related error message from the kernel. Geez, I'm so embarrassed. This is the first time I've ever run dmesg. = Lots of stuff in there; anything in particular I'm looking for? I see "link_elf: symbol altq_remove undefined" 6 times at the end. = Before that I see "pid 34320 (conftest), uid 0: exited on signal 12 (core dumped)"... yikes, that doesn't sound good. I piped = it all through grep for "pf" and didn't find anything. I've attached the dmesg output. Sorry everyone, I'm not trying to get = anyone to do my work for me. I've actually been working very hard to solve this on my own. I genuinely want to learn = something from this in the process, and to be truthful, I HAVE learned much from all this. But I would also like to get pf to = work! :D Thank goodness it's Friday. - Gavin --Boundary_(ID_4sGk/HZSBWNl/Pnnoittwg) Content-type: text/plain; name="dmesg.txt" Content-transfer-encoding: quoted-printable Content-disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #2: Wed Dec 12 14:59:04 PST 2007 root@pc86579.d.cwu.edu:/usr/obj/usr/src/sys/PC86579 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.02-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf64 Stepping =3D 4 Features=3D0xbfebfbff Features2=3D0xe4bd,= > AMD Features=3D0x20000000 AMD Features2=3D0x1 Cores per package: 2 Logical CPUs per core: 2 real memory =3D 3487924224 (3326 MB) avail memory =3D 3413344256 (3255 MB) ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0 cpu0: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci9: on pcib1 pcib2: at device 0.0 on pci9 pci10: on pcib2 pcib3: at device 0.0 on pci10 pci11: on pcib3 pcib4: at device 1.0 on pci10 pci14: on pcib4 pcib5: at device 2.0 on pci10 pci17: on pcib5 pcib6: at device 0.3 on pci9 pci18: on pcib6 pcib7: at device 3.0 on pci0 pci6: on pcib7 ciss0: port 0x4000-0x40ff mem 0xfde00000-0xfdefffff,0= xfddf0000-0xfddf0fff irq 18 at device 0.0 on pci6 ciss0: [GIANT-LOCKED] pcib8: at device 4.0 on pci0 pci19: on pcib8 pcib9: at device 5.0 on pci0 pci22: on pcib9 pcib10: at device 6.0 on pci0 pci23: on pcib10 pcib11: at device 7.0 on pci0 pci26: on pcib11 pcib12: at device 28.0 on pci0 pci2: on pcib12 pcib13: at device 0.0 on pci2 pci3: on pcib13 bce0: mem = 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci3 bce0: ASIC ID 0x57081020; Revision (B2); PCI-X 64-bit 133MHz miibus0: on bce0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, = 1000baseTX-FDX, auto bce0: Ethernet address: 00:18:fe:73:2b:da pcib14: at device 28.1 on pci0 pci4: on pcib14 pcib15: at device 0.0 on pci4 pci5: on pcib15 bce1: mem = 0xfa000000-0xfbffffff irq 17 at device 0.0 on pci5 bce1: ASIC ID 0x57081020; Revision (B2); PCI-X 64-bit 133MHz miibus1: on bce1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, = 1000baseTX-FDX, auto bce1: Ethernet address: 00:18:fe:73:2b:d8 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pci0: at device 29.3 (no driver attached) pci0: at device 29.7 (no driver attached) pcib16: at device 30.0 on pci0 pci1: on pcib16 pci1: at device 3.0 (no driver attached) pci1: at device 4.0 (no driver attached) pci1: at device 4.2 (no driver attached) pci1: at device 4.4 (no driver attached) pci1: at device 4.6 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0= x177,0x376,0x500-0x50f irq 17 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xe6000-0xe7fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3000019986 Hz quality 800 Timecounters tick every 1.000 msec da0 at ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device=20 da0: 135.168MB/s transfers da0: 279900MB (573235602 512 byte sectors: 255H 32S/T 65535C) Trying to mount root from ufs:/dev/da0s1a pid 24454 (conftest), uid 0: exited on signal 12 (core dumped) Limiting closed port RST response from 1077 to 200 packets/sec Limiting closed port RST response from 1100 to 200 packets/sec Limiting closed port RST response from 1088 to 200 packets/sec Limiting closed port RST response from 1091 to 200 packets/sec Limiting closed port RST response from 1506 to 200 packets/sec Limiting closed port RST response from 1369 to 200 packets/sec Limiting closed port RST response from 1451 to 200 packets/sec Limiting closed port RST response from 1512 to 200 packets/sec Limiting closed port RST response from 347 to 200 packets/sec Limiting closed port RST response from 1079 to 200 packets/sec Limiting closed port RST response from 1104 to 200 packets/sec Limiting closed port RST response from 1100 to 200 packets/sec Limiting closed port RST response from 1101 to 200 packets/sec Limiting closed port RST response from 1568 to 200 packets/sec Limiting closed port RST response from 1602 to 200 packets/sec Limiting closed port RST response from 1599 to 200 packets/sec Limiting closed port RST response from 1587 to 200 packets/sec bce0: promiscuous mode enabled bce0: promiscuous mode disabled bce0: promiscuous mode enabled bce0: promiscuous mode disabled bce0: promiscuous mode enabled bce0: promiscuous mode disabled pid 34320 (conftest), uid 0: exited on signal 12 (core dumped) link_elf: symbol altq_remove undefined link_elf: symbol altq_remove undefined link_elf: symbol altq_remove undefined link_elf: symbol altq_remove undefined link_elf: symbol altq_remove undefined link_elf: symbol altq_remove undefined --Boundary_(ID_4sGk/HZSBWNl/Pnnoittwg)--