From owner-freebsd-net@freebsd.org Wed Sep 23 21:29:11 2015 Return-Path: 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 9E2D8A08F22 for ; Wed, 23 Sep 2015 21:29:11 +0000 (UTC) (envelope-from girgen@gmail.com) Received: from mail.pingpong.net (mail.pingpong.net [79.136.116.202]) by mx1.freebsd.org (Postfix) with ESMTP id 444CC1556; Wed, 23 Sep 2015 21:29:11 +0000 (UTC) (envelope-from girgen@gmail.com) Received: from mail.pingpong.net (localhost [127.0.0.1]) by mail.pingpong.net (Postfix) with ESMTP id 0DAD7D404; Wed, 23 Sep 2015 23:29:10 +0200 (CEST) X-Virus-Scanned: by amavisd-new at pingpong.net Received: from mail.pingpong.net ([127.0.0.1]) by mail.pingpong.net (mail.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PLMJ5mOJbvJa; Wed, 23 Sep 2015 23:29:09 +0200 (CEST) Received: from [10.0.1.12] (h-155-4-74-242.na.cust.bahnhof.se [155.4.74.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.pingpong.net (Postfix) with ESMTPSA id CF004D401; Wed, 23 Sep 2015 23:29:09 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Kernel panics in tcp_twclose From: Palle Girgensohn In-Reply-To: <20150923212539.GA2233@nparhar-pc> Date: Wed, 23 Sep 2015 23:29:09 +0200 Cc: Julien Charbon , George Neville-Neil , freebsd-net@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <55FFBE01.6060706@freebsd.org> <3721F099-F45D-4DCD-8AB3-84D1ABC44145@FreeBSD.org> <73856F2B-3E70-483C-9988-C84E798CEB44@FreeBSD.org> <44EBAC98-4761-4E47-8E47-5032430A1C8A@FreeBSD.org> <56019AF8.8000705@freebsd.org> <5601CF2D.9030307@freebsd.org> <5602E90A.9050504@freebsd.org> <20150923212539.GA2233@nparhar-pc> To: Navdeep Parhar X-Mailer: Apple Mail (2.2104) 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, 23 Sep 2015 21:29:11 -0000 > 23 sep 2015 kl. 23:25 skrev Navdeep Parhar : >=20 > On Wed, Sep 23, 2015 at 11:15:03PM +0200, Palle Girgensohn wrote: > ... >>> By the way Palle could you also run below Dtrace script to see where >>> this tcp_close() in INP_TIMEWAIT comes from: >>>=20 >>> $ cat tcp-close-tw.d >>> fbt::tcp_close:entry >>> /args[0]->t_inpcb->inp_flags & 0x01000000/ >>> { >>> @s1[stack()] =3D count() >>> } >>>=20 >>> tick-1sec { >>> printa(@s1); >>> } >>> $ sudo dtrace -s tcp-close-tw.d >>=20 >> # dtrace -s tcp-close-tw.d >> dtrace: failed to compile script tcp-close-tw.d: line 2: t_inpcb is = not a member of struct e1000_hw >>=20 >>>=20 >>=20 >> on one system... >>=20 >> and for the other two: >>=20 >> # dtrace -s tcp-close-tw.d >> dtrace: failed to initialize dtrace: DTrace device not available on = system >>=20 >> I'm adding >>=20 >> options KDTRACE_HOOKS >>=20 >> to the kernels, I guess that will help? >=20 > Load the DTrace modules ("kldload dtraceall") before trying to run the > DTrace script. >=20 > Regards, > Navdeep Ah, cool, thanks. I've downgraded the kernels in thw machines from = stable to 10.2, hence som extra whining.=20 So I don't need=20 options DDB_CTF makeoptions DEBUG=3D-g makeoptions WITH_CTF=3D1 like [https://www.freebsd.org/doc/handbook/dtrace-enable.html] claims? Palle