[lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04

Huiming Song s0nghuiming at hotmail.com
Wed Oct 23 19:30:16 PDT 2019


Hi All,

Update with my installation output:

# dpkg -i lustre-client-modules-4.15.0-45-generic_2.12.2-1_amd64.deb
(Reading database ... 169816 files and directories currently installed.)
Preparing to unpack lustre-client-modules-4.15.0-45-generic_2.12.2-1_amd64.deb ...
Unpacking lustre-client-modules-4.15.0-45-generic (2.12.2-1) ...
Setting up lustre-client-modules-4.15.0-45-generic (2.12.2-1) ...

# dpkg -i lustre-client-utils_2.12.2-1_amd64.deb
Selecting previously unselected package lustre-client-utils.
(Reading database ... 169860 files and directories currently installed.)
Preparing to unpack lustre-client-utils_2.12.2-1_amd64.deb ...
Unpacking lustre-client-utils (2.12.2-1) ...
Setting up lustre-client-utils (2.12.2-1) ...
Installing new version of config file /etc/modprobe.d/ko2iblnd.conf ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

I searched lustre in /proc/filesystems, but not found. Seems lustre filesystem is not set OK.

----------------------------------
Thank you and best regards
Song, Huiming


________________________________
From: Huiming Song <s0nghuiming at hotmail.com>
Sent: Wednesday, October 23, 2019 11:27
To: Peter Jones <pjones at whamcloud.com>; lustre-discuss at lists.lustre.org <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04

Missing mail list recipient. I need add lustre-discuss at lists.lustre.org in To-list.

Can anybody help me on that Module lustre not found issue?

----------------------------------
Thank you and best regards
Song, Huiming


________________________________
From: Huiming Song <s0nghuiming at hotmail.com>
Sent: Tuesday, October 22, 2019 16:55
To: Peter Jones <pjones at whamcloud.com>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04

Thank you.

I built with b2_12 and got following files under ./debs

-rw-r--r-- 1 root root  14637888 Oct 23 01:10 lustre-client-modules-4.18.0_2.12.3-RC1-dirty-1_amd64.deb
-rw-r--r-- 1 root root    503196 Oct 23 01:02 lustre-client-utils_2.12.3-RC1-dirty-1_amd64.deb
-rw-r--r-- 1 root root    452632 Oct 23 01:02 lustre-dev_2.12.3-RC1-dirty-1_amd64.deb
-rw-r--r-- 1 root root    129420 Oct 23 01:02 lustre-iokit_2.12.3-RC1-dirty-1_amd64.deb
-rw-r--r-- 1 root root 180117020 Oct 23 01:02 lustre-source_2.12.3-RC1-dirty-1_all.deb
-rw-r--r-- 1 root root   8128008 Oct 23 01:02 lustre-tests_2.12.3-RC1-dirty-1_amd64.deb
-rw-r--r-- 1 root root      1784 Oct 23 00:54 lustre_2.12.3-RC1-dirty-1.dsc
-rw-r--r-- 1 root root  15291322 Oct 23 00:54 lustre_2.12.3-RC1-dirty-1.tar.gz
-rw-r--r-- 1 root root      4223 Oct 23 01:02 lustre_2.12.3-RC1-dirty-1_amd64.changes

I installed all the debs. When I execute 'modprobe lustre', I got:
modprobe: FATAL: Module lustre not found in directory /lib/modules/4.18.0-15-generic

Did I miss anything?

----------------------------------
Thank you and best regards
Song, Huiming


________________________________
From: Peter Jones <pjones at whamcloud.com>
Sent: Tuesday, October 22, 2019 11:12
To: Huiming Song <s0nghuiming at hotmail.com>
Cc: lustre-discuss <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04


2.10.x servers should interoperate with 2.12.x clients – many sites use this option.



From: Huiming Song <s0nghuiming at hotmail.com>
Date: Monday, October 21, 2019 at 6:25 PM
To: Peter Jones <pjones at whamcloud.com>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04



Hi Jones,

I tried b2_12 and it worked on Ubuntu 18.04. I choose b2_10 because my lustre server is 2.10.

I guess only b2_10 matches the server. Am I right?



----------------------------------

Thank you and best regards

Song, Huiming





________________________________

From: Peter Jones <pjones at whamcloud.com>
Sent: Tuesday, October 22, 2019 0:05
To: Huiming Song <s0nghuiming at hotmail.com>; lustre-discuss at lists.lustre.org <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04



I suggest that you use the b2_12 branch instead -that should be able to build against more current kernels than b2_10



From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Huiming Song <s0nghuiming at hotmail.com>
Date: Monday, October 21, 2019 at 2:21 AM
To: "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
Subject: [lustre-discuss] Build fails on Lustre 2.10.x and Ubuntu 18.04



Hi,



I'm trying to build lustre from source @b2_10 branch and Ubuntu 18.04/19.04.



After meeting many difficulties, I can start make the build.



Then in 'make debs', I received the error as of following:



...
rm -f liblustreapitmp.a

ar cru liblustreapitmp.a liblustreapi.o liblustreapi_hsm.o liblustreapi_nodemap.o liblustreapi_json.o liblustreapi_layout.o liblustreapi_lease.o liblustreapi_util.o liblustreapi_kernelconn.o liblustreapi_param.o ../../libcfs/libcfs/util/string.o ../../libcfs/libcfs/util/param.o liblustreapi_ladvise.o liblustreapi_chlg.o

ar: `u' modifier ignored since `D' is the default (see `U')

ranlib liblustreapitmp.a

rm -f liblustreapi.a liblustreapi.so

gcc  -shared -o liblustreapi.so `ar -t liblustreapitmp.a`

gcc: error: string.o: No such file or directory

gcc: error: param.o: No such file or directory

Makefile:1834: recipe for target 'liblustreapi.a' failed



I have searched for the issue in the mailing list. I searchech 'Ubuntu 18.04', 'string.o', 'params.o', but no issue matches my case.

Could you help to give any comments on this error? Thanks in advance.





----------------------------------

Thank you and best regards

Song, Huiming


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20191024/e0be7125/attachment-0001.html>


More information about the lustre-discuss mailing list