From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 9 17:19:38 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 748E916A41F for ; Fri, 9 Sep 2005 17:19:38 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B5B943D66 for ; Fri, 9 Sep 2005 17:19:29 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3C724.dip.t-dialin.net [84.163.199.36] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML21M-1EDmXA17Nh-0005K9; Fri, 09 Sep 2005 19:19:28 +0200 From: Max Laier To: freebsd-hackers@freebsd.org Date: Fri, 9 Sep 2005 19:19:05 +0200 User-Agent: KMail/1.8.2 References: <2845.195.12.22.194.1126261787.squirrel@www.helenmarks.co.uk> <3178.195.12.22.194.1126271140.squirrel@www.helenmarks.co.uk> In-Reply-To: <3178.195.12.22.194.1126271140.squirrel@www.helenmarks.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5215020.HH9J4Xr84O"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509091919.22875.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: 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 17:19:38 -0000 --nextPart5215020.HH9J4Xr84O Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3D8843 mtu 1500 > > options=3Db > > 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().= =20 Can you please try this patch and report back. Thanks in advance. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart5215020.HH9J4Xr84O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDIcQaXyyEoT62BG0RAnJ3AJ0Q/5uijiakHfvvwfszwNiumXcnpwCdGZzb ZnR6pfZMMaKUqjfLKLMhxd8= =jrOc -----END PGP SIGNATURE----- --nextPart5215020.HH9J4Xr84O--