Well, I have been able to build for the 7.3 and updates kernels, but I
have yet to succeed in building against any 3.10.693.* kernel. I can
update everything except the kernel and still build it.
I, for one, would love some feedback about what needs changed to build
with the latest kernel. I get different errors than you, so it may be
something different.
I tend to get
*/In file included from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/lustre_compat.h:39:0,/**/
/**/ from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/lvfs.h:45,/**/
/**/ from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/include/obd.h:53,/**/
/**/ from
/tmp/rpmbuild-lustre-root-QrSZ2WIs/BUILD/lustre-2.10.56_1_g11aae87/lustre/osd-zfs/osd_handler.c:45:/**/
/**//usr/src/zfs-0.7.5/include/linux/blkdev_compat.h:412:18: error:
expected identifier or '(' before 'struct'/**/
/**/ bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)/**/
/**/ ^/**/
/**/include/linux/bio.h:48:44: note: in definition of macro
'bio_set_op_attrs'/**/
/**/ #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op |
flags))/**/
/**/ ^/**/
/**/include/linux/bio.h:48:48: error: expected ')' before '->' token/**/
/**/ #define bio_set_op_attrs(bio, op, flags) ((bio)->bi_rw |= (op |
flags))/**/
/**/ ^/**/
/**//usr/src/zfs-0.7.5/include/linux/blkdev_compat.h:412:1: note: in
expansion of macro 'bio_set_op_attrs'/**/
/**/ bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags)/**/
/*
**
Yet the same configure/make lines work if I merely boot kernel
3.10.0-514.26.2
Brian Andrus
On 1/8/2018 12:26 AM, Scott Wood wrote:
Thanks for the feedback, Riccardo. I understand not all versions are
certified compatible but knowing that some folks have had success
helps build some confidence. I tried building 2.8.0, the latest from
the 2.8 branch, the latest from the 2.9 branch, 2.10.2, and the latest
from master (2.10.56_85_g76afb10-1). Only the latter two succeeded.
I'll run some tests and hold off to see if other chime in with known
successes or known issues. I'm ldiskfs, not zfs. Tcp only, not
infiniband or RDMA. No lnet routers. Independent MGT and MDT, rather
than combined. 48 OSTs and about 70 clients. Pretty basic config.
Fingers crossed on more similar success stories.
Cheers,
Scott
------------------------------------------------------------------------
*From:* Riccardo Veraldi <riccardo.vera...@cnaf.infn.it>
*Sent:* Monday, 8 January 2018 5:28:42 PM
*To:* Scott Wood; lustre-discuss@lists.lustre.org
*Subject:* Re: [lustre-discuss] Issues compiling lustre-client 2.8 on
CentOS 7.4
I am running at the moment 2.10.1 clients with any server version down
to 2.5 without troubles. I know that there is no warranty of full
interoperability bot so far I did not have problems.
Not sure if you can run 2.8 on Centos 7.4. You can try to git clone
the latest source code from 2.8.* and see if it builds on Centos 7.4
On 1/7/18 8:10 PM, Scott Wood wrote:
Afternoon, folks,
In the interest of patching kernels to mitigate Meltdown security
issues on user accessible systems, we're trying to build lustre
client rpms for the latest released Centos 7.4 kernel,
3.10.0-693.11.6.el7.x86_64. We're running in to issues compiling
though. As I understand from the docs, as our servers are CentOS6
and running the Intel distributed 2.7.0 server binaries, the newest
"officially" supported client versions are lustre 2.8.
Has anyone run the 2.10.2 (or 2.10.x) clients connecting to 2.7.0
servers (as we have successfully built all client rpms from a current
git checkout, and from a 2.10.2 checkout)? Alternatively, is there a
known 2.8.x tag that builds successfully on CentOS7.4? Is there a
third option that folks would propose?
build errors visible at https://pastebin.com/izF3bXg3
Cheers
Scott
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org <mailto:lustre-discuss@lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org