Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. setup the system to build as instructed here: https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=52104622
  2. download the kernel deve package:
    1. wget https://build.hpdd.intel.com/job/lustre-reviews/47173/arch=x86_64,build_type=server,distro=el7,ib_stack=inkernel/artifact/artifacts/RPMS/x86_64/kernel-devel-3.10.0-514.10.2.el7_lustre.x86_64.rpm
  3. . Follow the steps in section:
    1. Provision machine and installing dependencies
    2. Preparing the Lustre Source
  4. You don't need to build lustre against a patched kernel if you're only using ldsikfs. So you can download and install the kernel-devel, kernel-debug and kernel-debug-common package:
  5. install the devel rpm (sometimes if you're going to downgrade the kernel, then you'll need to use the '–oldpackage' option)install the devel rpm:
    1. rpm -hiv --oldpackage kernel-devel*
  6. sh ./autogen.sh
  7. /configure --with-linux=/usrc/src/kernels/3.10.0-514.10.2.el7_lustre.x86_64<kernel-release>/
  8. make rpms
  9. rpm -qa | grep lustre # list installed rpms
  10. rpm -e --nodeps <all of the existing rpms> # remove existing rpms reported by above command.
  11. rpm -ivh --nodeps <all the new rpms> # install the new rpms in your build directory.
  12. now we can make changes to LNet, run "make" then replace ./usr/lib/modules/3.10.0-514.10.2.el7_lustre.x86_64<kernel release>/extra/lustre/net/lnet.ko with the new lnet.ko