DetlevCM / lustre-build-instructions

Instructions to build lustre.
MIT License
1 stars 3 forks source link

installation fail according lustre_server_rocky8.10 #1

Open xia-MM opened 2 days ago

xia-MM commented 2 days ago

hi, expert, i am a interest lustre , this is my first time to installation lustre . try to many times according your document , meeting the following error messages. how to fix it ,could you help me .

if test -n "" ; then \ cp linux-stage/include/linux; \ fi if test -n "" ; then \ cp linux-stage/include/uapi/linux; \ fi if test -n "/root/kernel/rpmbuild/BUILD/kernel-4.18.0-553.27.1.el8_10/linux-4.18.0-553.27.1.el8_lustre.x86_64/include/trace/events/ext4.h" ; then \ cp /root/kernel/rpmbuild/BUILD/kernel-4.18.0-553.27.1.el8_10/linux-4.18.0-553.27.1.el8_lustre.x86_64/include/trace/events/ext4.h linux-stage/include/trace/events; \ fi Applying ext4 patches: rhel8.1/ext4-inode-version.patch suse15/ext4-lookup-dotdot.patch suse15/ext4-print-inum-in-htree-warning.patch rhel8/ext4-prealloc.patch ubuntu18/ext4-osd-iop-common.patch rhel8.7/ext4-misc.patch rhel8.7/ext4-mballoc-extra-checks.patch rhel8.7/ext4-hash-indexed-dir-dotdot-update.patch rhel8.1/ext4-kill-dx-root.patch rhel8.7/ext4-mballoc-pa-free-mismatch.patch rhel8.4/ext4-data-in-dirent.patch rhel8/ext4-nocmtime.patch base/ext4-htree-lock.patch rhel8.7/ext4-pdirop.patch rhel8/ext4-deep-tree.patch rhel8/ext4-max-dir-size.patch rhel8.7/ext4-corrupted-inode-block-bitmaps-handling-patches.patch ubuntu18/ext4-give-warning-with-dir-htree-growing.patch ubuntu18/ext4-jcb-optimization.patch rhel8.2/ext4-attach-jinode-in-writepages.patch rhel8/ext4-dont-check-before-replay.patch rhel7.6/ext4-use-GFP_NOFS-in-ext4_inode_attach_jinode.patch rhel7.6/ext4-export-orphan-add.patch rhel8/ext4-export-mb-stream-allocator-variables.patch rhel8/ext4-simple-blockalloc.patch rhel8.7/ext4-mballoc-skip-uninit-groups-cr0.patch rhel8.7/ext4-mballoc-prefetch.patch rhel8.3/ext4-xattr-disable-credits-check.patch base/ext4-no-max-dir-size-limit-for-iam-objects.patch rhel7.6/ext4-dquot-commit-speedup.patch rhel8.7/ext4-introduce-EXT4_BG_TRIMMED-to-optimize-fstrim.patch rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch base/ext4-projid-xattrs.patch rhel8.5/ext4-enc-flag.patch rhel8/ext4-ext-merge.patch base/ext4-delayed-iput.patch2 out of 4 hunks FAILED -- saving rejects to file fs/ext4/xattr.c.rej make[2]: [autoMakefile:679: sources] Error 1 make[2]: Leaving directory '/root/lustre-release/ldiskfs' make[1]: [autoMakefile:731: all-recursive] Error 1 make[1]: Leaving directory '/root/lustre-release' make: *** [autoMakefile:585: all] Error 2

DetlevCM commented 2 days ago

I'm not too sure what can be done from afar to offer help (I might need to test if Rocky changed at some point...), but there are some pointers.

If you check your output, you see the following; ... rhel8.7/ext4-introduce-EXT4_BG_TRIMMED-to-optimize-fstrim.patch rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch base/ext4-projid-xattrs.patch rhel8.5/ext4-enc-flag.patch rhel8/ext4-ext-merge.patch base/ext4-delayed-iput.patch2 out of 4 hunks FAILED -- saving rejects to file fs/ext4/xattr.c.rej

Basically, application of the patches failed.

There are at least two scenarios I can imagine: 1) When I first set up a lustre VM as a test, I found that the ext4 code was not compatible with the patch files and I had to tweak the patch file. Then the kernel updated, all worked... It may be necessary again. Please check the error in detail, specifically the file that triggers it. 2) Did you try applying the patches more than once? If yes, this will create a mess. In this case, I would recommend unpacking the kernel again and copying over files as appropriate, followed by patching.

Maybe write a step by step log of what you do to get to where you are?

xia-MM commented 21 hours ago

hi, expert , i show the error messages could you help me again .or do you any error message. i will show to you cd /root/lustre-release/ldiskfs/linux-stage/fs/ext4 [root@Lustre ext4]# cat xattr.c.rej --- fs/ext4/xattr.c +++ fs/ext4/xattr.c @@ -1626,6 +1656,7 @@ static int ext4_xattr_set_entry(struct e int in_inode = i->in_inode; struct inode old_ea_inode = NULL; struct inode new_ea_inode = NULL;

@@ -1859,7 +1894,7 @@ update_hash:

    ret = 0;

out:

do you have any ideas ?

夏天 @.***

     Original

From: "Detlev C M" @.>
Sent Time: 2024-11-21- 16:22 To: "DetlevCM/lustre-build-instructions"
@.>
Cc: "xia-MM" @.> , "Author" @.>
Subject: Re: [DetlevCM/lustre-build-instructions] installation fail accordinglustre_server_rocky8.10 (Issue #1)

I'm not too sure what can be done from afar to offer help (I might need to test if Rocky changed at some point...), but there are some pointers.

If you check your output, you see the following; ... rhel8.7/ext4-introduce-EXT4_BG_TRIMMED-to-optimize-fstrim.patch rhel8/ext4-ialloc-uid-gid-and-pass-owner-down.patch base/ext4-projid-xattrs.patch rhel8.5/ext4-enc-flag.patch rhel8/ext4-ext-merge.patch base/ext4-delayed-iput.patch2 out of 4 hunks FAILED -- saving rejects to file fs/ext4/xattr.c.rej

Basically, application of the patches failed.

There are at least two scenarios I can imagine:

When I first set up a lustre VM as a test, I found that the ext4 code was not compatible with the patch files and I had to tweak the patch file. Then the kernel updated, all worked... It may be necessary again. Please check the error in detail, specifically the file that triggers it.

Did you try applying the patches more than once? If yes, this will create a mess. In this case, I would recommend unpacking the kernel again and copying over files as appropriate, followed by patching.

Maybe write a step by step log of what you do to get to where you are?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.