[LU-14651] Linux kernel 5.12 support Created: 29/Apr/21 Updated: 25/Dec/23 Resolved: 26/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Improvement | Priority: | Major |
| Reporter: | James A Simmons | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Any system running 5.12 kernel. |
||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
The 5.12 Linux kernel has just been released. Moving the native Linux client to this version exposed various kernel API changes: 1) Support of IDMAPPED mounts. The impact on Lustre is struct user_namespace is passed to all VFS operations. You can read about this feature at - https://lwn.net/Articles/842423 2) fscrypto API has been reworked. 3) Linux kernel will not build UAPI headers with our CONF_T_* values. 4) rdma_reject() returns an error string to print out. 5) setsockopt uses a new sockptr_t abstract to handle both userland and kernel space at the same tim. |
| Comments |
| Comment by Gerrit Updater [ 29/Apr/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/43494 |
| Comment by Gerrit Updater [ 19/May/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43494/ |
| Comment by Andreas Dilger [ 11/Sep/21 ] |
|
Is there more to be done for the 5.12 kernel to work on the client? it would be good to add this to lustre/Changelog. |
| Comment by Jian Yu [ 05/Nov/21 ] |
|
Hi James,
Are you working on this? I'm also hitting this issue and working on it. |
| Comment by Gerrit Updater [ 09/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45805 |
| Comment by Gerrit Updater [ 24/Dec/21 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45938 |
| Comment by Gerrit Updater [ 06/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45805/ |
| Comment by Gerrit Updater [ 12/Jan/22 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46054 |
| Comment by James A Simmons [ 12/Jan/22 ] |
|
With the patches in this ticket I can get Ubuntu 21 5.13 kernel clients working. |
| Comment by Gerrit Updater [ 12/Jan/22 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/46070 |
| Comment by Gerrit Updater [ 20/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45938/ |
| Comment by Gerrit Updater [ 26/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46070/ |
| Comment by Peter Jones [ 26/Jan/22 ] |
|
Landed for 2.15 |
| Comment by Jian Yu [ 11/Feb/22 ] |
|
Hi simmonsja,
After building Lustre codes on an Ubuntu 20.04 VirtualBox vm node with kernel 5.13.0-27-generic, I hit the following error while loading Lustre client module : # modprobe lustre modprobe: ERROR: could not insert 'lustre': Exec format error kernel: [187850.110155] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000cab2976e, val ffffffffc110f9f8 Have you ever hit the above issue? |
| Comment by James A Simmons [ 09/Jun/22 ] |
|
No I never hit this issue before. Are you still hitting it? |
| Comment by Jian Yu [ 12/Jun/22 ] |
The issue is fixed in |
| Comment by Gerrit Updater [ 07/Jul/22 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47900 |
| Comment by Gerrit Updater [ 03/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47900/ |
| Comment by Gerrit Updater [ 19/Dec/23 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53503 |
| Comment by Gerrit Updater [ 19/Dec/23 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53504 |
| Comment by Gerrit Updater [ 20/Dec/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53503/ |
| Comment by Gerrit Updater [ 20/Dec/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53504/ |
| Comment by Gerrit Updater [ 25/Dec/23 ] |
|
"Xing Huang <hxing@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53549 |