User Manual
/sbin/insmod /lib/modules/ib/rdma_cm.ko
/sbin/insmod /lib/modules/ib/rdma_ucm.ko
/sbin/insmod /lib/modules/ib/mlx4_core.ko
/sbin/insmod /lib/modules/ib/mlx4_ib.ko
/sbin/insmod /lib/modules/ib/ib_mthca.ko
/sbin/insmod /lib/modules/ib/ipoib_helper.ko
/sbin/insmod /lib/modules/ib/ib_ipoib.ko
Rev 2.1-1.0.6
Mellanox Technologies
231
Step 11. In case of interoperability issues between iSCSI and Large Receive Offload (LRO), change
the last command above as follows to disable LRO:
Step 12. Now you can assign an IP address to your IB device by adding a call to ifconfig or to the
DHCP client in the init file after loading the modules. If you wish to use the DHCP client,
then you need to add a call to the DHCP client in the
init file after loading the IB modules.
For example:
Step 13. Save the init file.
Step 14. Close initrd.
Step 15. At this stage, the modified initrd (including the IB driver) is ready and located at
/tmp/new_init_ib.img.gz. Copy it to the original initrd location and rename it
properly.
A.8.2 Case II: Ethernet Ports
The Ethernet driver requires loading the following modules in the specified order – see the exam-
ple below:
• mlx4_core.ko
• mlx4_en.ko
A.8.2.1 Example: Adding an Ethernet Driver to initrd (Linux)
Prerequisites
1. The FlexBoot image is already programmed on the adapter card.
2. The DHCP server is installed and configured as described in
Section 4.3.3.1 on page 57, and
connected to the client machine.
3. An
initrd file.
The following command (loading ipoib_helper.ko) is not required for all OS kernels.
Please check the release notes.
/sbin/insmod /lib/modules/ib/ib_ipoib.ko lro=0
/sbin/dhclient -cf /sbin/dhclient.conf ib1
host1$ cd /tmp/initrd_ib
host1$ find ./ | cpio -H newc -o > /tmp/new_initrd_ib.img
host1$ gzip /tmp/new_init_ib.img