From owner-freebsd-stable@FreeBSD.ORG Tue Nov 23 20:45:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D4821065672 for ; Tue, 23 Nov 2010 20:45:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id 193738FC17 for ; Tue, 23 Nov 2010 20:45:43 +0000 (UTC) Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by qmta13.westchester.pa.mail.comcast.net with comcast id aiSi1f00717dt5G5DklkmE; Tue, 23 Nov 2010 20:45:44 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta13.westchester.pa.mail.comcast.net with comcast id aklh1f00G3LrwQ23Zkli4C; Tue, 23 Nov 2010 20:45:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 08C8E9B422; Tue, 23 Nov 2010 12:45:40 -0800 (PST) Date: Tue, 23 Nov 2010 12:45:40 -0800 From: Jeremy Chadwick To: Zhihao Yuan Message-ID: <20101123204540.GA6744@icarus.home.lan> References: <20101123081244.GA38354@icarus.home.lan> <20101123082046.GA62301@compaq.yuetime> <4CEBB613.5010009@freebsd.org> <20101123131353.GA7243@icarus.home.lan> <20101123145159.157170lfpi646gw0@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Alexander Leidinger , freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 20:45:44 -0000 On Tue, Nov 23, 2010 at 02:40:56PM -0600, Zhihao Yuan wrote: > Does the WITH_CTF=1 works for the buildworld? And, what should I do now? > > On Tue, Nov 23, 2010 at 7:51 AM, Alexander Leidinger < > Alexander@leidinger.net> wrote: > > > Quoting Jeremy Chadwick (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 ----- > >>> >> > >>> >>> From: Zhihao Yuan > >>> >>> To: Jeremy Chadwick > >>> >>> 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. My interpretation of what Alexander wrote is this: On RELENG_8, the WITH_CTF=1 parameter must be specified manually on the command-line during the buildworld/installworld and buildkernel/installkernel phases, and cannot be put into /etc/src.conf or /etc/make.conf. E.g.: make buildworld WITH_CTF=1 make buildkernel WITH_CTF=1 make installkernel WITH_CTF=1 make installworld WITH_CTF=1 I'm sure one (or more) of these is superfluous, but someone needs to state up front what exactly the proper procedure is. The "makeoptions WITH_CTF=1" kernel configuration option doesn't appear to work on RELENG_8, and I can confirm that WITH_CTF=true in /etc/src.conf might do "something" but it doesn't fix the problem reported originally. Someone should also probably update the Wiki to reflect what does work properly on RELENG_8 and have a separate section for CURRENT/9. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |