How does /dev/pf get created?

Gavin Spomer spomerg at cwu.EDU
Fri Jan 25 14:18:53 PST 2008


>>> Gary Palmer <gpalmer at freebsd.org> 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
-------------- next part --------------
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 at pc86579.d.cwu.edu:/usr/obj/usr/src/sys/PC86579
ACPI APIC Table: <HP     00000083>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf64  Stepping = 4
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe4bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,CNTX-ID,CX16,<b14>,<b15>>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
  Logical CPUs per core: 2
real memory  = 3487924224 (3326 MB)
avail memory = 3413344256 (3255 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
acpi0: <HP P56> 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: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci9: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci9
pci10: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci10
pci11: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 1.0 on pci10
pci14: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 2.0 on pci10
pci17: <ACPI PCI bus> on pcib5
pcib6: <PCI-PCI bridge> at device 0.3 on pci9
pci18: <PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci6: <ACPI PCI bus> on pcib7
ciss0: <HP Smart Array P400> port 0x4000-0x40ff mem 0xfde00000-0xfdefffff,0xfddf0000-0xfddf0fff irq 18 at device 0.0 on pci6
ciss0: [GIANT-LOCKED]
pcib8: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci19: <ACPI PCI bus> on pcib8
pcib9: <PCI-PCI bridge> at device 5.0 on pci0
pci22: <PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci23: <ACPI PCI bus> on pcib10
pcib11: <PCI-PCI bridge> at device 7.0 on pci0
pci26: <PCI bus> on pcib11
pcib12: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib12
pcib13: <PCI-PCI bridge> at device 0.0 on pci2
pci3: <PCI bus> on pcib13
bce0: <Broadcom NetXtreme II BCM5708 1000Base-T (B2), v0.9.6> mem 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci3
bce0: ASIC ID 0x57081020; Revision (B2); PCI-X 64-bit 133MHz
miibus0: <MII bus> on bce0
brgphy0: <BCM5708C 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bce0: Ethernet address: 00:18:fe:73:2b:da
pcib14: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci4: <ACPI PCI bus> on pcib14
pcib15: <PCI-PCI bridge> at device 0.0 on pci4
pci5: <PCI bus> on pcib15
bce1: <Broadcom NetXtreme II BCM5708 1000Base-T (B2), v0.9.6> mem 0xfa000000-0xfbffffff irq 17 at device 0.0 on pci5
bce1: ASIC ID 0x57081020; Revision (B2); PCI-X 64-bit 133MHz
miibus1: <MII bus> on bce1
brgphy1: <BCM5708C 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bce1: Ethernet address: 00:18:fe:73:2b:d8
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.3 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib16: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib16
pci1: <display, VGA> at device 3.0 (no driver attached)
pci1: <base peripheral> at device 4.0 (no driver attached)
pci1: <base peripheral> at device 4.2 (no driver attached)
pci1: <serial bus, USB> at device 4.4 (no driver attached)
pci1: <serial bus> at device 4.6 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 63XXESB2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 17 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xe6000-0xe7fff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> 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: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-5 device 
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


More information about the freebsd-pf mailing list