Re: panic: no appropriate pool

2015-08-03 Thread Mike Belopuhov
;> give > > >> you something reasonable: > > >> > > >> pfctl -a '*' -vvsr > > >> pfctl -a 'ext1' -vvsr > > >> pfctl -a 'ext2' -vvsr > > > > > > Thanks, "panic: no appropriate pool f

Re: panic: no appropriate pool

2015-08-02 Thread Joerg Jung
t; give >>>> you something reasonable: >>>> >>>> pfctl -a '*' -vvsr >>>> pfctl -a 'ext1' -vvsr >>>> pfctl -a 'ext2' -vvsr >>> >>> Thanks, "panic: no appropriate pool for 23/23" is the

Re: panic: no appropriate pool

2015-08-02 Thread Jonathan Gray
ff to see which rule the state belongs to. since you're using > >> anchors, figuring > >> out rule numbers will not be easy but you may try to see if one of those > >> give > >> you something reasonable: > >> > >> pfctl -a '*' -vvsr

Re: panic: no appropriate pool

2015-08-02 Thread Mike Belopuhov
uring >> out rule numbers will not be easy but you may try to see if one of those give >> you something reasonable: >> >> pfctl -a '*' -vvsr >> pfctl -a 'ext1' -vvsr >> pfctl -a 'ext2' -vvsr > > Thanks, "panic: no appropria

Re: panic: no appropriate pool

2015-08-02 Thread RD Thrush
treat the >> associated rules accordingly. >> > > most likely it's triggered by the reply-to statement. you may try the > attached > diff to see which rule the state belongs to. since you're using > anchors, figuring > out rule numbers will not be easy but

Re: panic: no appropriate pool

2015-08-02 Thread Mike Belopuhov
(nr->rdr.addr.type != PF_ADDR_NONE) rpool = nr->rdr; else if (nr->nat.addr.type != PF_ADDR_NONE) @@ -873,7 +874,8 @@ pf_postprocess_addr(struct pf_state *cur) else if (nr->route.addr.type != PF_ADDR_NONE) rpool = nr->route; else

Re: panic: no appropriate pool

2015-08-02 Thread RD Thrush
On 08/01/15 19:31, Jonathan Gray wrote: > On Sat, Aug 01, 2015 at 08:46:00PM +0200, Mike Belopuhov wrote: >> [... snip ...] >> You're slightly overanalyzing here: panic has caught the unhandled >> case, but it's not needed per se. >> > > The code directly after the panic assumes rpool is set. >

Re: panic: no appropriate pool

2015-08-01 Thread Jonathan Gray
On Sat, Aug 01, 2015 at 08:46:00PM +0200, Mike Belopuhov wrote: > On 1 August 2015 at 19:20, RD Thrush wrote: > > > > The patch ran without panic for 20+ hours. > > > > Thanks for testing! > > > I wondered about the removal of the panic() statement so I tried > > another kernel that added the me

Re: panic: no appropriate pool

2015-08-01 Thread RD Thrush
On 08/01/15 14:46, Mike Belopuhov wrote: > On 1 August 2015 at 19:20, RD Thrush wrote: >> >> The patch ran without panic for 20+ hours. >> > > Thanks for testing! > >> I wondered about the removal of the panic() statement so I tried >> another kernel that added the memset() but kept the panic()

Re: panic: no appropriate pool

2015-08-01 Thread Mike Belopuhov
On 1 August 2015 at 19:20, RD Thrush wrote: > > The patch ran without panic for 20+ hours. > Thanks for testing! > I wondered about the removal of the panic() statement so I tried > another kernel that added the memset() but kept the panic() statement, as > follows: > [snip] > > That kernel pan

Re: panic: no appropriate pool

2015-08-01 Thread RD Thrush
0644 > --- sys/net/pf_lb.c > +++ sys/net/pf_lb.c > @@ -866,14 +866,13 @@ pf_postprocess_addr(struct pf_state *cur) > } > > /* check for appropriate pool */ > + memset(&rpool, 0, sizeof(rpool)); > if (nr->rdr.addr.type != PF_ADDR_NONE) >

Re: panic: no appropriate pool

2015-07-31 Thread RD Thrush
&rpool, 0, sizeof(rpool)); > if (nr->rdr.addr.type != PF_ADDR_NONE) > rpool = nr->rdr; > else if (nr->nat.addr.type != PF_ADDR_NONE) > rpool = nr->nat; > else if (nr->route.addr.type != PF_ADDR_NONE) > rpool = nr->route; > - else > - panic("no appropriate pool"); > > if (((rpool.opts & PF_POOL_TYPEMASK) != PF_POOL_LEASTSTATES)) > return (0); >

Re: panic: no appropriate pool

2015-07-31 Thread Mike Belopuhov
mset(&rpool, 0, sizeof(rpool)); if (nr->rdr.addr.type != PF_ADDR_NONE) rpool = nr->rdr; else if (nr->nat.addr.type != PF_ADDR_NONE) rpool = nr->nat; else if (nr->route.addr.type != PF_ADDR_NONE) rpool = nr->route; - else - panic("no appropriate pool"); if (((rpool.opts & PF_POOL_TYPEMASK) != PF_POOL_LEASTSTATES)) return (0);

Re: panic: no appropriate pool

2015-07-31 Thread Mike Belopuhov
On Fri, Jul 31, 2015 at 10:57 -0400, RD Thrush wrote: > >Synopsis:panic in sys/net/pf_lb.c > >Category:kernel > >Environment: > System : OpenBSD 5.8 > Details : OpenBSD 5.8 (GENERIC) #1047: Thu Jul 30 23:24:48 MDT 2015 > > dera...@i386.openbsd.or

panic: no appropriate pool

2015-07-31 Thread RD Thrush
00 0x00d0: 0x00e0: 00000000 0x00f0: acpidump: ddb session # login: panic: no appropriate pool Stopped at D