From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 12 19:39:30 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE01A1065677 for ; Thu, 12 Jul 2012 19:39:30 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2BA718FC12 for ; Thu, 12 Jul 2012 19:39:29 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA26252; Thu, 12 Jul 2012 22:39:27 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SpPEV-00075D-JS; Thu, 12 Jul 2012 22:39:27 +0300 Message-ID: <4FFF27F0.4000106@FreeBSD.org> Date: Thu, 12 Jul 2012 22:39:28 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120620 Thunderbird/13.0.1 MIME-Version: 1.0 To: Fabian Keil References: <1341863341.6064.11.camel@powernoodle.corp.yahoo.com> <4FFB4770.7050209@FreeBSD.org> <20120710154128.192eb8d6@fabiankeil.de> <1341939155.2573.8.camel@powernoodle.corp.yahoo.com> <20120710205702.5e57168b@fabiankeil.de> <4FFC8479.9080608@FreeBSD.org> <20120711122935.1382e76d@fabiankeil.de> <20120712201741.34573af4@fabiankeil.de> <4FFF2171.1030800@FreeBSD.org> <20120712213615.39640d1f@fabiankeil.de> In-Reply-To: <20120712213615.39640d1f@fabiankeil.de> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Sean Bruno Subject: Re: dtraceall.ko with old nfsclient X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 19:39:30 -0000 on 12/07/2012 22:36 Fabian Keil said the following: > Andriy Gapon wrote: > >> on 12/07/2012 21:17 Fabian Keil said the following: >>> Benjamin Kaduk wrote: >>> >>>> On Wed, 11 Jul 2012, Fabian Keil wrote: >>>> >>>>> I'm using the following modification of Sean's patch: >>> >>> This way it seems to work as expected: >>> >>> diff --git a/sys/modules/dtrace/dtraceall/Makefile >>> b/sys/modules/dtrace/dtraceall/Makefile index 456efd1..628583b 100644 >>> --- a/sys/modules/dtrace/dtraceall/Makefile +++ >>> b/sys/modules/dtrace/dtraceall/Makefile @@ -1,7 +1,7 @@ # $FreeBSD: >>> src/sys/modules/dtrace/dtraceall/Makefile,v 1.3 2011/04/09 09:07:31 uqs >>> Exp $ >>> >>> KMOD= dtraceall -SRCS= dtraceall.c opt_compat.h >>> +SRCS= dtraceall.c opt_compat.h opt_nfs.h >>> >>> CFLAGS+= -I${.CURDIR}/../../.. >>> >> >> If you do cd sys/modules/dtrace/dtraceall && make [obj depend] all, does >> it compile OK with the above change? > > Depends on your expectations I guess. As neither NFS-related option gets > defined, no dependency on either NFS module is registered. The compiler has > no complaints, though. Interesting. Could you repeat after sufficient cleaning up? I am not sure where from opt_nfs.h file could come. -- Andriy Gapon