[LU-7711] support SLES11 SP4 in b2_5_fe Created: 25/Jan/16  Updated: 28/Jan/16  Resolved: 28/Jan/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.3
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jay Lan (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Done Votes: 0
Labels: None
Environment:

SLES11 SP4


Issue Links:
Related
is related to LU-3974 Support for linux 3.11 kernel Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I need help in compiling b2_5_fe client in SLES11 SP4.

I already cherry-picked
LU-6889 kernel: new kerrnel [SLES11 SP4 3.0.101-65]
LU-7596 kernel: kernel update [SLES11 SP4 3.0.101-68]
into my repo.

The compilation failed on the changes of denture struct from sles11sp3
to sles11sp4. Please help!

...
+ make -j 8 -s
Making all in .
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv/lmv_obd.c:54:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv/lmv_obd.o] Error 1
make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/lmv] Error 2
make[8]: *** Waiting for unfinished jobs....
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/obd.h:45,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/fld/fld_request.c:55:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/obd.h:45,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/fid/fid_request.c:53:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fld/fld_request.o] Error 1
make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fld] Error 2
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fid/fid_request.o] Error 1
make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/fid] Error 2
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lustre_cfg.h:227,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lustre_lib.h:53,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.c:108:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.c:110:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/lloop.o] Error 1
make[9]: *** Waiting for unfinished jobs....
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:45:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:50:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_dcompare':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:118: error: 'const struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_ddelete':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:190: error: 'const struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_d_init':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:214: error: 'struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c: In function 'll_revalidate_it':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.c:535: error: 'struct dentry' has no member named 'd_count'
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dcache.o] Error 1
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/lvfs.h:47,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/include/obd_support.h:42,
from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.c:53:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h: In function 'l_dput':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/include/linux/lvfs.h:102: error: 'struct dentry' has no member named 'd_count'
In file included from /usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.c:60:
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h: In function 'd_lustre_invalidate':
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1630: error: 'struct dentry' has no member named 'd_count'
/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/llite_internal.h:1637: error: 'struct dentry' has no member named 'd_count'
make[9]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite/dir.o] Error 1
make[8]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre/llite] Error 2
make[7]: *** [/usr/src/packages/BUILD/lustre-2.5.3/lustre] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [_module_/usr/src/packages/BUILD/lustre-2.5.3] Error 2
make[5]: *** [sub-make] Error 2
make[4]: *** [all] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.39308 (%build)



 Comments   
Comment by Bob Glossman (Inactive) [ 26/Jan/16 ]

Jay,
b2_5_fe was never enabled for building sles11sp4. It is missing autoconf fixes that exist on other branches. At the very least you need the fix from "LU-3974 client: use standard dentry locking function".
It will almost certainly not cherry-pick cleanly onto b2_5_fe.

There may be other needed mods missing too.

Comment by Peter Jones [ 26/Jan/16 ]

Bob

Please can you let Jay know when you have worked out the defintiive list of changes required.

Thanks

Peter

Comment by Bob Glossman (Inactive) [ 26/Jan/16 ]

for a manual build of client only on sles11sp4 the only thing that's needed is a port of the LU-3974 fix http://review.whamcloud.com/7741 to b2_5_fe. changes from LU-6889 and LU-7596 are only needed if you want to use lbuild or if you need a server build.

That master change will not cherry-pick to the branch, it needs a port.

try http://review.whamcloud.com/18151

Comment by Jay Lan (Inactive) [ 27/Jan/16 ]

Thank you, Bob. It worked great!

You may close this ticket. Thanks for your help.

Comment by John Fuchs-Chesney (Inactive) [ 28/Jan/16 ]

Thanks Jay.
~ jfc.

Generated at Sat Feb 10 02:11:16 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.