From owner-freebsd-net@FreeBSD.ORG Wed May 27 23:42:29 2015 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 719BB81B for ; Wed, 27 May 2015 23:42:29 +0000 (UTC) (envelope-from juliank@tzi.de) Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailhost.informatik.uni-bremen.de", Issuer "Universitaet Bremen CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E566511A for ; Wed, 27 May 2015 23:42:28 +0000 (UTC) (envelope-from juliank@tzi.de) X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t4RNgIRY015898; Thu, 28 May 2015 01:42:18 +0200 (CEST) Received: from [IPv6:2003:55:6b2b:dc00:219c:2dbc:e356:f6c1] (p200300556B2BDC00219C2DBCE356F6C1.dip0.t-ipconnect.de [IPv6:2003:55:6b2b:dc00:219c:2dbc:e356:f6c1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3lxpbt4GzVz8x3C; Thu, 28 May 2015 01:42:18 +0200 (CEST) Message-ID: <5566565A.7030200@tzi.de> Date: Thu, 28 May 2015 01:42:18 +0200 From: Julian Kornberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "net@freebsd.org" Subject: Crash with GRE und IPFW fwd Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 23:42:29 -0000 Hi, I have recurring crashes if I forward GRE packets using IPFW with fwd: - The first fwd rule forwards incoming traffic into a GRE interface. - The second fwd rule forwards GRE packets to a gateway. If there is no GRE traffic, the system is stable. As soon as there is GRE traffic i takes araound one to five minutes until is crashes. If I omit the second fwd rule, it never crashes. I use a FreeBSD 10.1 on a PC Engines APU.1D board. Any Ideas how to debug this? Kind Regards Julian Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x7c fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80a58105 stack pointer = 0x28:0xfffffe00957335e0 frame pointer = 0x28:0xfffffe00957336e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1707 (tcpmssd) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80963000 at kdb_backtrace+0x60 #1 0xffffffff80928125 at panic+0x155 #2 0xffffffff80d258df at trap_fatal+0x38f #3 0xffffffff80d25bf8 at trap_pfault+0x308 #4 0xffffffff80d2525a at trap+0x47a #5 0xffffffff80d0b142 at calltrap+0x8 #6 0xffffffff81a15797 at gre_output+0x467 #7 0xffffffff80a59024 at ip_output+0x11b4 #8 0xffffffff819b257a at div_send+0x33a #9 0xffffffff8099e0b5 at sosend_generic+0x475 #10 0xffffffff809a4425 at kern_sendit+0x245 #11 0xffffffff809a4749 at sendit+0x129 #12 0xffffffff809a460d at sys_sendto+0x4d #13 0xffffffff80d26211 at amd64_syscall+0x351 #14 0xffffffff80d0b42b at Xfast_syscall+0xfb