-
In some cases, resource failure alarms are not removed from the DAT when the corresponding resource is restored.
In the function src/alarm.c:oh_detect_resource_alarm(), the type variable is set to SAHPI_STATUS_COND_TYPE_SENSOR, but should be set to SAHPI_STATUS_COND_TYPE_RESOURCE. As a result, when the type variable is later used as an argument in the call to oh_remove_alarm(), resource...
2009-06-02 21:52:43 UTC in Open HPI
-
The attached patch, impi_mc_vendor_sun.patch, adds additional support to the IPMI Direct Plugin for Sun's ILOM based servers. The new code creates HPI Controls for Sun server LEDs.
2009-05-19 17:20:52 UTC in Open HPI
-
If hpitree is generating a segmentation fault on Solaris and not on Linux, the problem may be caused by a call to snprintf(), printf(), or fprintf() with a NULL argument. The following code will generate a segmentation fault on Solaris and print "(null)\n" on Linux:
printf("%s\n", NULL);
The list_* functions in hpitree.c directly and indirectly call the oh_lookup_* functions declared in...
2009-03-25 19:00:55 UTC in Open HPI
-
On some versions of Solaris the pkg-config file for gthread-2.0 contains a compiler option, '-mt', that is incompatible with gcc. On these versions of Solaris, the following configure error occurs:
...
checking for pkg-config... yes
checking gcc >= 3.2.0... yes
checking for GLIB - version >= 2.2.0... yes (version 2.4.1)
checking for g_slist_alloc in -lglib-2.0... no
configure: error: ...
2009-01-29 21:20:58 UTC in Open HPI
-
In oh_error.h, the poison pragma is used to prevent the use of the sprintf(). However, sprintf() is used in the system headers of some versions of Solaris. On these versions of Solaris, compile errors similar to the following occur:
...
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../utils -I../utils -I../marshal -I../ssl -I/opt/sfw/include -D_REENTRANT -I/usr/include/glib-2.0...
2009-01-28 21:19:37 UTC in Open HPI
-
The utility functions listed below return results in a SaHpiTextBufferT. However, these functions set the DataLength field of the SaHpiTextBufferT to a value less than the actual length of the data.
oh_decode_capabilities()
oh_decode_hscapabilities()
oh_decode_dimitestcapabilities()
oh_decode_fumiprotocols()
oh_decode_fumicapabilities()
oh_decode_sensoroptionaldata(...
2008-12-16 22:57:59 UTC in Open HPI
-
The following functions from sahpi_struct_utils.h are are not in the python interface because they are missing from the swig interface file, sahpi_struct_utils.i:
oh_decode_dimitestcapabilities()
oh_decode_fumiprotocols()
oh_decode_fumicapabilities()
The attached patch, sahpi_struct_utils.i.patch, adds these functions to sahpi_struct_utils.i.
2008-12-16 21:10:19 UTC in Open HPI
-
The IPMI Direct Plugin implementations of saHpiIdrAreaHeaderGet() and saHpiIdrFieldGet() don't handle their type input parameters properly.
If the AreaType parameter of saHpiIdrAreaHeaderGet() is a valid value other than SAHPI_IDR_AREATYPE_UNSPECIFIED and the AreaId parameter is SAHPI_FIRST_ENTRY, the saHpiIdrAreaHeaderGet() function should return the first area of the specified type and set...
2008-12-04 19:51:16 UTC in Open HPI
-
The function hpi_shell/commands.c:show_rdr() makes one call to the function strnlen(). strnlen() is not available on some OSs including older versions of Solaris. As a result, compile errors occur on these OSs. To resolve this problem, I have attached a patch, without_strnlen.patch, which doesn't rely on strnlen().
Another approach to resolve this problem would be to define a local version of...
2008-10-01 23:39:14 UTC in Open HPI
-
In configure.ac, the following line checks for the MD5_Init() function in libssl:
AC_CHECK_LIB([ssl],[MD5_Init],[SSL_LIB=-lssl],[SSL_LIB=])
If the check is successful, SSL_LIB is set to -lssl.
However, MD5_Init() is defined in libcrypto, so the check for MD5_Init() should be against libcrypto instead of libssl.
To perform the check, the configure script creates a test program with...
2008-04-26 02:31:10 UTC in Open HPI