[LU-10560] Fixes for 4.14 kernel Created: 24/Jan/18 Updated: 01/May/19 Resolved: 12/May/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Amir Shehata (Inactive) | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llnl | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
While Mike Marciniszyn was testing the TID-RDMA he tried to build Lustre against upstream. And ran into this build error: make[3]: Entering directory `/nfs/sc/disks/fabric_work/mmarciniszyn/repos/wfr/wf r-linux-devel' CC [M] /nfs/sc/disks/fabric_work/mmarciniszyn/repos/lustre-release/libcfs/libcfs/linux/linux-tracefile.o CC [M] /nfs/sc/disks/fabric_work/mmarciniszyn/repos/lustre-release/libcfs/libcfs/linux/linux-debug.o In file included from /nfs/sc/disks/fabric_work/mmarciniszyn/repos/lustre-release/libcfs/libcfs/linux/linux-debug.c:50:0: ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’: ./arch/x86/include/asm/uaccess.h:31:9: error: dereferencing pointer to incomplete type current->thread.addr_limit = fs; |
| Comments |
| Comment by Gerrit Updater [ 24/Jan/18 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/31007 |
| Comment by Amir Shehata (Inactive) [ 30/Jan/18 ] |
|
Some more identified issue with Lustre compile against upstream kernel: Some additional portability issues:
|
| Comment by James A Simmons [ 30/Jan/18 ] |
|
I have a patch for the wait_queue_t changes. Just haven't pushed them yet. How new of a kernel do you need? |
| Comment by Mike Marciniszyn (Inactive) [ 31/Jan/18 ] |
|
I have patches for all the above issues as well. An additional issue is with libcfs. vfs_write() is not exported in some cases. I have a patch for that probes for kernel_write() |
| Comment by Gerrit Updater [ 02/Feb/18 ] |
|
Mike Marciniszyn (mike.marciniszyn@intel.com) uploaded a new patch: https://review.whamcloud.com/31153 |
| Comment by Gerrit Updater [ 02/Feb/18 ] |
|
Mike Marciniszyn (mike.marciniszyn@intel.com) uploaded a new patch: https://review.whamcloud.com/31154 |
| Comment by Gerrit Updater [ 06/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31007/ |
| Comment by Gerrit Updater [ 09/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31150/ |
| Comment by Gerrit Updater [ 09/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31151/ |
| Comment by Gerrit Updater [ 22/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31152/ |
| Comment by Gerrit Updater [ 22/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31153/ |
| Comment by Olaf Faaland [ 28/Feb/18 ] |
|
I see the LTS label. Will this ticket also be used to track the backports? I added the llnl label because we have an aarch64 cluster for testing and are attempting to build and use the Lustre 2.10 client there. Some weeks ago RHEL for arm used a 4.11-based kernel, and Lustre 2.10 client built with minor adjustments. Since then, RHEL moved to a 4.14-based kernel and much more change is required. |
| Comment by James A Simmons [ 01/Mar/18 ] |
|
Seriously. I will be seeing this update soon. I guess I need to resolve the last patch. |
| Comment by James A Simmons [ 16/Mar/18 ] |
|
Any chance to land the last patch to make this work complete?
|
| Comment by Gerrit Updater [ 23/Mar/18 ] |
|
Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/31746 |
| Comment by Gerrit Updater [ 09/Apr/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31154/ |
| Comment by Gerrit Updater [ 09/Apr/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31746/ |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31923 |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31924 |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31925 |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31926 |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31927 |
| Comment by Gerrit Updater [ 10/Apr/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31928 |
| Comment by Gerrit Updater [ 11/Apr/18 ] |
|
Mike Marciniszyn (mike.marciniszyn@intel.com) uploaded a new patch: https://review.whamcloud.com/31948 |
| Comment by Peter Jones [ 11/Apr/18 ] |
|
mmarcini is this now the last patch or are there still more to come? |
| Comment by Mike Marciniszyn (Inactive) [ 11/Apr/18 ] |
|
I noted that that the error in the backport in https://review.whamcloud.com/#/c/31928 and that is probably due to the const discrepancy. This is the only issue I have with 4.14.x kernel and it as it is working fine for our testing. There are issues with 4.15.x, but i haven't gotten to those yet. Some notables:
My objective here is to do some Lustre testing with our upstream work for OPA (lnet_selftest, lnet_ping) |
| Comment by Peter Jones [ 11/Apr/18 ] |
|
Ok. 4.15 work is happening under |
| Comment by Gerrit Updater [ 19/Apr/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31948/ |
| Comment by James A Simmons [ 19/Apr/18 ] |
|
We have a patch for ldiskfs under this ticket so don't close. |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
Yang Sheng (yang.sheng@intel.com) uploaded a new patch: https://review.whamcloud.com/32268 |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31923/ |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31924/ |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31925/ |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31926/ |
| Comment by Gerrit Updater [ 12/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31975/ |
| Comment by Gerrit Updater [ 12/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32268/ |
| Comment by Peter Jones [ 12/May/18 ] |
|
Landed for 2.12 |
| Comment by Gerrit Updater [ 05/Jun/18 ] |
|
Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/32621 |
| Comment by Gerrit Updater [ 14/Jun/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32621/ |