From owner-freebsd-net@freebsd.org  Thu Feb  4 16:58:10 2016
Return-Path: <owner-freebsd-net@freebsd.org>
Delivered-To: freebsd-net@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 679AEA9BAD3;
 Thu,  4 Feb 2016 16:58:10 +0000 (UTC)
 (envelope-from mgrooms@shrew.net)
Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 219B5113E;
 Thu,  4 Feb 2016 16:58:09 +0000 (UTC)
 (envelope-from mgrooms@shrew.net)
Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20])
 by mx1.shrew.net (8.14.7/8.14.7) with ESMTP id u14GtUax077373;
 Thu, 4 Feb 2016 10:55:31 -0600 (CST)
 (envelope-from mgrooms@shrew.net)
Received: from [10.16.32.30] (72-48-144-84.static.grandenetworks.net
 [72.48.144.84])
 by mail.shrew.net (Postfix) with ESMTPSA id 8C88218C859;
 Thu,  4 Feb 2016 10:55:25 -0600 (CST)
Subject: Re: 10.2-RELEASE-p12 pf+GRE crashing
To: freebsd-stable@freebsd.org, freebsd-net@freebsd.org
References: <56B285B0.8010306@shrew.net> <56B29FA0.4080000@shrew.net>
From: Matthew Grooms <mgrooms@shrew.net>
Message-ID: <56B38313.8070004@shrew.net>
Date: Thu, 4 Feb 2016 10:57:55 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56B29FA0.4080000@shrew.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3
 (mx1.shrew.net [10.24.10.10]); Thu, 04 Feb 2016 10:55:31 -0600 (CST)
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Feb 2016 16:58:10 -0000

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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"