Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2015 19:54:15 +0100
From:      Daniel Dettlaff <dmilith@gmail.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Panic with PF on current.
Message-ID:  <E9BCA1E2-EF3D-4DBD-8540-37CD8711D054@gmail.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_7CEA7AE2-6321-4D10-B07F-FD458DFB948E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello.

I have my first kernel panic, probably related to pf/pflog in CURRENT:

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=


I=E2=80=99m using Vmware Fusion 7.0 pro as host.

I catched that panic on main system console (verbose boot turned on):

http://s.verknowsys.com/18bfec6f00e939e0b93952a4117fda34.png

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:

http://s.verknowsys.com/a1500912956930aa9eda16383347657c.png
and with some backtrace:
http://s.verknowsys.com/9f413eec8be03faf898208ef9d2fe555.png

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.


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.


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).

Thank you :) Hope this will help someone, let me know if I can help =
somehow further.

--
kind regards

Daniel (dmilith) Dettlaff


--Apple-Mail=_7CEA7AE2-6321-4D10-B07F-FD458DFB948E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlY2X9wACgkQgTgvVY+WpZr5/QCfdqL/u818YaXs6cM9mYzAU/D1
oTEAn2uB/b9KYrwwj+Wd3GGRXdEpnan0
=VJvw
-----END PGP SIGNATURE-----

--Apple-Mail=_7CEA7AE2-6321-4D10-B07F-FD458DFB948E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9BCA1E2-EF3D-4DBD-8540-37CD8711D054>