Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 14:29:31 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        John Birrell <jb@what-creek.com>
Cc:        current@freebsd.org
Subject:   Re: DTrace/FreeBSD source snapshot
Message-ID:  <18340.50354.244903.435464@grasshopper.cs.duke.edu>
In-Reply-To: <20080201223719.GA88460@what-creek.com>
References:  <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

John Birrell writes:
 > On Fri, Feb 01, 2008 at 04:17:40PM -0500, Andrew Gallatin wrote:
 > > A make -j16 buildworld using this tree died like as follows on
 > > a virgin box, so it seems there may be some dependancy issues
 > > to work out:
 > > 
 > > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_CONFIG_H
 > > -I/var/tmp/dtrace/src/kerberos5/tools/make-roken/../../include -g  -c
 > > make-roken.c
 > > ctfconvert -L VERSION make-print-version.o
 > > ctfconvert: not found
 > > *** Error code 127
 > 
 > I suggest building without -j16 for now. It should use the ctfconvert
 > built as a buildtool. I must need something more to tell make not
 > to get ahead of itself.

I was excited to try it, I had an 8-way 1.8Ghz opteron, and I had less
than an hour to work with.  :)

 > 
 > Also, there are a couple of references to SMP_MAXCPU which need to be
 > changed to MAXCPU. I missed those. Oops.

My panic-on-boot seems to have been caused by syscallnames[]
being missing because I'm not running witness/invarients.
I've attached a patch.  I've not yet had time to try it.

Drew


[-- Attachment #2 --]
--- conf/files.bak	2008-01-31 16:08:01.000000000 -0800
+++ conf/files	2008-02-02 11:22:26.000000000 -0800
@@ -1526,7 +1526,7 @@
 kern/sys_pipe.c			standard
 kern/sys_process.c		standard
 kern/sys_socket.c		standard
-kern/syscalls.c			optional witness | invariants
+kern/syscalls.c			optional witness | invariants | kdtrace_hooks
 kern/sysv_ipc.c			standard
 kern/sysv_msg.c			optional sysvmsg
 kern/sysv_sem.c			optional sysvsem

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18340.50354.244903.435464>