From owner-freebsd-current@FreeBSD.ORG Sun Sep 4 16:29:11 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E14F1065670 for ; Sun, 4 Sep 2011 16:29:11 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id EFADD8FC15 for ; Sun, 4 Sep 2011 16:29:10 +0000 (UTC) Received: by ywo32 with SMTP id 32so3607965ywo.13 for ; Sun, 04 Sep 2011 09:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=+KSIN7rdmBX4dZSp7pSE2JqppQs9T+hAZLCRJpN9iSg=; b=EQ44FkK6432TvVg+g1f0KLPSbhVXKOpV/qkn7rEg+SScutsLvtW/tASSqyyjlp4pbr T2vp6R4c3321Q24pxBDTJW1mKrJGLfUTEZCMJIJWRWVKUjRKijdr6UynvQtI5Li17xvH dtGPC51Lv5fjYjFrwV8RUu0ltP6tpwlScGD4Y= Received: by 10.146.106.33 with SMTP id e33mr2157662yac.8.1315153750168; Sun, 04 Sep 2011 09:29:10 -0700 (PDT) Received: from _HOSTNAME_ (mobile-166-147-065-200.mycingular.net [166.147.65.200]) by mx.google.com with ESMTPS id g26sm5489553ann.26.2011.09.04.09.29.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 04 Sep 2011 09:29:08 -0700 (PDT) Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 04 Sep 2011 11:28:57 -0500 Date: Sun, 4 Sep 2011 11:28:57 -0500 From: Brandon Gooch To: Rick Macklem Message-ID: <20110904162102.GA30321@gmail.com> References: <1678816683.746981.1315009505581.JavaMail.root@erie.cs.uoguelph.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1678816683.746981.1315009505581.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD-Current Subject: Re: newnfs user setup 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: Sun, 04 Sep 2011 16:29:11 -0000 On Fri, Sep 02, 2011 at 08:25:05PM -0400, Rick Macklem wrote: > Brandon Gooch wrote: > > On Thu, Sep 1, 2011 at 8:09 PM, Brandon Gooch > > wrote: > > > On Fri, May 27, 2011 at 8:09 AM, Rick Macklem > > > wrote: > > >>> On Thu, 26 May 2011, Rick Macklem wrote: > > >>> ... > > >>> > ??http://people.freebsd.org/~rmacklem/dtrace.patch > > >>> > > > >>> Hmm. Is it just me? > > >>> Trying to test the patch I get: > > >>> > > >>> (fs)(root) patch -C < dtrace.patch > > >>> Hmm... I can't seem to find a patch in there anywhere. > > >>> > > >> Here's how I apply the patch. > > >> - download dtrace.patch to somewhere, lets say /tmp, then > > >> # cd /usr/src/sys <-- sys subdirectory of a current head, > > >> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? which you don't mind messing up > > >> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? doesn't have to be at /usr/src/sys, > > >> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? of course. > > >> # patch -p1 < /tmp/dtrace.patch > > >> > > >> rick > > >> > > > > > > What's the status on this patch? It would be nice to get > > > dtrace/newnfs > > > going for 9.0...it's not too late, right? > > > > > > I'll test the patch too BTW :) > > > > > > -Brandon > > > > > > > So it looks like the patch was committed to HEAD, but the bits to > > support the New NFS implementation were never flipped on -- is that > > for a good reason? > > > I know nothing about Dtrace, so if something needs to be changed/fixed, > someone who understands these things will have to let me know. > > When I built a kernel with "options KDTRACE_HOOKS" and set > dtraceall_load="YES" in /etc/rc.conf, > it booted and > # dtrace -l > - seemed to find the stuff (it's called "dtnfscl", btw). > > Someone told me that's how you check it's loaded and that's all I > know how to do w.r.t. dtrace. > > If you can test/debug it, that would be great, rick Actually, the problem is not with DTrace functioning, but with the dtnfsclient.ko module: brandon@m6500:~$ sudo kldload dtnfsclient kldload: can't load dtnfsclient: Exec format error brandon@m6500:~$ dmesg ... link_elf_obj: symbol nfsclient_accesscache_flush_done_id undefined linker_load_file: Unsupported file type ... Any hints on debugging undefined symbols? -Brandon