Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE

Alexander Leidinger Alexander at Leidinger.net
Tue Nov 23 13:52:25 UTC 2010


Quoting Jeremy Chadwick <freebsd at jdc.parodius.com> (from Tue, 23 Nov  
2010 05:13:53 -0800):

> On Tue, Nov 23, 2010 at 02:39:47PM +0200, Andriy Gapon wrote:
>> on 23/11/2010 10:20 Zhihao Yuan said the following:
>> > Attach my kernel configuration here, just in case.
>> >
>> > On 00:12 Tue 23 Nov, Jeremy Chadwick wrote:
>> >> Forwarding back to the mailing list since the OP didn't CC it on his
>> >> reply to me.
>> >>
>> >> ----- Forwarded message from Zhihao Yuan <lichray at gmail.com> -----
>> >>
>> >>> From: Zhihao Yuan <lichray at gmail.com>
>> >>> To: Jeremy Chadwick <freebsd at jdc.parodius.com>
>> >>> Date: Tue, 23 Nov 2010 01:18:57 -0600
>> >>> Subject: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE
>> >>>
>> >>> I followed the instructions, but still can not run any D-scripts. All
>> >>> scripts shows the error message that I just posted.
>>
>> Are the installed world and the installed kernel in sync?
>> (Built from the same state of source code).
>
> FWIW, I can reproduce his problem when following the procedure outlined
> in the Wiki.
>
> As a workaround I tried adding WITH_CTF=true to /etc/src.conf and

WITH_CTF for makeoptions is only supported on 9-current (don't  
remember the exact rev).

The text there tells to use WITH_CTF=1 for the buildkernel, but the  
example does not use it (it should for 8.x, it shouldn't need to for  
an approriate rev. of 9-current). The text that it will not work in  
make.conf/src.conf is valid for 8.x, but not (at least it shouldn't)  
for an appropriate versions of 9-current.

Bye,
Alexander.

-- 
For people who like that kind of book,
that is the kind of book they will like.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-stable mailing list