From owner-freebsd-dtrace@freebsd.org Wed May 10 14:18:47 2017 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46418D5D8BB for ; Wed, 10 May 2017 14:18:47 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 0C72CF1B for ; Wed, 10 May 2017 14:18:47 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id f102so2193406ioi.2 for ; Wed, 10 May 2017 07:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7ruCg1fh0V6/MjX+FRYmZftsEH8Yv/14B8J6avI5thk=; b=DCXKaRhyFkxs0Gq9qZWLR70yRjjNoQ16yn7P0l5sH4m1B1BCDR3UhzglA5AiH2VfLu 555Yg0k/lnX8bNnHqST/RSZ953fupXiSJiUeagESO2ja10FeoJ5tWP+QRqBFCDTA8yUc jdceO7guV5IV4ZKNNAASTLJSlpoD2tlnBWHCqnTCmtGEzUgXBV6m/CEBh/GcX28GLDav G1fTxRouGOAcghbwWuKOFBJRXXvmAoPwiQw41v37usSK++9xRZGWxJiRzlVZxg2q+w8p 2BrcmP6SXv8Mp/IMQb8s9PujBxsXBVyIoV87zeuhvWTjOfznd5toMVp6P8rSdlGZxaGX jsGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7ruCg1fh0V6/MjX+FRYmZftsEH8Yv/14B8J6avI5thk=; b=iw5bZD/yLXfKlErspJLwLXj0IyI429VIU9SvoA2Lswmd0fhah60LqwzwJ3XkV7Ti3X tnTTb0cN0TtDzscG4TcuaBxCypko0ogOv7wk6SBZLHhh2b9e3UeRY/R0ZcecIq/tWKi2 9Zs2t/NxgynLsRAqRMt/lFlfPwDqbicPc5okg4L+adQ0CM6vh9mKCaq8zyTDy8GKRqqU lRy6I3ofatg/bO/xXIytsK5jy+oWbfAwuSEkaVh2n4pMHjv+J4whk6iouVlopKnmioQm sg+80AX/fPrZZfC9dOQ+g4V9PcSO7Mc3olmU4T8q1PzeESBBT1szNmGNg6kN/6SCb/cM fIzA== X-Gm-Message-State: AODbwcACL1bpaG+ucguYvlxr6l2mBr0rLryrxKk7Vv31AiPdeYhGbyd3 q3r9PTdQhSiUqQmAKl1NS0cPxsbBoQ== X-Received: by 10.107.25.203 with SMTP id 194mr3461849ioz.182.1494425926307; Wed, 10 May 2017 07:18:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.32.211 with HTTP; Wed, 10 May 2017 07:18:45 -0700 (PDT) In-Reply-To: <5912E417.5070404@incore.de> References: <5912E417.5070404@incore.de> From: Ryan Stone Date: Wed, 10 May 2017 10:18:45 -0400 Message-ID: Subject: Re: DTrace boken in FreeBSD 10.3 Stable To: Andreas Longwitz Cc: "freebsd-dtrace@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 14:18:47 -0000 On Wed, May 10, 2017 at 5:57 AM, Andreas Longwitz wrote: > After upgrade FreeBSD 10.3 from r307955 to r317936 DTrace is broken: > > The output of > dtrace -n 'dtrace:::BEGIN { printf("Hello FreeBSD!\n"); }' > gives > dtrace: invalid probe specifier dtrace:::BEGIN { printf("Hello > FreeBSD!\n"); }: "/usr/lib/dtrace/ip.d", line 245: m_data is not a > member of struct mbuf > > The file ip.d was replaced with commit of Revision 317375. Using the > previus version of the file /usr/lib/dtrace/ip.d lets DTrace work again. > > Another problem with DTrace now are error messages in /var/log/messages > while running "dtrace -vl" like > > dsssrvt7 kernel: fbt_getargdesc(1296): Unknown function! > dsssrvt7 last message repeated 45 times > > This problem looks like the problem described in the old PR kern/160275. > I do not know how to fix this. These error messages suggest that the kernel was built without CTF data. Did you build and install the kernel yourself? If so, I'd recommend rerunning make buildkernel with "WITH_CTF=1" added to the commandline.