Load jenkins build can be time consuming and using it becomes not feasible when debugging. Having to make changes, then push a patch for build only, then reload the machine would be a waste of time.
Instead, it's easier to build locally, then replace the lnet.ko file or even install the rpms from scratch.
Below is the procedure to do that.
- setup the system to build as instructed here: https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=52104622
- download the kernel deve package:
- 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
- install the devel rpm:
- rpm -hiv --oldpackage kernel-devel*
- sh ./autogen.sh
- /configure --with-linux=/usrc/src/kernels/3.10.0-514.10.2.el7_lustre.x86_64/
- make rpms
- rpm -qa | grep lustre # list installed rpms
- now we can make changes to LNet, run "make" then replace ./usr/lib/modules/3.10.0-514.10.2.el7_lustre.x86_64/extra/lustre/net/lnet.ko with the new lnet.ko