From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 9 10:29:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4A4616A41F for ; Fri, 9 Sep 2005 10:29:55 +0000 (GMT) (envelope-from dom@helenmarks.co.uk) Received: from mail.helenmarks.co.uk (mail.helenmarks.co.uk [82.68.196.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9A3743D45 for ; Fri, 9 Sep 2005 10:29:54 +0000 (GMT) (envelope-from dom@helenmarks.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id AD8F12710C01; Fri, 9 Sep 2005 11:29:51 +0100 (BST) Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09968-06; Fri, 9 Sep 2005 11:29:47 +0100 (BST) Received: by mail.helenmarks.co.uk (Postfix, from userid 80) id CB0382710C02; Fri, 9 Sep 2005 11:29:47 +0100 (BST) Received: from graphicaldatacapture-ll-194.altohiway.com ([195.12.22.194]) (SquirrelMail authenticated user dom) by www.helenmarks.co.uk with HTTP; Fri, 9 Sep 2005 11:29:47 +0100 (BST) Message-ID: <2845.195.12.22.194.1126261787.squirrel@www.helenmarks.co.uk> Date: Fri, 9 Sep 2005 11:29:47 +0100 (BST) From: "Dominic Marks" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: By ClamAV 0.85.1 Cc: dominic.marks@graphdata.co.uk Subject: FreeBSD 6.0-BETA4 panics when when configuring pfsync0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 10:29:55 -0000 Hello, I am setting up a redundant firewall setup for our company, the systems are identically configured Dell servers running FreeBSD 6.0-BETA4. Software being used is pf, carp, pfsync and altq. When I attempt to configure the pfsync0 interface the systems panic. The systems currently have HTT enabled, I've googled but I didn't find anything to suggest pfsync was not SMP/HTT friendly. Could this be a configuration problem? interface: # ifconfig em2 em2: flags=8843 mtu 1500 options=b inet 172.16.254.2 netmask 0xffffff00 broadcast 172.16.254.255 ether 00:04:23:bd:7a:ef media: Ethernet autoselect (100baseTX ) status: active command: # ifconfig pfsync0 syncdev em2 syncpeer 172.16.254.1 panic message: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x20:0xc067bfdc stack pointer = 0x28:0xcca18aa0 frame pointer = 0x28:0xcca18ab4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 84 (swi4: clock sio) trap number = 12 panic: page fault cpuid = 0 Uptime: 17m1s Dumping 255 MB (2 chunks) backtrace: #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc065b55d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:397 #2 0xc065b881 in panic (fmt=0xc0854645 "%s") at /usr/src/sys/kern/kern_shutdown.c:553 #3 0xc080cdfc in trap_fatal (frame=0xcca18a60, eva=36) at /usr/src/sys/i386/i386/trap.c:841 #4 0xc080c5b6 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1043696512, tf_esi = -106424 5856, tf_ebp = -861828428, tf_isp = -861828468, tf_ebx = -1051017216, tf_edx = - 1043696512, tf_ecx = -1051126400, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066942500, tf_cs = 32, tf_eflags = 65670, tf_esp = 52, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:272 #5 0xc07fa5ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0x00000008 in ?? () #7 0x00000028 in ?? () #8 0x00000028 in ?? () #9 0xc1ca7480 in ?? () #10 0xc090e5a0 in pfi_buffer_max () #11 0xcca18ab4 in ?? () #12 0xcca18a8c in ?? () #13 0xc15ac000 in ?? () #14 0xc1ca7480 in ?? () #15 0xc1591580 in ?? () #16 0x00000000 in ?? () #17 0x0000000c in ?? () #18 0x00000000 in ?? () #19 0xc067bfdc in propagate_priority (td=0xc1ca7480) at /usr/src/sys/kern/subr_turnstile.c:234 #20 0xc067c8f1 in turnstile_wait (lock=0xc090e5a0, owner=0xc1ca7480) at /usr/src/sys/kern/subr_turnstile.c:629 #21 0xc0652cb0 in _mtx_lock_sleep (m=0xc090e5a0, tid=3243950080, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:549 #22 0xc04768ed in pf_test (dir=2, ifp=0xc16ae000, m0=0xcca18c18, eh=0x0, inp=0x0) at /usr/src/sys/contrib/pf/net/pf.c:6284 #23 0xc047f74b in pf_check_out (arg=0x0, m=0xcca18c18, ifp=0xc16ae000, dir=2, inp=0x0) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3386 #24 0xc06d1837 in pfil_run_hooks (ph=0xc0934740, mp=0xcca18c8c, ifp=0xc16ae000, dir=2, inp=0x0) at /usr/src/sys/net/pfil.c:139 #25 0xc06f7172 in ip_output (m=0xc177e900, opt=0xc177e988, ro=0xcca18c58, flags=2, imo=0xc16e3e08, inp=0x0) at /usr/src/sys/netinet/ip_output.c:666 #26 0xc0469dc2 in pfsync_senddef (arg=0xc16e3e00) at /usr/src/sys/contrib/pf/net/if_pfsync.c:1829 #27 0xc0667bea in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:295 #28 0xc0646d11 in ithread_loop (arg=0xc15bc480) at /usr/src/sys/kern/kern_intr.c:545 #29 0xc0645dd5 in fork_exit (callout=0xc0646bc4 , arg=0xc15bc480, frame=0xcca18d38) at /usr/src/sys/kern/kern_fork.c:789 #30 0xc07fa62c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 dmesg: Copyright (c) 1992-2005 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 6.0-BETA4 #1: Tue Sep 6 15:44:57 BST 2005 root@HOSTNAME:/usr/obj/usr/src/sys/FIREWALL ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x641d> AMD Features=0x20100000 Hyperthreading: 2 logical CPUs real memory = 268173312 (255 MB) avail memory = 252772352 (241 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 4 ioapic2: WARNING: intbase 64 != expected base 56 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 5 on acpi0 pci_link3: irq 10 on acpi0 pci_link4: irq 3 on acpi0 pci_link5: on acpi0 pci_link6: on acpi0 pci_link7: irq 6 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 em0: port 0xecc0-0xecff mem 0xdfde0000-0xdfdfffff irq 32 at device 4.0 on pci2 em0: Ethernet address: 00:14:22:72:7c:73 em0: Speed:N/A Duplex:N/A pci1: at device 0.1 (no driver attached) pcib3: at device 0.2 on pci1 pci3: on pcib3 em1: port 0xdcc0-0xdcff mem 0xdfbe0000-0xdfbfffff,0xd fb80000-0xdfbbffff irq 66 at device 7.0 on pci3 em1: Ethernet address: 00:04:23:bd:79:0a em1: Speed:N/A Duplex:N/A em2: port 0xdc80-0xdcbf mem 0xdfbc0000-0xdfbdffff,0xd fb40000-0xdfb7ffff irq 67 at device 7.1 on pci3 em2: Ethernet address: 00:04:23:bd:79:0b em2: Speed:N/A Duplex:N/A pci1: at device 0.3 (no driver attached) uhci0: port 0xbce0-0xbcff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbcc0-0xbcdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: mem 0xdff00000-0xdff003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 em3: port 0xccc0-0xccff mem 0xdf7e0000-0xdf7fffff irq 20 at device 3.0 on pci4 em3: Ethernet address: 00:14:22:72:7c:74 em3: Speed:N/A Duplex:N/A pci4: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31. 1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xbcb8-0xbcbf,0xbcb0-0xbcb3,0xbca0-0xbca7,0xbc98-0xbc9b,0xbc80- 0xbc8f irq 18 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: on atapci1 ata3: on atapci1 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xccfff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 ad4: 152587MB at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a A debug kernel and core file (45MB) are available to developers interested in investigating the problem. Mail me for access. Thanks, -- Dominic Marks