[LU-15208] Lustre server build fails against Ubuntu 20.04 Kernel : 5.4.0-90-generic Created: 11/Nov/21 Updated: 13/Dec/21 Resolved: 13/Dec/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shuichi Ihara | Assignee: | Dongyang Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Lustre server build fails against Ubuntu 20.04 (kernel 5.4.0-90-generic). Wrong patch series detection ln -s ../../ldiskfs/kernel_patches/patches linux-stage/patches ln -s ../../ldiskfs/kernel_patches/series/ldiskfs-5.4.0-66-ubuntu20.series linux-stage/series cd linux-stage && quilt push -a -q Applying patch patches/rhel8/ext4-inode-version.patch Applying patch patches/linux-5.4/ext4-lookup-dotdot.patch Applying patch patches/suse15/ext4-print-inum-in-htree-warning.patch Applying patch patches/rhel8/ext4-prealloc.patch Applying patch patches/ubuntu18/ext4-osd-iop-common.patch Applying patch patches/ubuntu19/ext4-misc.patch ldiskfs-5.4.0-66-ubuntu20.series shouldn't be selected for -90 kernel since ldiskfs-5.4.0-80-ubuntu20.series is exist for a newer version. diff --git a/config/lustre-build-ldiskfs.m4 b/config/lustre-build-ldiskfs.m4
index b868652349..572ced796b 100644
--- a/config/lustre-build-ldiskfs.m4
+++ b/config/lustre-build-ldiskfs.m4
@@ -109,8 +109,8 @@ AS_IF([test x$RHEL_KERNEL = xyes], [
LDISKFS_SERIES="5.4.0-80-ubuntu20.series"
],
[test $KPLEV -eq 1007], [LDISKFS_SERIES="5.4.0-42-ubuntu20.series"],
- [test $KPLEV -ge 66], [LDISKFS_SERIES="5.4.0-66-ubuntu20.series"],
[test $KPLEV -ge 80], [LDISKFS_SERIES="5.4.0-80-ubuntu20.series"],
+ [test $KPLEV -ge 66], [LDISKFS_SERIES="5.4.0-66-ubuntu20.series"],
[LDISKFS_SERIES="5.4.0-42-ubuntu20.series"]
)
],
But, still failed at patches/ubuntu19/ext4-misc.patch. that patch needs to be refreshed against -90 kernel. ln -s ../../ldiskfs/kernel_patches/patches linux-stage/patches ln -s ../../ldiskfs/kernel_patches/series/ldiskfs-5.4.0-80-ubuntu20.series linux-stage/series cd linux-stage && quilt push -a -q Applying patch patches/rhel8/ext4-inode-version.patch Applying patch patches/linux-5.4/ext4-lookup-dotdot.patch Applying patch patches/suse15/ext4-print-inum-in-htree-warning.patch Applying patch patches/rhel8/ext4-prealloc.patch Applying patch patches/ubuntu18/ext4-osd-iop-common.patch Applying patch patches/ubuntu19/ext4-misc.patch 1 out of 3 hunks FAILED Patch patches/ubuntu19/ext4-misc.patch does not apply (enforce with -f) make[4]: *** [autoMakefile:643: sources] Error 1 make[4]: Leaving directory '/home/ubuntu/lustre-release/ldiskfs' make[3]: *** [autoMakefile:615: all-recursive] Error 1 make[3]: Leaving directory '/home/ubuntu/lustre-release' make[2]: *** [autoMakefile:503: all] Error 2 make[2]: Leaving directory '/home/ubuntu/lustre-release' make[1]: *** [debian/rules:226: build-stamp] Error 2 make[1]: Leaving directory '/home/ubuntu/lustre-release' |
| Comments |
| Comment by Dongyang Li [ 12/Nov/21 ] |
|
I've made a patch, and this depends on |
| Comment by Gerrit Updater [ 12/Nov/21 ] |
|
"Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45547 |
| Comment by Jian Yu [ 12/Nov/21 ] |
|
Thank you, Dongyang. |
| Comment by Gerrit Updater [ 13/Dec/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45547/ |
| Comment by Peter Jones [ 13/Dec/21 ] |
|
Landed for 2.15 |