Date: Wed, 23 Sep 2015 14:25:39 -0700 From: Navdeep Parhar <nparhar@gmail.com> To: Palle Girgensohn <girgen@gmail.com> Cc: Julien Charbon <jch@freebsd.org>, George Neville-Neil <gnn@FreeBSD.org>, freebsd-net@freebsd.org Subject: Re: Kernel panics in tcp_twclose Message-ID: <20150923212539.GA2233@nparhar-pc> In-Reply-To: <FCA04243-C40C-4A0D-A22B-7DBCAB3DB15A@gmail.com> 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> <F9D29C16-502B-43A1-BE2C-D2AD30F0B9EF@FreeBSD.org> <5601CF2D.9030307@freebsd.org> <E09DF89D-AAC5-48FD-8B75-EEAB937A5C32@FreeBSD.org> <5602E90A.9050504@freebsd.org> <FCA04243-C40C-4A0D-A22B-7DBCAB3DB15A@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150923212539.GA2233>
