DTrace boken in FreeBSD 10.3 Stable

Ryan Stone rysto32 at gmail.com
Wed May 10 14:18:47 UTC 2017


On Wed, May 10, 2017 at 5:57 AM, Andreas Longwitz <longwitz at 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.


More information about the freebsd-dtrace mailing list