From owner-freebsd-infiniband@freebsd.org Tue Apr 26 14:53:28 2016 Return-Path: Delivered-To: freebsd-infiniband@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17F05B1C9C6 for ; Tue, 26 Apr 2016 14:53:28 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D674C101D for ; Tue, 26 Apr 2016 14:53:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 075871FE023; Tue, 26 Apr 2016 16:53:24 +0200 (CEST) Subject: Re: OFED v3.2 update To: KrishnamRaju ErapaRaju , "freebsd-infiniband@freebsd.org" References: <4EAB2619577FCA4EBCE11F17B7373447C4309255@nice.asicdesigners.com> From: Hans Petter Selasky Message-ID: <571F81A9.7080006@selasky.org> Date: Tue, 26 Apr 2016 16:56:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <4EAB2619577FCA4EBCE11F17B7373447C4309255@nice.asicdesigners.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-infiniband@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Infiniband on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 14:53:28 -0000 Hi Krishnam, If you are not using GIT's "am" commend, you'll need to create the following directories beforehand: mkdir -p contrib/ofed/libmlx5 mkdir -p contrib/ofed/libmlx5/config mkdir -p contrib/ofed/libmlx5/debian mkdir -p contrib/ofed/libmlx5/debian/patches mkdir -p contrib/ofed/libmlx5/debian/source mkdir -p contrib/ofed/libmlx5/scripts/expose_libmlx5_headers mkdir -p contrib/ofed/libmlx5/src mkdir -p contrib/ofed/librdmacm/include/infiniband mkdir -p contrib/ofed/usr.lib/libmlx5 mkdir -p sys/modules/mlx5ib --HPS On 04/26/16 16:26, KrishnamRaju ErapaRaju wrote: > > Hello Hans, > > > I could apply OFED 3.2 patches cleanly to r298617 but failed to build(buildworld), below is the compile error:(more error log at the bottom of this mail) > bmake[5]: bmake[5]: don't know how to make buf.c. Stop > > I took the latest OFED 3.2 patchsets as of today. And applied the patches with commands: "patch --remove-empty-files -F 30 -i /usr/src/ofed3.2/D5790.diff" > > Here is my config file: > > diff -r 5615b648049d sys/amd64/conf/GENERIC > --- a/sys/amd64/conf/GENERIC Tue Apr 26 05:21:27 2016 +0000 > +++ b/sys/amd64/conf/GENERIC Mon Apr 25 15:34:54 2016 +0530 > @@ -21,8 +21,9 @@ > -makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > +makeoptions DEBUG="-g -O0" # Build kernel with gdb(1) debug symbols > +options KSTACK_PAGES=16 > +options KTR > +options KTR_COMPILE=KTR_SPARE3 > +options KTR_MASK=KTR_SPARE3 > +options KTR_ENTRIES=65536 > +options BREAK_TO_DEBUGGER > +options LINUXKPI >