From owner-freebsd-net@FreeBSD.ORG Thu May 28 01:31:42 2015 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B9E961E for ; Thu, 28 May 2015 01:31:42 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88E60E1E for ; Thu, 28 May 2015 01:31:42 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 580B510B092; Wed, 27 May 2015 18:31:35 -0700 (PDT) Date: Wed, 27 May 2015 18:31:35 -0700 From: hiren panchasara To: Julian Kornberger Cc: "net@freebsd.org" Subject: Re: Crash with GRE und IPFW fwd Message-ID: <20150528013135.GR95600@strugglingcoder.info> References: <5566565A.7030200@tzi.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6nfUOKxk8V1TQsEu" Content-Disposition: inline In-Reply-To: <5566565A.7030200@tzi.de> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Thu, 28 May 2015 01:31:42 -0000 --6nfUOKxk8V1TQsEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05/28/15 at 01:42P, Julian Kornberger wrote: > Hi, >=20 > 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. >=20 > If there is no GRE traffic, the system is stable. As soon as there is=20 > GRE traffic i takes araound one to five minutes until is crashes. > If I omit the second fwd rule, it never crashes. >=20 > I use a FreeBSD 10.1 on a PC Engines APU.1D board. > Any Ideas how to debug this? >=20 > Kind Regards > Julian >=20 >=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =3D 0x7c > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x20:0xffffffff80a58105 > stack pointer =3D 0x28:0xfffffe00957335e0 > frame pointer =3D 0x28:0xfffffe00957336e0 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 1707 (tcpmssd) Where is this from? net/tcpmssd port/package?=20 If so, try disabling/uninstalling it and see if that helps. cheers, Hiren > trap number =3D 12 > panic: page fault > cpuid =3D 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --6nfUOKxk8V1TQsEu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVZm/3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lLEMH/0PNo5hPdWdKLZ28T2SywVTq ky7ApXhhV5pWyJeS6YcXu2aXYYmnvkEnvqmEBEYmwlUhbDNbpOYJ5K6dYzdZjwE4 f5PEHt6t5Amqn4JJ96HEUbSvMekI0mGqBU6OHvsVfN4VhLs/w0lg/j4tQXxF9rFG T0eT7J0roAIsOIFBwcgexWGeBlTtePPe5+w473pCU14WJOXOuxdjo+s2QYnLSgeL 7ZYkD504Y+KllCCghO0hfFkVXV4h+J1yQWKFdT9nr9bCSjnabov06TEzbV7Bt6zp 1Qf7LHQIVBBMwmD6pY+EPssoVlUJSQsso3hk8mgZzhBN0SbCNwAWUdkUODIWBL8= =LtR5 -----END PGP SIGNATURE----- --6nfUOKxk8V1TQsEu--