[LU-6790] can't compile with OpenIB gen2 headers under /usr/src/compat-rdma Created: 02/Jul/15 Updated: 27/Jul/15 Resolved: 25/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Marcin Dulak | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
|
||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Building lustre against IntelIB-Basic.RHEL6-x86_64.7.3.1.0.12.tgz
... No crc32 pclmulqdq crypto api found, enable internal pclmulqdq based crc32 checking if Linux kernel was built with CONFIG_CRYPTO_CRC32C_INTEL in or as module... yes Looks similar to https://jira.hpdd.intel.com/browse/LU-6327 |
| Comments |
| Comment by James A Simmons [ 02/Jul/15 ] |
|
Can you post your config.log file. |
| Comment by Marcin Dulak [ 02/Jul/15 ] |
|
Attached |
| Comment by James A Simmons [ 02/Jul/15 ] |
|
Hmm. Can you try patch http://review.whamcloud.com/#/c/15386. It needs one more cleanup but it should address your issues. |
| Comment by Marcin Dulak [ 03/Jul/15 ] |
|
Running rpmbuild -bb lustre.spec against the patched lustre-2.7.55.tar.gz did not change anything for me. |
| Comment by Gerrit Updater [ 13/Jul/15 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/15582 |
| Comment by James A Simmons [ 13/Jul/15 ] |
|
Marcin try this patch. |
| Comment by James A Simmons [ 15/Jul/15 ] |
|
Any news Marcin? |
| Comment by Marcin Dulak [ 15/Jul/15 ] |
|
I think this patch has no influence on rpmbuild, because autoconf is not used. |
| Comment by James A Simmons [ 15/Jul/15 ] |
|
You need to run ./configure first since it appears you can't do a rpmbuild --define '__with_o2ib=...'. Lustre doesn't build like other rpms. See |
| Comment by Marcin Dulak [ 16/Jul/15 ] |
|
I bypass rpmbuild's defines, see step 3. on the top of this report: --with-o2ib=/usr/src/openib|' lustre.spec |
| Comment by Marcin Dulak [ 21/Jul/15 ] |
|
I'm reusing the lustre 2.7.0 server machine for other purposes. |
| Comment by James A Simmons [ 21/Jul/15 ] |
|
Where can I get the Intel OFED stack from? |
| Comment by Marcin Dulak [ 21/Jul/15 ] |
|
Look into the Vagrantfile: |
| Comment by Dmitry Eremin (Inactive) [ 23/Jul/15 ] |
|
This is because of LNET autoconf is not ready for RHEL 6.6 support. The following patch resolve this issue. diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index fa5276d..e33fdda 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -247,7 +247,12 @@ directory which is likely in ${O2IBPATH%-*}
64)
EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4" ;;
65)
- EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5" ;;
+ EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4"
+ EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_5" ;;
+ 66)
+ EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4"
+ EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_5"
+ EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_6" ;;
esac
elif test "x$SUSE_KERNEL" = xyes; then
SP=$(grep PATCHLEVEL /etc/SuSE-release | sed -e 's/.*= *//')
|
| Comment by James A Simmons [ 23/Jul/15 ] |
|
Wow. So the problem was the lack of RHEL6.6 support. In the future we need to be more careful when moving to a new distro. |
| Comment by Dmitry Eremin (Inactive) [ 23/Jul/15 ] |
|
Yes, I'd like to pay your attention on RHEL 7.x is not supported also. So, any attempt to compile Lustre with external OFED on RHEL 7.x will fail. |
| Comment by Marcin Dulak [ 23/Jul/15 ] |
|
I'm not sure who will be technically maintaining the lustre master branch repository after reading http://wiki.lustre.org/Retired_Release_Terminology , but the future CI system integrated with code reviews must build against various OFEDs, so such errors are catched by a machine. |
| Comment by Gerrit Updater [ 25/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15582/ |
| Comment by Peter Jones [ 25/Jul/15 ] |
|
Landed for 2.8 |
| Comment by James A Simmons [ 27/Jul/15 ] |
|
Marcin the rest of the needed fix will be done under ticket |