9
–
gPXE
Netbooting Over IB
IB0054606-02 A
9-9
# extract previous contents
gunzip -dc ../initrd-ib-${kern}.img | cpio --quiet -id
# add infiniband modules
mkdir -p lib/ib
find /lib/modules/${kern}/updates -type f | \
egrep
'(iw_cm|ib_(mad|addr|core|sa|cm|uverbs|ucm|umad|ipoib|qib
).ko|rdma_|ipoib_helper)' | \
xargs -I '{}' cp -a '{}' lib/ib
# Some distros have ipoib_helper, others don't require it
if [ -e lib/ib/ipoib_helper ]; then
helper_cmd='/sbin/insmod /lib/ib/ipoib_helper.ko'
fi
# On some kernels, the qib driver will require the dca
module
if modinfo -F depends ib_qib | grep -q dca; then
cp $(find /lib/modules/$(uname -r) -name dca.ko) lib/ib
dcacmd='/sbin/insmod /lib/ib/dca.ko'
else
dcacmd=
fi
# IB requires loading an IPv6 module. If you do not have
it in your initrd, add it
if grep -q ipv6 ../Orig-listing; then
# already added, and presumably insmod'ed, along with any
dependencies
v6cmd=
else
echo -e 'Adding IPv6 and related modules\n'
cp /lib/modules/${kern}/kernel/net/ipv6/ipv6.ko lib
IFS=' ' v6cmd='echo "Loading IPV6"
/sbin/insmod /lib/ipv6.ko'
# Some versions of IPv6 have dependencies, add them.
xfrm=$(modinfo -F depends ipv6)
if [ ${xfrm} ]; then
cp $(find /lib/modules/$(uname -r) -name ${xfrm}.ko)
lib
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......