Date: Mon, 25 Apr 2016 09:41:52 -0700 From: David P. Discher <dpd@dpdtech.com> To: Hans Petter Selasky <hps@selasky.org> Cc: Justin Clift <justin@postgresql.org>, freebsd-infiniband@freebsd.org Subject: Re: Request updated/unified patch for OFED v3.2 update Message-ID: <3C9A9DDD-C1AE-4B92-A000-137CF17B9F49@dpdtech.com> In-Reply-To: <EE19D126-B658-44F7-860D-AC9D809E5BCC@dpdtech.com> References: <AD97190D-7A99-4007-B0F9-6684D39326AC@dpdtech.com> <571B31B6.4070206@selasky.org> <571BC0A6.9070100@selasky.org> <207113AF-4D33-4DD6-8A69-DD9ABD48DB8F@postgresql.org> <571BE5CD.2050401@selasky.org> <4F7D00E4-C784-4CDB-B058-F3F24B1B2F06@dpdtech.com> <571BEEAB.4040602@selasky.org> <EE19D126-B658-44F7-860D-AC9D809E5BCC@dpdtech.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] A couple notes that frustrated the hell out me this weekend: I could not get the modules to compile in-kernel. They have to be loadable modules. I kept getting linking errors, to what looks like references in the linux modules. I could not get the patch set to apply cleanly to r298482. It did apply cleanly to r298518. Patch doesn’t create directors, so you must create these directories *before* patch: 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 If you get some new files in /usr/src, then you missed a directory. The patch command line I used was : patch --remove-empty-files -F 30 -i /z/home/dpd/OFEDv32/patch.diff patch.diff was created with: cat D5790.diff.txt D5791.diff.txt D5792.diff.txt D5793.diff.txt D5794.diff.txt D5795.diff.txt D5796.diff.txt D5797.diff.txt D5798.diff.txt D5799.diff.txt > patch.diff Everything compiled, however I messed up my test systems, so I haven’t been able to test anything yet. - David P. Discher http://davidpdischer.com/ AIM: DavidDPD | Y!M: daviddpdz Mobile: 408.368.3725 > On Apr 23, 2016, at 2:51 PM, David P. Discher <dpd@dpdtech.com> wrote: > > yup. That fixed it … compiling now. > > Thanks ! > > > - > David P. Discher > http://davidpdischer.com/ > AIM: DavidDPD | Y!M: daviddpdz > Mobile: 408.368.3725 > > > >> On Apr 23, 2016, at 2:52 PM, Hans Petter Selasky <hps@selasky.org> wrote: >> >> On 04/23/16 23:40, David P. Discher wrote: >>> I had to refresh all the patches, and they finally applied cleanly … however make failed: >>> >>> make: "/usr/src/share/mk/src.libnames.mk" line 560: /usr/src: Missing or incorrect value for LIBMLX5DIR in src.libnames.mk: contrib/ofed/usr.lib/libmlx5 >>> >>> It looks like "contrib/ofed/usr.lib/libmlx5” is completely missing. >>> >>> Tried to remove libmlx5 (since I don’t have a mlx5 card) from the make files, but seems to all over the place. >>> >> >> I think you maybe need to create that directory before applying the patches. >> >> --HPS >> > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXHkjQAAoJEEmwU6XuhYWOlrAIAKwb67W3nUr2Tt3AtTK83uVg xyMa0XRZvZjCUi1bKz7v+6vfzdSt2gSE1hfDAmsd9g1wTLK4l4ZlgpZsUrSSlZpe qqhjciLR8axTqTSYhO3bgCPtTSy/uqKbEBuDKGVu2OQh3EmKhyv+sY1zv2b6JIqL JP5kFQAFI4MTYxWfRX682sBagZSBUeLEL2fHpBNXxYdBrgaX1tXQ1GBipjHy+K9B nOT12tPg30YeJKpvMctKZqZMlBOoWs3im9hmiXis/XhFHYfMlDFAF7UDoevNhkDG B1yRi5V9PreNI502P39xqrMt0MgYv2dZELxQ1jFOd2jSkdOFp0w7zkr6HlhNX/I= =4Vbu -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9A9DDD-C1AE-4B92-A000-137CF17B9F49>
