Re: Fatal trap 12

From: Ivan Klymenko <fidaj_at_ukr.net>
Date: Thu, 23 Jun 2016 12:25:08 +0300
On Thu, 23 Jun 2016 10:54:46 +0200
Johan Hendriks <joh.hendriks_at_gmail.com> 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.
Received on Thu Jun 23 2016 - 07:25:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC