[openib-general] [Bug 334] Problems with build OFED-1.1.1-ib_local_sa

bugzilla-daemon at lists.openfabrics.org bugzilla-daemon at lists.openfabrics.org
Thu Feb 1 00:50:19 PST 2007


https://bugs.openfabrics.org/show_bug.cgi?id=334


erezz at voltaire.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erezz at voltaire.com
          Component|IB Core                     |iSER




------- Comment #4 from erezz at voltaire.com  2007-02-01 00:50 -------
I wasn't able to reproduce this behavior. I made the cma fix:

diff -ru openib-1.1/drivers/infiniband/core/cma.c
openib-1.1-cma-fix/drivers/infiniband/core/cma.c
--- openib-1.1/drivers/infiniband/core/cma.c    2006-12-13 00:36:17.000000000
+0200
+++ openib-1.1-cma-fix/drivers/infiniband/core/cma.c    2007-02-01
09:57:47.000000000 +0200
@@ -43,6 +43,7 @@
 #include <rdma/ib_cache.h>
 #include <rdma/ib_cm.h>
 #include <rdma/ib_sa.h>
+#include <rdma/ib_local_sa.h>

 MODULE_AUTHOR("Sean Hefty");
 MODULE_DESCRIPTION("Generic RDMA CM Agent");

Before installing OFED, I installed the open-iscsi package that was shipped
with SLES 10 (open-iscsi-0.5.545-9.12). Then, the installation was successful:

thyme:/tmp/OFED-1.1.1-ib_local_sa # ./install.sh -c ofed.conf -net
ofed_net.conf

Removing previous InfiniBand Software installations


Installing OFED software into /usr/local/ofed

Running /bin/rpm -ihv --force --nodeps
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/kernel-ib-1.1-2.6.16.21_0.8_smp.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/kernel-ib-devel-1.1-2.6.16.21_0.8_smp.x86_64.rpm

Running /bin/rpm -ihv
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibcm-0.9.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibcm-devel-0.9.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibcommon-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibcommon-devel-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibmad-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibmad-devel-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibumad-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibumad-devel-1.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibverbs-1.0.4-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibverbs-devel-1.0.4-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libibverbs-utils-1.0.4-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libmthca-1.0.3-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libmthca-devel-1.0.3-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libopensm-2.0.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libosmcomp-2.0.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/libosmvendor-2.0.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/librdmacm-0.9.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/librdmacm-devel-0.9.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/librdmacm-utils-0.9.0-0.x86_64.rpm
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/openib-diags-1.1.0-0.x86_64.rpm

Running /bin/rpm -Uhv
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/oiscsi-iser-support-1-1.x86_64.rpm

Running /bin/rpm -Uhv
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/ofed-docs-1.1.1-0.noarch.rpm

Running /bin/rpm -Uhv
/tmp/OFED-1.1.1-ib_local_sa/RPMS/sles-release-10-15.2/ofed-scripts-1.1.1-0.noarch.rpm


IPoIB configuration for ib0:

IPADDR=192.168.10.58
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT=yes

IPoIB configuration for ib1:

IPADDR=195.168.10.58
NETMASK=255.255.10.0
NETWORK=195.168.10.0
BROADCAST=195.168.10.255
ONBOOT=no
Installation finished successfully...
thyme:/tmp/OFED-1.1.1-ib_local_sa # rpm -qa|grep kernel-ib
kernel-ib-1.1-2.6.16.21_0.8_smp
kernel-ib-devel-1.1-2.6.16.21_0.8_smp
thyme:/tmp/OFED-1.1.1-ib_local_sa # rpm -ql
kernel-ib-1.1-2.6.16.21_0.8_smp|grep iser
/lib/modules/2.6.16.21-0.8-smp/kernel/drivers/infiniband/ulp/iser
/lib/modules/2.6.16.21-0.8-smp/kernel/drivers/infiniband/ulp/iser/ib_iser.ko

For some reason, on your machine scsi/libiscsi.h was missing. On my machine it
is located here (this is where SLES 10 puts it):

thyme:/tmp/OFED-1.1.1-ib_local_sa # find /usr/src/linux-2.6.16.21-0.8 -name
libiscsi.h
/usr/src/linux-2.6.16.21-0.8/drivers/scsi/libiscsi.h

If you take a look at
openib-1.1/kernel_patches/backport/2.6.16_sles10/include_libiscsi.patch, you
will see that iSER will look for it in the right place. Therefore, I don't
understand what happened on your machine. Please check the following:
1. rpm -q open-iscsi
2. find /usr/src/linux-2.6.16.21-0.8 -name libiscsi.h
3. Check that kernel_patches/backport/2.6.16_sles10/include_libiscsi.patch was
applied successfully.


-- 
Configure bugmail: https://bugs.openfabrics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the general mailing list