Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 23:29:09 +0200
From:      Palle Girgensohn <girgen@gmail.com>
To:        Navdeep Parhar <nparhar@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:  <EF9E2888-9E1A-42FE-8E74-5E52B45B9AC1@gmail.com>
In-Reply-To: <20150923212539.GA2233@nparhar-pc>
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> <20150923212539.GA2233@nparhar-pc>

next in thread | previous in thread | raw e-mail | index | archive | help

> 23 sep 2015 kl. 23:25 skrev Navdeep Parhar <nparhar@gmail.com>:
>=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EF9E2888-9E1A-42FE-8E74-5E52B45B9AC1>