10.2-RELEASE-p12 pf+GRE crashing

Matthew Grooms mgrooms at shrew.net
Thu Feb 4 16:58:10 UTC 2016


On 2/3/2016 6:47 PM, Matthew Grooms wrote:
> This turned out to be another issue that was patched in head but not 
> back ported to stable. I can't explain why it didn't get tripped when 
> GRE tunnels were disabled. With the patch applied, I can reload my 
> rule sets again without crashing ...
>
> https://svnweb.freebsd.org/base?view=revision&revision=264689
>

I wanted to clarify in case another user runs into this issue and 
searches the mailing list history for a solution: The patch I applied to 
fix this particular kernel crash wasn't 264689, it was ...

https://svnweb.freebsd.org/base?view=revision&revision=264915

Sorry for the misinformation. I cut and pasted the wrong link.

-Matthew

> (kgdb) bt
> #0  doadump (textdump=<value optimized out>) at pcpu.h:219
> #1  0xffffffff807c81f2 in kern_reboot (howto=260) at 
> ../../../kern/kern_shutdown.c:451
> #2  0xffffffff807c85d5 in vpanic (fmt=<value optimized out>, ap=<value 
> optimized out>)
>     at ../../../kern/kern_shutdown.c:758
> #3  0xffffffff807c8463 in panic (fmt=0x0) at 
> ../../../kern/kern_shutdown.c:687
> #4  0xffffffff80bdc10b in trap_fatal (frame=<value optimized out>,
>     eva=<value optimized out>) at ../../../amd64/amd64/trap.c:851
> #5  0xffffffff80bdc40d in trap_pfault (frame=0xfffffe0000233a80,
>     usermode=<value optimized out>) at ../../../amd64/amd64/trap.c:674
> #6  0xffffffff80bdbaaa in trap (frame=0xfffffe0000233a80)
>     at ../../../amd64/amd64/trap.c:440
> #7  0xffffffff80bc1fa2 in calltrap () at 
> ../../../amd64/amd64/exception.S:236
> #8  0xffffffff809c07f4 in pfr_detach_table (kt=0x0) at 
> ../../../netpfil/pf/pf_table.c:2047
> #9  0xffffffff809a91f4 in pf_empty_pool (poola=0xffffffff813c3d68)
>     at ../../../netpfil/pf/pf_ioctl.c:354
> #10 0xffffffff809ab3e5 in pfioctl (dev=<value optimized out>, 
> cmd=<value optimized out>,
>     addr=0xfffff8005eaf6800 "", flags=<value optimized out>, td=<value 
> optimized out>)
>     at ../../../netpfil/pf/pf_ioctl.c:2189
> #11 0xffffffff806b5659 in devfs_ioctl_f (fp=0xfffff8000a2927d0, 
> com=3295691827,
>     data=0xfffff8005eaf6800, cred=<value optimized out>, 
> td=0xfffff8000a25f000)
>     at ../../../fs/devfs/devfs_vnops.c:785
> #12 0xffffffff8081b805 in kern_ioctl (td=0xfffff8000a25f000, fd=<value 
> optimized out>,
>     com=2) at file.h:320
> #13 0xffffffff8081b500 in sys_ioctl (td=0xfffff8000a25f000, 
> uap=0xfffffe0000234b40)
>     at ../../../kern/sys_generic.c:718
> #14 0xffffffff80bdca27 in amd64_syscall (td=0xfffff8000a25f000, traced=0)
>     at subr_syscall.c:134
> #15 0xffffffff80bc228b in Xfast_syscall () at 
> ../../../amd64/amd64/exception.S:396
> #16 0x0000000800dd9fda in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> Current language:  auto; currently minimal
>
> -Matthew
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list