22741696 Explorer hangs running ibis on system with Titan cards
authorboris.chiu@oracle.com
Tue, 19 Apr 2016 14:24:04 -0700
changeset 5805 5320af34d217
parent 5804 c448287e1ee1
child 5807 fb153f8ba9a3
22741696 Explorer hangs running ibis on system with Titan cards 23124750 infiniband-diags Make LIBS -ldevinfo should be removed
components/open-fabrics/infiniband-diags/Makefile
components/open-fabrics/libibverbs/patches/005-libibverbs-explorer-hangs-running-ibis-with-Titan-cards.patch
--- a/components/open-fabrics/infiniband-diags/Makefile	Tue Apr 12 06:28:16 2016 -0700
+++ b/components/open-fabrics/infiniband-diags/Makefile	Tue Apr 19 14:24:04 2016 -0700
@@ -37,7 +37,7 @@
 
 CFLAGS += -I$(PROTOUSRINCDIR)/infiniband
 
-LIBS +=	-lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -ldevinfo -lglib-2.0
+LIBS +=	-lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -lglib-2.0
 
 COMPONENT_PREP_ACTION = \
         cp solaris_set_nodedesc.c $(@D)/src
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/open-fabrics/libibverbs/patches/005-libibverbs-explorer-hangs-running-ibis-with-Titan-cards.patch	Tue Apr 19 14:24:04 2016 -0700
@@ -0,0 +1,18 @@
+#This patch was developed both in-house and from outside. We plan to submit it
+#upstream, but do not yet have a target date for doing so
+#
+# HG changeset patch
+# Parent  b116e18142b1d4ec433b67c77f389bf975cc8c42
+22741696 Explorer hangs running ibis on system with Titan cards
+
+diff -r b116e18142b1 src/init.c
+--- a/src/init.c	Tue Apr 19 10:06:00 2016 -0700
++++ b/src/init.c	Tue Apr 19 10:17:34 2016 -0700
+@@ -603,6 +603,7 @@
+ 		}
+ 		free(sysfs_dev);
+ 	}
++	sysfs_dev_list = NULL;
+ 
+ 	return num_devices;
+ }