On 03/23/2018 12:30 AM, Alex Vodeyko wrote:
Hi,

I'm trying to build/install Lustre 2.10.3 client on Centos 6.7.
"rpmbuild --rebuild --without servers lustre/lustre-2.10.3-1.src.rpm" goes fine, but "yum localupdate kmod-lustre-client-2.10.3-1.el6.x86_64.rpm lustre-client-2.10.3-1.el6.x86_64.rpm" failed with: Error: Package: kmod-lustre-client-2.10.3-1.el6.x86_64 (/kmod-lustre-client-2.10.3-1.el6.x86_64)
           Requires: kernel >= 3.10.0-693

              ^^^^^^^^^^^^^^^^^^^^

Centos 6.7 provides kernel series 2.6.32-* and it seems you are trying to build the lustre-client for centos/redhat 7.x (kernel 3.10.0-*)

maybe you should try with:

https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/el6/client/SRPMS/lustre-2.10.3-1.src.rpm

[lsaavedr@testupd /tmp]$ wget -c https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/el6/client/SRPMS/lustre-2.10.3-1.src.rpm

[root@testupd ~]# rpmbuild  --rebuild --without servers /tmp/lustre-2.10.3-1.src.rpm
Installing /tmp/lustre-2.10.3-1.src.rpm
[...]
Requires: /bin/bash /usr/bin/perl perl(File::Path) perl(Getopt::Long) perl(Getopt::Std) perl(POSIX)
Processing files: lustre-client-debuginfo-2.10.3-1.el6.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/kernel/rpmbuild/BUILDROOT/lustre-2.10.3-1.x86_64 Wrote: /root/kernel/rpmbuild/RPMS/x86_64/lustre-client-2.10.3-1.el6.x86_64.rpm Wrote: /root/kernel/rpmbuild/RPMS/x86_64/kmod-lustre-client-2.10.3-1.el6.x86_64.rpm Wrote: /root/kernel/rpmbuild/RPMS/x86_64/lustre-client-tests-2.10.3-1.el6.x86_64.rpm Wrote: /root/kernel/rpmbuild/RPMS/x86_64/kmod-lustre-client-tests-2.10.3-1.el6.x86_64.rpm Wrote: /root/kernel/rpmbuild/RPMS/x86_64/lustre-iokit-2.10.3-1.el6.x86_64.rpm Wrote: /root/kernel/rpmbuild/RPMS/x86_64/lustre-client-debuginfo-2.10.3-1.el6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G2e68o

[root@testupd ~]# rpm -Uvh /root/kernel/rpmbuild/RPMS/x86_64/lustre-client-2.10.3-1.el6.x86_64.rpm /root/kernel/rpmbuild/RPMS/x86_64/kmod-lustre-client-2.10.3-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
   1:kmod-lustre-client ########################################### [ 50%]
WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol libcfs_next_nidstring WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol lprocfs_stats_collector WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol ktime_get_real_seconds WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol libcfs_nid2str_r WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol ktime_get_seconds WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol lprocfs_str_to_s64 WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol libcfs_next_nidstring WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol lprocfs_stats_collector WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol ktime_get_real_seconds WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol libcfs_nid2str_r WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol ktime_get_seconds WARNING: /lib/modules/2.6.32-696.23.1.el6.x86_64/extra/lustre-client/fs/ptlrpc_gss.ko needs unknown symbol lprocfs_str_to_s64
   2:lustre-client ########################################### [100%]
[root@testupd ~]#

---
Leo Saavedra
NRAO

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to