Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 10:18:45 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Andreas Longwitz <longwitz@incore.de>
Cc:        "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org>
Subject:   Re: DTrace boken in FreeBSD 10.3 Stable
Message-ID:  <CAFMmRNw%2B=QcK2SF=U3fUFLn_qm-MLJVXzwSdJ=DNAbkP5yENJQ@mail.gmail.com>
In-Reply-To: <5912E417.5070404@incore.de>
References:  <5912E417.5070404@incore.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 10, 2017 at 5:57 AM, Andreas Longwitz <longwitz@incore.de>
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
>
>   <kern.crit> dsssrvt7 kernel: fbt_getargdesc(1296): Unknown function!
>   <kern.crit> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNw%2B=QcK2SF=U3fUFLn_qm-MLJVXzwSdJ=DNAbkP5yENJQ>