From owner-freebsd-stable@FreeBSD.ORG Thu Dec 2 00:22:42 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 214E81065675 for ; Thu, 2 Dec 2010 00:22:42 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 81DB78FC12 for ; Thu, 2 Dec 2010 00:22:41 +0000 (UTC) Received: by wyf19 with SMTP id 19so7551158wyf.13 for ; Wed, 01 Dec 2010 16:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=xibAQVHW+PfjwQcqLFfEc1re482CA6ldAZ3hHTmydOw=; b=EEFycCmZDr9Lwgyu2nPp410GmBBBXKGyiLHCb0eSiF61HLnN/lSHF3iahxUbd234kT mjFN4k2LJiuTDvhHnEGSsePmg/wzKEIJudeTEoOR7KRJH76h2jLx7SGhhBhvMrLlknQY laraadfyj1McMbqhm3S+LZsw+Rxm1dI2TLqg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lC9tjjGGUztzL7r1ngHjnA1WL/gwZiTG7gS7Fniq+IsgUenf5LvzYZb1YxGBoMmKiI tPZyAiswBqp319f+NEHy35XC+AcwY/QJ/Zbr+ep0FFQBdZIisGRuijEt2PsOLBMFPBzA 802JTPt7SY6G7SqCIiaSlhYyZ4Kv74EGp77Tw= MIME-Version: 1.0 Received: by 10.216.142.199 with SMTP id i49mr8125779wej.96.1291249360302; Wed, 01 Dec 2010 16:22:40 -0800 (PST) Received: by 10.216.12.80 with HTTP; Wed, 1 Dec 2010 16:22:40 -0800 (PST) In-Reply-To: References: <20101123081244.GA38354@icarus.home.lan> <20101123082046.GA62301@compaq.yuetime> <4CEBB613.5010009@freebsd.org> <20101123131353.GA7243@icarus.home.lan> <20101123132519.GA1426@icarus.home.lan> <4CEBC155.9090706@freebsd.org> Date: Wed, 1 Dec 2010 18:22:40 -0600 Message-ID: From: Brandon Gooch To: Zhihao Yuan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick , 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: Thu, 02 Dec 2010 00:22:42 -0000 On Wed, Dec 1, 2010 at 4:30 PM, Zhihao Yuan wrote: > OK. Let's make this more clear: anyone has a working 8-2-PRERELEASE kernel > (amd64 is preferred) with Dtrace supports, which can run the > scripts/commands on the wiki? If so, please post your kernel configurations > here, thanks. I have an i386 system working: FreeBSD d820.flick.local 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2 r216091: Wed Dec 1 18:06:20 CST 2010 root@d820.flick.local:/usr/obj/usr/src/sys/D820 i386 Just built the kernel and ran through some tests on the DTrace wiki page. Incidentally, I had a tough time on my system running HEAD built with clang. DTrace simply would not run properly until I built the kernel with the base gcc. It was as if the kernel and userland were not in sync, no matter what I tried (even netstat didn't work). Maybe you need to clean EVERYTHING, checkout a clean source tree (if you've been mucking around in there), and rebuild and install kernel and world. I wish I could help more, but I'm still just a newb in a lot of respects... -Brandon