Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16090

Fix Module.symvers path lookup on SUSE

Details

    • 3
    • 9223372036854775807

    Description

      With LU-15962 build: add in-kernel Module.symvers to symbol path the SUSE building against kernels with multiple flavors fails.

      The failure is noticed in autoMakefile being generated incorrectly:

      294 EXTRA_OFED_INCLUDE = -I/usr/src/linux-5.3.18-24.96/include -I/usr/src/linux-5.3.18-24.96/include/uapi
      295 EXTRA_SYMBOLS = /usr/src/linux-5.3.18-24.96-obj/x86_64/preempt/Module.symvers
      296 /usr/src/linux-5.3.18-24.96-obj/x86_64/default/Module.symvers
      297 FGREP = /usr/bin/grep -F
      298 GNICPPFLAGS =
      Here we should have:

      EXTRA_SYMBOLS = /usr/src/linux-5.3.18-24.96-obj/x86_64/default/Module.symvers
      Fix is to select the correct Module.symvers for the SUSE kernel flavor being built.

      Attachments

        Activity

          [LU-16090] Fix Module.symvers path lookup on SUSE
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.16.0 [ 15190 ]
          Fix Version/s New: Lustre 2.15.2 [ 15991 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          stancheff Shaun Tancheff created issue -

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: