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

Debian dkms install failure

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: