Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Sep 2011 20:25:05 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: newnfs user setup
Message-ID:  <1678816683.746981.1315009505581.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <CALBk6yL5LkcfELM0qAqYpZmvVJzwGBHT8JYDcPnE1NXQj0q_PQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Gooch wrote:
> On Thu, Sep 1, 2011 at 8:09 PM, Brandon Gooch
> <jamesbrandongooch@gmail.com> wrote:
> > On Fri, May 27, 2011 at 8:09 AM, Rick Macklem <rmacklem@uoguelph.ca>
> > wrote:
> >>> On Thu, 26 May 2011, Rick Macklem wrote:
> >>> ...
> >>> > =C2=A0http://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,
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 which you don't mind messing up
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 doesn't have to be at /usr/src/sys,
> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 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
> >
>=20
> 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?
>=20
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=3D"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

> -Brandon
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"



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