From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 9 23:09:15 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 9DC6616A41F for ; Fri, 9 Sep 2005 23:09:15 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from mail.helenmarks.co.uk (mail.helenmarks.co.uk [82.68.196.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7356F43D5A for ; Fri, 9 Sep 2005 23:09:14 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id DCFC02710C02; Sat, 10 Sep 2005 00:09:12 +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 55074-03; Sat, 10 Sep 2005 00:09:07 +0100 (BST) Received: from egg (egg.helenmarks.co.uk [192.168.15.3]) by mail.helenmarks.co.uk (Postfix) with ESMTP id E52F12710C01; Sat, 10 Sep 2005 00:09:06 +0100 (BST) From: Dominic Marks To: Max Laier Date: Sat, 10 Sep 2005 00:13:13 +0100 User-Agent: KMail/1.8 References: <2845.195.12.22.194.1126261787.squirrel@www.helenmarks.co.uk> <200509091919.22875.max@love2party.net> <200509100101.13974.max@love2party.net> In-Reply-To: <200509100101.13974.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset="cp 850" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509100013.14759.dom@goodforbusiness.co.uk> X-Virus-Scanned: By ClamAV 0.85.1 X-Mailman-Approved-At: Sat, 10 Sep 2005 11:38:07 +0000 Cc: freebsd-hackers@freebsd.org, dominic.marks@graphdata.co.uk, Dominic Marks Subject: Re: 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 23:09:15 -0000 On Saturday 10 September 2005 00:00, Max Laier wrote: > On Friday 09 September 2005 19:19, Max Laier wrote: > > On Friday 09 September 2005 15:05, Dominic Marks wrote: > > > Dominic Marks wrote: > > > > 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 > > > > > > Following a little more testing: > > > > > > If I don't specify a syncpeer I don't get the panic. > > > > Thanks for the dump. Seems like we were leaking a lock from > > pfsyncioctl(). Can you please try this patch and report back. > > Thanks in advance. AWESOME!! I'll test this on Monday when I'm back at work and report on the outcome. > And the patch ... sorry. :) -- Dominic Marks