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 added a comment -

          Landed for 2.15.2 and 2.16

          pjones Peter Jones added a comment - Landed for 2.15.2 and 2.16

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48328
          Subject: LU-16090 build: Module.symvers lookup by flavor on SUSE
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: 3340d89fb8fe92bae54e6c1c29fba3b2ba538c1f

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48328 Subject: LU-16090 build: Module.symvers lookup by flavor on SUSE Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 3340d89fb8fe92bae54e6c1c29fba3b2ba538c1f

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48195
          Subject: LU-16090 build: Module.symvers lookup by flavor on SUSE
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: bb016d4261d2527ea50e2983a101968d37aeb478

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48195 Subject: LU-16090 build: Module.symvers lookup by flavor on SUSE Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: bb016d4261d2527ea50e2983a101968d37aeb478

          People

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

            Dates

              Created:
              Updated:
              Resolved: