From owner-freebsd-pf@FreeBSD.ORG Sat Aug 15 18:01:02 2009 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 40B07106568D for ; Sat, 15 Aug 2009 18:01:02 +0000 (UTC) (envelope-from zvujovic@gmail.com) Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by mx1.freebsd.org (Postfix) with ESMTP id 417688FC15 for ; Sat, 15 Aug 2009 18:01:00 +0000 (UTC) Received: by fxm1 with SMTP id 1so1616477fxm.7 for ; Sat, 15 Aug 2009 11:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from :content-type:mime-version:content-transfer-encoding:message-id :user-agent; bh=rcCTMDaXObBybPD8dBaPf0TftGOJ8Phcjwdlq21vuZ4=; b=WRfH9rsZvAPyFGDaa98TQBXtgmsHbX1jhIIyMvKw70qQO6WEghi00W00vQCKOCu68K XQqL3+RsiD9+6fLSvuQhfVPkGY/EgDYraJ7y+XanRR5yExmrFUw3d5TcyxsHoDp9Rft1 7erdtchp3UP3mCNAi3waUzTXsV/IN56ooOFK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:content-type:mime-version :content-transfer-encoding:message-id:user-agent; b=mPs6B+S4DW2NJfuWO6o/IAeAhblSHYhXmt2ASWkpZaOH9rCkWLDIXCQ3gPyA1pLXaF +QDL7OdibB3efP8RYTQ37nlcPW518H6pWrDoaBPSw0Z/D1laMMqycaWrp+X4aHb15/S5 HmB04W43NlW+gWhomLNZT8D5J4ju66JoPVAjo= Received: by 10.103.125.37 with SMTP id c37mr873340mun.69.1250357287366; Sat, 15 Aug 2009 10:28:07 -0700 (PDT) Received: from freebsd.svarog-r00lz.info (77-105-44-157.adsl-2.sezampro.yu [77.105.44.157]) by mx.google.com with ESMTPS id 14sm11945053muo.3.2009.08.15.10.28.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 Aug 2009 10:28:06 -0700 (PDT) Date: Sat, 15 Aug 2009 19:27:42 +0200 To: freebsd-pf@freebsd.org From: z0ran Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.64 (FreeBSD) Subject: freebsd-8-beta2 and pf 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: Sat, 15 Aug 2009 18:01:02 -0000 First of all i couldn't enable pf with "pfctl -e", then i couldn't load module with "kldload pf.ko", it gives me % kldload /boot/kernel/pf.ko kldload: can't load /boot/kernel/pf.ko: Exec format error and at the end i couldn't find in kernel: device pf device pflog device pfsync This is my % uname -a FreeBSD freebsd.svarog-r00lz.info 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 and % file /boot/kernel/pf.ko /boot/kernel/pf.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped % kldstat Id Refs Address Size Name 1 15 0xffffffff80100000 ef0820 kernel 2 1 0xffffffff80ff1000 196498 zfs.ko 3 2 0xffffffff81188000 3a98 opensolaris.ko 4 1 0xffffffff8118c000 23f48 snd_hda.ko 5 2 0xffffffff811b0000 86d88 sound.ko this is my /var/log/messages: Aug 15 07:00:00 freebsd newsyslog[1234]: logfile turned over due to size>100K Aug 15 07:01:45 freebsd console-kit-daemon[1145]: WARNING: kvm_getenvv failed: cannot open /proc/1209/mem Aug 15 07:01:45 freebsd gnome-session[1209]: WARNING: Unable to determine session: Unable to lookup session information for process '1209' Aug 15 13:55:14 freebsd console-kit-daemon[1145]: WARNING: kvm_getenvv failed: cannot open /proc/1209/mem Aug 15 13:55:14 freebsd gnome-session[1209]: WARNING: Unable to determine session: Unable to lookup session information for process '1209' Aug 15 13:55:58 freebsd kernel: lock order reversal: Aug 15 13:55:58 freebsd kernel: 1st 0xffffff0044baca48 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:1088 Aug 15 13:55:58 freebsd kernel: 2nd 0xffffff0053e287f8 zfs (zfs) @ /usr/src/sys/kern/vfs_subr.c:4091 Aug 15 13:55:58 freebsd kernel: KDB: stack backtrace: Aug 15 13:55:58 freebsd kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a Aug 15 13:55:58 freebsd kernel: _witness_debugger() at _witness_debugger+0x2e Aug 15 13:55:58 freebsd kernel: witness_checkorder() at witness_checkorder+0x81e Aug 15 13:55:58 freebsd kernel: __lockmgr_args() at __lockmgr_args+0xcf3 Aug 15 13:55:58 freebsd kernel: vop_stdlock() at vop_stdlock+0x39 Aug 15 13:55:58 freebsd kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b Aug 15 13:55:58 freebsd kernel: _vn_lock() at _vn_lock+0x47 Aug 15 13:55:58 freebsd kernel: knlist_remove_kq() at knlist_remove_kq+0x67 Aug 15 13:55:58 freebsd kernel: knote_fdclose() at knote_fdclose+0x177 Aug 15 13:55:58 freebsd kernel: kern_close() at kern_close+0xe9 Aug 15 13:55:58 freebsd kernel: syscall() at syscall+0x1af Aug 15 13:55:58 freebsd kernel: Xfast_syscall() at Xfast_syscall+0xe1 Aug 15 13:55:58 freebsd kernel: --- syscall (6, FreeBSD ELF64, close), rip = 0x800e46f8c, rsp = 0x7fffffffe538, rbp = 0x800f7eb80 --- and this is /var/run/dmesg.boot Copyright (c) 1992-2009 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 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Phenom(tm) 9550 Quad-Core Processor (2200.09-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x7ff TSC: P-state invariant real memory = 3221225472 (3072 MB) avail memory = 2829471744 (2698 MB) ACPI APIC Table: <073108 APIC1642> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 This module (opensolaris) contains code covered by the Common Development and Distribution License (CDDL) see http://opensolaris.org/os/licensing/opensolaris_license/ ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <073108 RSDT1642> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, aff00000 (3) failed ACPI HPET table warning: Sequence is non-zero (2) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1 hdac0: mem 0xfe9e8000-0xfe9ebfff irq 19 at device 5.1 on pci1 hdac0: HDA Driver Revision: 20090624_0136 hdac0: [ITHREAD] pcib2: irq 18 at device 6.0 on pci0 pci2: on pcib2 re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff,0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci2 re0: Using 1 MSI messages re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:21:97:08:14:22 re0: [FILTER] atapci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe7ff800-0xfe7ffbff irq 22 at device 17.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI v1.10 controller with 4 3Gbps ports, PM supported ata2: on atapci0 ata2: port is not ready (timeout 0ms) tfd = 000001d0 ata2: software reset clear timeout ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xfe7fd000-0xfe7fdfff irq 16 at device 18.1 on pci0 ohci1: [ITHREAD] usbus1: on ohci1 ehci0: mem 0xfe7ff000-0xfe7ff0ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 at device 19.0 on pci0 ohci2: [ITHREAD] usbus3: on ohci2 ohci3: mem 0xfe7fb000-0xfe7fbfff irq 18 at device 19.1 on pci0 ohci3: [ITHREAD] usbus4: on ohci3 ehci1: mem 0xfe7fa800-0xfe7fa8ff irq 19 at device 19.2 on pci0 ehci1: [ITHREAD] usbus5: EHCI version 1.0 usbus5: on ehci1 pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] hdac1: mem 0xfe7f4000-0xfe7f7fff irq 16 at device 20.2 on pci0 hdac1: HDA Driver Revision: 20090624_0136 hdac1: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 rl0: port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 20 at device 5.0 on pci3 miibus1: on rl0 rlphy0: PHY 0 on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:a1:b0:01:38:1a rl0: [ITHREAD] ohci4: mem 0xfe7f9000-0xfe7f9fff irq 18 at device 20.5 on pci0 ohci4: [ITHREAD] usbus6: on ohci4 acpi_button0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 atrtc0: port 0x70-0x71 irq 8 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] ACPI Warning: \\_SB_.PCI0.SBRG.FDC_._FDE: Return type mismatch - found Package, expected Buffer 20090521 nspredef-1051 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] driver bug: Unable to set devclass (devname: (null)) cpu0: on acpi0 acpi_throttle0: on cpu0 hwpstate0: on cpu0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 driver bug: Unable to set devclass (devname: (null)) orm0: at iomem 0xcf000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec usbus6: 12Mbps Full Speed USB v1.0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 ZFS NOTICE: system has less than 4GB and prefetch enable is not set... disabling. ZFS filesystem version 13 ZFS storage pool version 13 ugen6.1: at usbus6 uhub0: on usbus6 ugen0.1: at usbus0 uhub1: on usbus0 ugen1.1: at usbus1 uhub2: on usbus1 ugen2.1: at usbus2 uhub3: on usbus2 ugen3.1: at usbus3 uhub4: on usbus3 ugen4.1: at usbus4 uhub5: on usbus4 ugen5.1: at usbus5 uhub6: on usbus5 acd0: DVDR at ata1-master UDMA66 ad4: 238475MB at ata2-master SATA300 hdac0: HDA Codec #0: ATI RS690/780 HDMI pcm0: at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: IDT 92HD206X pcm1: at cad 0 nid 1 on hdac1 pcm2: at cad 0 nid 1 on hdac1 pcm3: at cad 0 nid 1 on hdac1 SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! WARNING: WITNESS option enabled, expect reduced performance. GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). uhub0: 2 ports with 2 removable, self powered uhub1: 3 ports with 3 removable, self powered uhub2: 3 ports with 3 removable, self powered uhub4: 3 ports with 3 removable, self powered uhub5: 3 ports with 3 removable, self powered Root mount waiting for: usbus5 usbus2 Root mount waiting for: usbus5 usbus2 uhub3: 6 ports with 6 removable, self powered uhub6: 6 ports with 6 removable, self powered Trying to mount root from zfs:tank/root KLD pf.ko: depends on kernel - not available linker_load_file: Unsupported file type KLD pflog.ko: depends on pf - not available linker_load_file: Unsupported file type KLD pf.ko: depends on kernel - not available linker_load_file: Unsupported file type now, why is it pf.ko not available, any idea please, thanks in advance! -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/