From owner-freebsd-current@freebsd.org Sun Nov 1 19:25:11 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA21DA24AF8 for ; Sun, 1 Nov 2015 19:25:10 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD61B135B; Sun, 1 Nov 2015 19:25:10 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacfv9 with SMTP id fv9so129961958pac.3; Sun, 01 Nov 2015 11:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=bqzpFQ/o0PKPfbXUywD9G367Vv5gCJxvxJZES5XwC/w=; b=Tb3RR3m7sTIoIM6GttwmxaCH6TKodVS1P1d2jTHgFGjoMPEY2bUwN7f3xH9w3pNIos i5a3qD6yMIrCeqFU067IxdUc0iyHKITv4i/Kc2f0UvCosr8P3g/ajQrjXMFOsDBWTwxe ME389Uxz431GQDuGVNQBYzIais+PPdNfvxN3BGEUE1xqB2Qmpx+dHA9P2IcIDxCPfbXW 5Th2x+KBRkPDRdRcrP1IXtqKXxB5Z8YDVIuXmdhWiyfKiIPnECIl6eSuQ9LFm53EwH9P HHv+iHvcZuAbJUn2ky1g6K7cPhbFTuS2JJqa6wPJ/xrepEKKv1gVy4J5PSlvPbbleb1X NRLw== X-Received: by 10.68.211.132 with SMTP id nc4mr22677664pbc.16.1446405910352; Sun, 01 Nov 2015 11:25:10 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id rn7sm19822210pab.23.2015.11.01.11.25.09 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Nov 2015 11:25:09 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Panic with PF on current. From: NGie Cooper In-Reply-To: Date: Sun, 1 Nov 2015 11:25:08 -0800 Cc: "freebsd-current@freebsd.org" , Kristof Provost Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Daniel Dettlaff X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 19:25:11 -0000 > On Nov 1, 2015, at 10:54, Daniel Dettlaff wrote: >=20 > Hello. >=20 > I have my first kernel panic, probably related to pf/pflog in CURRENT: >=20 > I built kernel using this config: = https://github.com/VerKnowSys/ServeD-OS/blob/master/kernel/VERKNOWSYS-11.0= > My make.conf: = https://github.com/VerKnowSys/ServeD-OS/blob/master/etc/make.conf > My src.conf: = https://github.com/VerKnowSys/ServeD-OS/blob/master/etc/src.conf > My loader.conf: = https://github.com/VerKnowSys/ServeD-OS/blob/master/etc/loader.conf.served= > My sysctl.conf: = https://github.com/VerKnowSys/ServeD-OS/blob/master/etc/sysctl.conf.served= >=20 > I=E2=80=99m using Vmware Fusion 7.0 pro as host. >=20 > I catched that panic on main system console (verbose boot turned on): >=20 > http://s.verknowsys.com/18bfec6f00e939e0b93952a4117fda34.png >=20 > As you see it looks related to pfsync. Hence I tried to disable pf for = test, but just after `service pf stop` more =E2=80=9Cdetailed panic" = happened: >=20 > http://s.verknowsys.com/a1500912956930aa9eda16383347657c.png > and with some backtrace: > http://s.verknowsys.com/9f413eec8be03faf898208ef9d2fe555.png >=20 > My build (kernel + world + HBSD patches) is here: = http://served.verknowsys.com/ServeD-OS-Base-11.0-v0.11.7-amd64.tar.xz if = you want to try to reproduce it maybe. >=20 >=20 > Panic will happen only if =E2=80=9Cpf" kernel module is loaded. Since = I disabled =E2=80=9Cpf" and =E2=80=9Cpflog", system works as expected, = no panic at all. >=20 >=20 > This issue was also reported to #HardenedBSD since I=E2=80=99m not = sure it=E2=80=99s related to hardening patches or not. (It seems not = related at the moment). >=20 > Thank you :) Hope this will help someone, let me know if I can help = somehow further. CCing kp. What version of FreeBSD (revision, git hash) is this based on? Thanks, -NGie=