From owner-freebsd-pf@freebsd.org Wed Feb 28 04:07:25 2018 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C15ECF24E6A for ; Wed, 28 Feb 2018 04:07:25 +0000 (UTC) (envelope-from srs0=z56q=fw=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FAED823F3 for ; Wed, 28 Feb 2018 04:07:25 +0000 (UTC) (envelope-from srs0=z56q=fw=sigsegv.be=kristof@codepro.be) Received: from [220.247.151.153] (unknown [IPv6:2001:df9:2:0:8dbe:6587:e577:7328]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 1E3C42C0BE; Wed, 28 Feb 2018 05:07:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1519790843; bh=CnCSpHzmDX+hckFvz/IbwC/MdcJwXmroe+tWDeGlZ2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B7pCNyzrniI4p2nOa55JxULdJofQRoIPq7xVwA4J5HSypP+PTYnf2PhoPZmwY57ms K1+aDrfFMOOEvFzXaaYNZiemlJakrTvlraeqf+C5z6cyGj5tU5w9kLiH8bmKRVjnWw 2zlWKUYGcK0pYwHGWS8s5eh0HH9KAI1pArIBXEO4= From: "Kristof Provost" To: "Joe Jones" Cc: freebsd-pf@freebsd.org Subject: Re: Kernel Panic Date: Wed, 28 Feb 2018 09:52:20 +0545 X-Mailer: MailMate (2.0BETAr6103) Message-ID: <22A6028C-9BBA-4117-8734-D976EA5A1367@sigsegv.be> In-Reply-To: <19aedb50-34c0-417d-fc1e-e8d519655684@stream-technologies.com> References: <5A842FC6.7020806@stream-technologies.com> <5A8443BF.8040208@stream-technologies.com> <5289570D-24E1-4292-B4D2-D2F67D7D2D4F@sigsegv.be> <5A93EDC9.7020407@stream-technologies.com> <9F39A687-FB34-4984-B969-5264DF38544E@sigsegv.be> <19aedb50-34c0-417d-fc1e-e8d519655684@stream-technologies.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 28 Feb 2018 04:07:25 -0000 On 27 Feb 2018, at 20:40, Joe Jones wrote: > we have a kernel panic after compiling with witness and invariant > > Feb 27 13:49:33 sovapn1 kernel: lock order reversal: > Feb 27 13:49:33 sovapn1 kernel: 1st 0xfffffe000fed78b8 pf_idhash > (pf_idhash) @ /usr/src/sys/netpfil/pf/pf.c:1078 > Feb 27 13:49:33 sovapn1 kernel: 2nd 0xfffff8001e0474a8 pfsync (pfsync) > @ /usr/src/sys/netpfil/pf/if_pfsync.c:1667 That’s a lock order reversal. It’s not good, but it should at worst result in a deadlock. Did the system stop after this? It also looks like a different problem from the panic you initially reported. Regards, Kristof