I've encountered a problem while adding kernel support to the latest MLNX_OFED-2.3-1.0.1. I downloaded the latest version (MLNX_OFED_LINUX-2.3-1.0.1-xenserver6.x-i686, checked both: iso and tgz) from the website. Then I executed the following command on the DDK (XenServer-6.2.0-SP1-ddk.iso, CTX139817 - Driver Development Kit - For XenServer 6.2.0 Service Pack 1 - Citrix Knowledge Center):
# ./mlnx_add_kernel_support.sh -m /mnt/tmp/MLNX_OFED_LINUX-2.3-1.0.1-xenserver6.x-i686 --make-tgz -t /mnt/tmp/
Note: This program will create MLNX_OFED_LINUX TGZ for rhel5.7 under /tmp directory.
All Mellanox, OEM, OFED, or Distribution IB packages will be removed.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_ofed_iso.4987.log
Building OFED RPMs. Please wait...
ERROR: Failed executing "MLNX_OFED_SRC-2.3-1.0.0/install.pl -c /mnt/tmp//mlnx_iso.4987/ofed.conf --kernel 2.6.32.43-0.4.1.xs1.8.0.847.170785xen --kernel-sources /lib/modules/2.6.32.43-0.4.1.xs1.8.0.847.170785xen/build/ --builddir /mnt/tmp//mlnx_iso.4987 --disable-kmp --build-only"
ERROR: See /tmp/mlnx_ofed_iso.4987.log
/mnt - is the NFS share. I use tmp directory on this share since local DDK's tmp doesn't have enough space.
The logs indicate the following errors:
/bin/rpm -ihv --root /mnt/tmp//mlnx_iso.4987 /mnt/tmp//mlnx_iso.4987/OFED_topdir/RPMS/i686/kernel-ib-devel-2.3-2.6.32.43_0.4.1.xs1.8.0.847.170785xen_OFED.2.3.1.0.0.1.g793fc5d.i686.rpm
error: can't create transaction lock on /mnt/tmp/mlnx_iso.4987/var/lib/rpm/__db.000
and:
Processing files: iser-1.4.5-2.6.32.43_0.4.1.xs1.8.0.847.170785xen
error: File not found: /var/tmp/OFED/etc/depmod.d/iser.conf
corresponding logs are attached.
The same procedure with older version (MLNX_OFED_LINUX-2.2-1.0.1-xenserver6.x-i686) goes just fine producing the desired output.
So is this a bug or me missing something?