From owner-freebsd-current@freebsd.org Thu Jun 23 09:25:13 2016 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 62FB7A790E8 for ; Thu, 23 Jun 2016 09:25:13 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from frv157.fwdcdn.com (frv157.fwdcdn.com [212.42.77.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 27E7F1194 for ; Thu, 23 Jun 2016 09:25:12 +0000 (UTC) (envelope-from fidaj@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=OlhID2S1pprDoeq5KMaQVK4164ZT8QpGt/kIrdgMSy8=; b=eNkxu6RF8PVK5QvC73SEYgO5C4fyDPeZDYvbhdxwyjYi79cvKWk769UzizlF1cs/xyndcZ5Q914h9NCjv4IBSh6Wh5aCGiVKzYTobTv7xAZk5WYbW9h089YCU5JuPNYCzEopl2pP8jewADLSTzY/3WLzisbdmS3WNvL7Zz5O3rk=; Received: from [37.229.193.176] (helo=nonamehost.local) by frv157.fwdcdn.com with esmtpsa ID 1bG0sn-0007wT-8k ; Thu, 23 Jun 2016 12:25:09 +0300 Date: Thu, 23 Jun 2016 12:25:08 +0300 From: Ivan Klymenko To: Johan Hendriks Cc: freebsd-current@freebsd.org Subject: Re: Fatal trap 12 Message-ID: <20160623122508.73262da4@nonamehost.local> In-Reply-To: <72a04a4e-f210-7f44-20df-1834bb86c08c@gmail.com> References: <20160622203636.050ac83a@nonamehost.local> <20160622204526.427fa6ea@nonamehost.local> <20160622205607.472ea221@nonamehost.local> <589E375F-8518-4849-AA0C-E4FE8F1D85E1@lists.zabbadoz.net> <72a04a4e-f210-7f44-20df-1834bb86c08c@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Result: IP=37.229.193.176; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 23 Jun 2016 09:25:13 -0000 On Thu, 23 Jun 2016 10:54:46 +0200 Johan Hendriks wrote: > I have the following in my kernel config > # pf > options ALTQ > options ALTQ_CBQ > options ALTQ_RED > options ALTQ_RIO > options ALTQ_HFSC > options ALTQ_CDNR > options ALTQ_PRIQ > device pf > device pflog > device pfsync > > I can not alter the order the modules load as far as I know. > I changed the following in /usr/src/sys/netpfil/pf/if_pflog.c > > from > > DECLARE_MODULE(pflog, pflog_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); > > to > > DECLARE_MODULE(pflog, pflog_mod, SI_SUB_PROTO_FIREWALL, SI_ORDER_ANY); > > But after a buildworld the same error. > +1 > Do you compile pflog into the kernel or load it from loader by any > chance? I can see what might happen here. Yes, i have kernel options: device pf device pflog device pfsync ALTQ... > > Can you try to see if this goes away if you load pflog after pf is > loaded? If that helps change the SI_SUB_PSEUDO at the end of > sys/netpfil/pf/if_pflog.c to SI_SUB_PROTO_FIREWALL ; that should fix This does not solve the problem.