From owner-freebsd-current@FreeBSD.ORG Thu Jun 4 17:22:50 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78509ED5 for ; Thu, 4 Jun 2015 17:22:50 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (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 4051E1F11 for ; Thu, 4 Jun 2015 17:22:50 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by iebmu5 with SMTP id mu5so5879369ieb.1 for ; Thu, 04 Jun 2015 10:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2PO7Kt+Ey4znDgzxzWW+Yh4tn5j6O564mw5ub5bHvh8=; b=nXJTOzMNX0vxiXSttEJEmrcMRsOMXseHtnGpg9rmRDvObWHtLWamEso/ws+D15JDys FZmnnO5sse942em51byK+Qf2/JEOcv/4wtPmkmvEkTL+EJN8m34LcF4N5jZdEhkj9UW4 PGH8YBoGyXkfXi+uiQupsH4YpJ/9yaE67S75jWkbf04Eu3sAoC1f35dyWE3TyL2tubGy GzPgVqbFuU6tTi+ZyOCXLfKCMxLMdqBJzRZR8L1mhlR+IMmJ+46iFDZ6kp3K4jQY7cpK qB3fr2ll2F5MKf3HbmWqEHa65QrQ5vVnqpViBuDJk8lA3QCOemV/yXTJLpzQew1c1VKM lFKg== X-Received: by 10.43.119.70 with SMTP id ft6mr5621455icc.15.1433438569621; Thu, 04 Jun 2015 10:22:49 -0700 (PDT) Received: from charmander ([206.108.148.142]) by mx.google.com with ESMTPSA id k16sm14609563igf.19.2015.06.04.10.22.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 10:22:48 -0700 (PDT) Sender: Mark Johnston Date: Thu, 4 Jun 2015 10:22:42 -0700 From: Mark Johnston To: Ryan Stone Cc: FreeBSD Current Subject: Re: dtrace failing with "no struct pkt_node definition is available" Message-ID: <20150604172241.GA3357@charmander> References: 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-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 17:22:50 -0000 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.