Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 18:01:31 +0100
From:      Markus Gebert <markus.gebert@hostpoint.ch>
To:        Christopher Forgeron <csforgeron@gmail.com>
Cc:        freebsd-net@freebsd.org, Rick Macklem <rmacklem@uoguelph.ca>, Jack Vogel <jfvogel@gmail.com>
Subject:   Re: 9.2 ixgbe tx queue hang
Message-ID:  <D5D34624-EE94-417C-84DD-93207CDEF8DC@hostpoint.ch>
In-Reply-To: <CAB2_NwDMbJP7ph786s=aJoo8Pfy7pz5mivt7HYzA12KZSZLZUg@mail.gmail.com>
References:  <CAB2_NwDG=gB1WCJ7JKTHpkJCrvPuAhipkn%2BvPyT%2BxXzOBrTGkg@mail.gmail.com> <FA262955-B3A9-48EC-828B-FF0D4D5D0498@hostpoint.ch> <CAB2_NwDMbJP7ph786s=aJoo8Pfy7pz5mivt7HYzA12KZSZLZUg@mail.gmail.com>

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


On 20.03.2014, at 16:50, Christopher Forgeron <csforgeron@gmail.com> wrote:

> Markus,
> 
> I just wanted to clarify what dtrace will output in a 'no-error'
> situation. I'm seeing the following during a normal ping (no errors) on
> ix0, or even on a non-problematic bge NIC:
> 
> 

This is expected. This dtrace probe will fire if any kernel function that is run in the context of a process named “ping” returns 27, which is what EFBIG stands for. Kernel functions can return 27 for many reasons, not just an error, or they can return void (not sure how dtrace handles this case). Anyway, this dtrace one-liner is only meant to be used in the error case. Otherwise it’s probably useless. And even when the problem occurs, you need to pick the right stack trace, and dig around kernel sources to verify that the functions indeed return EFBIG and not any integer that happens to be 27 by accident.


Markus


> On Thu, Mar 20, 2014 at 7:40 AM, Markus Gebert
> <markus.gebert@hostpoint.ch>wrote:
> 
>> Also, if you have dtrace available:
>> 
>> kldload dtraceall
>> dtrace -n 'fbt:::return / arg1 == EFBIG && execname == "ping" / { stack();
>> }'
>> 
>> while you run pings over the interface affected. This will give you hints
>> about where the EFBIG error comes from.
>> 
>> 
>> 
>> 
>> 
> _______________________________________________
> 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"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5D34624-EE94-417C-84DD-93207CDEF8DC>