From owner-freebsd-net@freebsd.org Wed Sep 23 21:25:46 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 07592A08D9E for ; Wed, 23 Sep 2015 21:25:46 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C91641370; Wed, 23 Sep 2015 21:25:45 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by pacex6 with SMTP id ex6so51063981pac.0; Wed, 23 Sep 2015 14:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=wb4uTsfZLPI2sJowlsXKS9gm1t0zzhr5PXSB9XQvoqM=; b=lYIa1BoRQexSd7gX61TIvtH4Rsf71MjTyettW/KQGsevNFgOd1R9DBrPZNsTR/CavB hiPo0LN8FJ5MEx83LLaIM8FIErJutnlKv+7rpQhttl5qB3H1zCZW4cjlqJ9sHryRhYYZ ulYac5QZe6cIfxT0R7wY2ekXqnltTVbzm2cpwLz7WPeOVRwLAk7f2eqkXIWXGuHTtarm I2kvy/6alewT4sx6bYAkyPgVh0bqW6MyBW97A+iG0VR2tBI0BwEBvZGxHOu8LLgUSoDY bfUyo3LertijHI83iDhLLsKHXkxzasNbs8r1RMBNV089A08YFTNgwysjxk8zKs20yX1L 9xAQ== X-Received: by 10.68.68.233 with SMTP id z9mr39851635pbt.132.1443043545493; Wed, 23 Sep 2015 14:25:45 -0700 (PDT) Received: from nparhar-pc (nat-198-95-226-228.netapp.com. [198.95.226.228]) by smtp.gmail.com with ESMTPSA id gi4sm9724870pbc.4.2015.09.23.14.25.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 14:25:44 -0700 (PDT) Date: Wed, 23 Sep 2015 14:25:39 -0700 From: Navdeep Parhar To: Palle Girgensohn Cc: Julien Charbon , George Neville-Neil , freebsd-net@freebsd.org Subject: Re: Kernel panics in tcp_twclose Message-ID: <20150923212539.GA2233@nparhar-pc> Mail-Followup-To: Palle Girgensohn , Julien Charbon , George Neville-Neil , freebsd-net@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Wed, 23 Sep 2015 21:25:46 -0000 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: > > > > $ cat tcp-close-tw.d > > fbt::tcp_close:entry > > /args[0]->t_inpcb->inp_flags & 0x01000000/ > > { > > @s1[stack()] = count() > > } > > > > tick-1sec { > > printa(@s1); > > } > > $ sudo dtrace -s tcp-close-tw.d > > # 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 > > > > > on one system... > > and for the other two: > > # dtrace -s tcp-close-tw.d > dtrace: failed to initialize dtrace: DTrace device not available on system > > I'm adding > > options KDTRACE_HOOKS > > to the kernels, I guess that will help? Load the DTrace modules ("kldload dtraceall") before trying to run the DTrace script. Regards, Navdeep