dtrace failing with "no struct pkt_node definition is available"

Mark Johnston markj at FreeBSD.org
Thu Jun 4 17:22:50 UTC 2015


On Thu, Jun 04, 2015 at 01:06:23PM -0400, Ryan Stone wrote:
> I'm getting this error when I try to run dtrace on a recent head:
> 
> dtrace: failed to compile script error.d: "/usr/lib/dtrace/tcp.d", line
> 292: operator -> cannot be applied to a forward declaration: no struct
> pkt_node definition is available.
> 
> I confirmed that I do have ctf data in my kernel.  I was able to get the
> dtrace script to run by removing tcp.d.  Has something changed in the
> kernel that tcp.d needs to catch up with?

Hi Ryan,

This was a temporary problem caused by the addition to tcp.d of a
siftr(4)-specific translator - if siftr isn't loaded, you'll get this
error. I fixed the problem a few weeks ago in r283026, so it should
be sufficient to update to a more recent head and rebuild
cddl/lib/libdtrace.


More information about the freebsd-current mailing list