[LU-16659] mofed detection would detect multiple OFED installed by mistake for multiple kernels installed Created: 23/Mar/23 Updated: 10/May/23 Resolved: 01/May/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0 |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Gaurang Tapase | Assignee: | Gaurang Tapase |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
If there are multiple kernels installed, specifying --with-o2ib=yes during configure fails saying that there are multiple OFED installed which is not the case as the mofed detection logic finds multiple directories with different kernels. Need to just use the mofed path of the current running kernel while detection. |
| Comments |
| Comment by Gerrit Updater [ 04/Apr/23 ] |
|
"Gaurang Tapase <gtapase@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50517 |
| Comment by Gerrit Updater [ 04/Apr/23 ] |
|
"Gaurang Tapase <gtapase@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50518 |
| Comment by Gerrit Updater [ 01/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50517/ |
| Comment by Peter Jones [ 01/May/23 ] |
|
Landed for 2.16 |
| Comment by Åke Sandgren [ 10/May/23 ] |
|
The change in 50517 is wrong in my opinion. The correct way would be to do
— a/lnet/autoconf/lustre-lnet.m4
Using uname -r makes it impossible to build for anything else than the currently running kernel |
| Comment by Minh Diep [ 10/May/23 ] |
|
ake_s, could you please open an LU ticket and push the fix? |
| Comment by Gerrit Updater [ 10/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50518/ |