Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2016 16:56:41 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        KrishnamRaju ErapaRaju <Krishna2@chelsio.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Subject:   Re: OFED v3.2 update
Message-ID:  <571F81A9.7080006@selasky.org>
In-Reply-To: <4EAB2619577FCA4EBCE11F17B7373447C4309255@nice.asicdesigners.com>
References:  <4EAB2619577FCA4EBCE11F17B7373447C4309255@nice.asicdesigners.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>




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