From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 11:24:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54DEB1065693; Wed, 1 Sep 2010 11:24:06 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F322F8FC1E; Wed, 1 Sep 2010 11:24:05 +0000 (UTC) Received: by qyk4 with SMTP id 4so8402483qyk.13 for ; Wed, 01 Sep 2010 04:24:05 -0700 (PDT) Received: by 10.229.186.137 with SMTP id cs9mr5286920qcb.71.1283340245395; Wed, 01 Sep 2010 04:24:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.190.83 with HTTP; Wed, 1 Sep 2010 04:23:45 -0700 (PDT) In-Reply-To: <3A9BC6EA-0F7B-4C57-9179-4E5858894955@freebsd.org> References: <236CEF13-3153-4ACA-9C67-B0116FF76EB3@FreeBSD.org> <3A9BC6EA-0F7B-4C57-9179-4E5858894955@freebsd.org> From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= Date: Wed, 1 Sep 2010 13:23:45 +0200 Message-ID: To: Rui Paulo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "current@freebsd.org Current" Subject: Re: DTrace userland project X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 11:24:06 -0000 On Wed, Sep 1, 2010 at 12:57, Rui Paulo wrote: > On 1 Sep 2010, at 11:20, Marius N=C3=BCnnerich wrote: > >> On Wed, Sep 1, 2010 at 00:21, Rui Paulo wrote: >>> Hi, >>> The DTrace userland project is near completion and you can start using = parts of it right away (only on FreeBSD HEAD right now). >>> >>> For more information on how to use DTrace with userland, please read: >>> http://wiki.freebsd.org/DTrace/userland >> >> Hi, >> >> I set this up in a VirtualBox with 9-current r212073 amd64, 4-cores, >> amd-v and nested paging enabled. >> I tried >> dtruss /usr/bin/true >> it works but is really slow, it takes ~10s to switch vt. > > This is not really using the new userland dtrace code, but the old one. I= suspect DTrace has a problem running on your system. Can you try a differe= nt VM software or real hardware? I never experienced this problem on VMWare= Fusion. I have no other VM or real hardware available at the moment. >> I tried the pid example as well, if I execute it on ttyv0 I can see lots= of >> kernel trap 12 with interrupts disabled >> messages flying by and inbetween the desired _sleep:entry probes. When >> I execute that script on ttyv1 I obviously don't see the kernel trap >> messages and the machine kindof locks up (no output at all). I can do >> a clean ACPI shutdown though. > > This looks like I race that I haven't fixed yet. Either way, if the VM is= interfering, then it will be hard to find out how to fix this. It is reproducible every time. But I too have no idea how to tackle this.