Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2010 18:22:40 -0600
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Zhihao Yuan <lichray@gmail.com>
Cc:        freebsd-stable@freebsd.org, Jeremy Chadwick <freebsd@jdc.parodius.com>, Andriy Gapon <avg@freebsd.org>
Subject:   Re: Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE
Message-ID:  <AANLkTimb-Kijj_%2BQ2%2BxKrjtP65Zx%2BJ7rUjEP4i0HZyu6@mail.gmail.com>
In-Reply-To: <AANLkTimsa-YM6B_272U4gjZzt1Ce05LR4sQTz_AiHJCU@mail.gmail.com>
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> <AANLkTimsa-YM6B_272U4gjZzt1Ce05LR4sQTz_AiHJCU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 1, 2010 at 4:30 PM, Zhihao Yuan <lichray@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimb-Kijj_%2BQ2%2BxKrjtP65Zx%2BJ7rUjEP4i0HZyu6>