Details

    • 1
    • 3
    • 9223372036854775807

    Description

      Debian kernel package splits '-arch' and '-common' packages.
      To configure lustre:
      --with-linux=<path-to-common> --with-linux-obj=<path-to-arch>
      However the dkms attempts to re-build modules with:

      sh autogen.sh && ./configure --with-linux=/lib/modules/5.10.0-0.bpo.9-amd64/build --with-linux-obj=/lib/modules/5.10.0-0.bpo.9-amd64/build --disable-server --disable-quilt --disable-dependency-tracking --disable-doc --disable-utils --disable-iokit --disable-snmp --disable-tests --enable-quota --with-kmp-moddir=updates && make
      

      Which fails.

      Resolve the symlink /lib/modules/5.10.0-0.bpo.9-amd64/build

      $ ls -l /lib/modules/5.10.0-0.bpo.9-amd64/build 
      lrwxrwxrwx 1 root root 43 Oct 10 12:07 /lib/modules/5.10.0-0.bpo.9-amd64/build -> /usr/src/linux-headers-5.10.0-0.bpo.9-amd64/
      

      and check for the parallel common directory /usr/src/linux-headers-5.10.0-0.bpo.9-common/, if it exists update the path to the kernel headers.

      Attachments

        Issue Links

          Activity

            [LU-15652] Debian dkms install failure

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47758/
            Subject: LU-15652 build: On Debian detect -common kernel headers
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: ce54c11e0b651f42defa3283015d407bd6fd50aa

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47758/ Subject: LU-15652 build: On Debian detect -common kernel headers Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: ce54c11e0b651f42defa3283015d407bd6fd50aa

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46836/
            Subject: LU-15652 build: On Debian detect -common kernel headers
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 85a6eebeca1e1efb5bb9c3e737ab1978f8aca741

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46836/ Subject: LU-15652 build: On Debian detect -common kernel headers Project: fs/lustre-release Branch: master Current Patch Set: Commit: 85a6eebeca1e1efb5bb9c3e737ab1978f8aca741

            "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47758
            Subject: LU-15652 build: On Debian detect -common kernel headers
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 83038114930be3914d9932e43a0d7ce4e3eefc91

            gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47758 Subject: LU-15652 build: On Debian detect -common kernel headers Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 83038114930be3914d9932e43a0d7ce4e3eefc91

            "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46836
            Subject: LU-15652 build: On Debian detect -common kernel headers
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cd7b46a2e0b41cf2b0c024b7ef8fa97cb6f44eca

            gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46836 Subject: LU-15652 build: On Debian detect -common kernel headers Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cd7b46a2e0b41cf2b0c024b7ef8fa97cb6f44eca

            People

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

              Dates

                Created:
                Updated:
                Resolved: