Hello community,
here is the log from the commit of package freeipmi for openSUSE:Factory checked in at 2014-07-02 15:04:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freeipmi (Old)
and /work/SRC/openSUSE:Factory/.freeipmi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeipmi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/freeipmi/freeipmi.changes 2014-05-15 19:10:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.freeipmi.new/freeipmi.changes 2014-07-02 15:04:52.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jun 30 06:16:28 UTC 2014 - kkaempf@localhost
+
+- Update to 1.4.4
+ o Support retrys of SSIF reads to handle SSIF NACKs.
+
+-------------------------------------------------------------------
Old:
----
freeipmi-1.4.3.tar.gz
New:
----
freeipmi-1.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ freeipmi.spec ++++++
--- /var/tmp/diff_new_pack.oJ7mOI/_old 2014-07-02 15:04:53.000000000 +0200
+++ /var/tmp/diff_new_pack.oJ7mOI/_new 2014-07-02 15:04:53.000000000 +0200
@@ -18,7 +18,7 @@
%define name freeipmi
-%define version 1.4.3
+%define version 1.4.4
%define srcversion %{version}
%if %{?_with_debug:1}%{!?_with_debug:0}
%define release 1.debug%{?dist}
++++++ freeipmi-1.4.3.tar.gz -> freeipmi-1.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/ChangeLog new/freeipmi-1.4.4/ChangeLog
--- old/freeipmi-1.4.3/ChangeLog 2014-05-07 19:45:59.000000000 +0200
+++ new/freeipmi-1.4.4/ChangeLog 2014-06-27 20:20:50.000000000 +0200
@@ -1,3 +1,19 @@
+2014-06-27 Albert Chu
+
+ * NEWS, configure.ac: Update for release.
+
+ * Tagged Release-1_4_4
+
+2014-05-30 Albert Chu
+
+ * configure.ac: Increment libfreeipmi version appropriately.
+
+2014-05-30 Shashi Dande
+
+ * libfreeipmi/api/ipmi-ssif-driver-api.h,
+ libfreeipmi/api/ipmi-ssif-driver-api.c (api_ssf_cmd): Retry reads
+ as needed.
+
2014-05-07 Albert Chu
* NEWS, configure.ac: Update for release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/NEWS new/freeipmi-1.4.4/NEWS
--- old/freeipmi-1.4.3/NEWS 2014-05-07 19:45:59.000000000 +0200
+++ new/freeipmi-1.4.4/NEWS 2014-06-27 20:20:50.000000000 +0200
@@ -1,3 +1,7 @@
+FreeIPMI 1.4.4 - 06/27/14
+-------------------------
+o Support retrys of SSIF reads to handle SSIF NACKs.
+
FreeIPMI 1.4.3 - 05/07/14
-------------------------
o Fix compile bug in 1.4.2 release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/configure new/freeipmi-1.4.4/configure
--- old/freeipmi-1.4.3/configure 2014-05-07 19:47:35.000000000 +0200
+++ new/freeipmi-1.4.4/configure 2014-06-27 20:22:01.000000000 +0200
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.ac Id: configure.ac,v 1.208 2010-08-06 21:02:29 chu11 Exp .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for freeipmi 1.4.3.
+# Generated by GNU Autoconf 2.63 for freeipmi 1.4.4.
#
# Report bugs to .
#
@@ -746,8 +746,8 @@
# Identity of this package.
PACKAGE_NAME='freeipmi'
PACKAGE_TARNAME='freeipmi'
-PACKAGE_VERSION='1.4.3'
-PACKAGE_STRING='freeipmi 1.4.3'
+PACKAGE_VERSION='1.4.4'
+PACKAGE_STRING='freeipmi 1.4.4'
PACKAGE_BUGREPORT='freeipmi-devel@gnu.org'
ac_unique_file="ChangeLog.0"
@@ -1528,7 +1528,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures freeipmi 1.4.3 to adapt to many kinds of systems.
+\`configure' configures freeipmi 1.4.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1598,7 +1598,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of freeipmi 1.4.3:";;
+ short | recursive ) echo "Configuration of freeipmi 1.4.4:";;
esac
cat <<\_ACEOF
@@ -1716,7 +1716,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-freeipmi configure 1.4.3
+freeipmi configure 1.4.4
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1730,7 +1730,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by freeipmi $as_me 1.4.3, which was
+It was created by freeipmi $as_me 1.4.4, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2103,7 +2103,7 @@
FREEIPMI_PACKAGE_VERSION_MAJOR=1
FREEIPMI_PACKAGE_VERSION_MINOR=4
-FREEIPMI_PACKAGE_VERSION_PATCH=3
+FREEIPMI_PACKAGE_VERSION_PATCH=4
@@ -2595,7 +2595,7 @@
# Define the identity of the package.
PACKAGE='freeipmi'
- VERSION='1.4.3'
+ VERSION='1.4.4'
cat >>confdefs.h <<_ACEOF
@@ -2741,7 +2741,7 @@
# release, then set age to 0.
#
LIBFREEIPMI_CURRENT=16
-LIBFREEIPMI_REVISION=0
+LIBFREEIPMI_REVISION=1
LIBFREEIPMI_AGE=0
LIBFREEIPMI_VERSION=$LIBFREEIPMI_CURRENT.$LIBFREEIPMI_REVISION.$LIBFREEIPMI_AGE
@@ -2763,7 +2763,7 @@
LIBFREEIPMI_VERSION_MAJOR=5
LIBFREEIPMI_VERSION_MINOR=0
-LIBFREEIPMI_VERSION_PATCH=0
+LIBFREEIPMI_VERSION_PATCH=1
@@ -19861,7 +19861,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by freeipmi $as_me 1.4.3, which was
+This file was extended by freeipmi $as_me 1.4.4, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19924,7 +19924,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-freeipmi config.status 1.4.3
+freeipmi config.status 1.4.4
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/configure.ac new/freeipmi-1.4.4/configure.ac
--- old/freeipmi-1.4.3/configure.ac 2014-05-07 19:45:59.000000000 +0200
+++ new/freeipmi-1.4.4/configure.ac 2014-06-27 20:20:50.000000000 +0200
@@ -1,11 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([freeipmi],[1.4.3],[freeipmi-devel@gnu.org])
+AC_INIT([freeipmi],[1.4.4],[freeipmi-devel@gnu.org])
AC_REVISION([$Id: configure.ac,v 1.208 2010-08-06 21:02:29 chu11 Exp $])
AC_CONFIG_MACRO_DIR([config])
FREEIPMI_PACKAGE_VERSION_MAJOR=1
FREEIPMI_PACKAGE_VERSION_MINOR=4
-FREEIPMI_PACKAGE_VERSION_PATCH=3
+FREEIPMI_PACKAGE_VERSION_PATCH=4
AC_SUBST(FREEIPMI_PACKAGE_VERSION_MAJOR)
AC_SUBST(FREEIPMI_PACKAGE_VERSION_MINOR)
@@ -124,7 +124,7 @@
# release, then set age to 0.
#
LIBFREEIPMI_CURRENT=16
-LIBFREEIPMI_REVISION=0
+LIBFREEIPMI_REVISION=1
LIBFREEIPMI_AGE=0
LIBFREEIPMI_VERSION=$LIBFREEIPMI_CURRENT.$LIBFREEIPMI_REVISION.$LIBFREEIPMI_AGE
@@ -146,7 +146,7 @@
LIBFREEIPMI_VERSION_MAJOR=5
LIBFREEIPMI_VERSION_MINOR=0
-LIBFREEIPMI_VERSION_PATCH=0
+LIBFREEIPMI_VERSION_PATCH=1
AC_SUBST(LIBFREEIPMI_VERSION_MAJOR)
AC_SUBST(LIBFREEIPMI_VERSION_MINOR)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/doc/freeipmi-faq.info new/freeipmi-1.4.4/doc/freeipmi-faq.info
--- old/freeipmi-1.4.3/doc/freeipmi-faq.info 2014-05-07 19:47:51.000000000 +0200
+++ new/freeipmi-1.4.4/doc/freeipmi-faq.info 2014-06-27 20:22:17.000000000 +0200
@@ -1,7 +1,7 @@
This is freeipmi-faq.info, produced by makeinfo version 4.13 from
freeipmi-faq.texi.
-This manual is for FreeIPMI (version 1.4.3, 12 March 2014). Copyright
+This manual is for FreeIPMI (version 1.4.4, 12 March 2014). Copyright
(C) 2006-2012 FreeIPMI Core Team
Permission is granted to copy, distribute and/or modify this
@@ -22,8 +22,8 @@
Frequently Asked Questions on *FreeIPMI*
- This edition of the documentation was last updated on 7 May 2014 for
-release 1.4.3 of the FreeIPMI.
+ This edition of the documentation was last updated on 27 June 2014
+for release 1.4.4 of the FreeIPMI.
* Menu:
@@ -975,32 +975,32 @@
Tag Table:
Node: Top690
-Node: What is IPMI?2245
-Node: What is FreeIPMI?3391
-Node: How did FreeIPMI start?3928
-Node: What operating systems does FreeIPMI run on?5296
-Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6052
-Node: What is special about FreeIPMI?6860
-Node: Does my system support IPMI?13773
-Node: How do I compile FreeIPMI?15774
-Node: libgcrypt requirement16139
-Node: x86-64 Compilation16782
-Node: Installing FreeIPMI on FreeBSD17468
-Node: What are some IPMI terminology or acronyms I should be aware of?18111
-Node: What setup is needed for FreeIPMI to communicate over LAN?21130
-Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21726
-Node: Do I need to install or configure a driver to perform IPMI inband?23640
-Node: SSIF Driver Configuration25353
-Node: How do you setup Powerman with ipmipower?26953
-Node: How do you setup Conman with ipmiconsole or libipmiconsole?30248
-Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?32165
-Node: Why are times reported by FreeIPMI tools wrong?32810
-Node: Why is the IPMI kernel driver faster than the KCS driver?33800
-Node: Why is the output from FreeIPMI different than another software?34804
-Node: Why are there so many IPMI compliance bugs?39306
-Node: How do I get around an IPMI compliance bug on my motherboard?40407
-Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?41224
-Node: How do I program with the FreeIPMI libraries?44351
-Node: Where can I get additional help or support?45698
+Node: What is IPMI?2247
+Node: What is FreeIPMI?3393
+Node: How did FreeIPMI start?3930
+Node: What operating systems does FreeIPMI run on?5298
+Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6054
+Node: What is special about FreeIPMI?6862
+Node: Does my system support IPMI?13775
+Node: How do I compile FreeIPMI?15776
+Node: libgcrypt requirement16141
+Node: x86-64 Compilation16784
+Node: Installing FreeIPMI on FreeBSD17470
+Node: What are some IPMI terminology or acronyms I should be aware of?18113
+Node: What setup is needed for FreeIPMI to communicate over LAN?21132
+Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21728
+Node: Do I need to install or configure a driver to perform IPMI inband?23642
+Node: SSIF Driver Configuration25355
+Node: How do you setup Powerman with ipmipower?26955
+Node: How do you setup Conman with ipmiconsole or libipmiconsole?30250
+Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?32167
+Node: Why are times reported by FreeIPMI tools wrong?32812
+Node: Why is the IPMI kernel driver faster than the KCS driver?33802
+Node: Why is the output from FreeIPMI different than another software?34806
+Node: Why are there so many IPMI compliance bugs?39308
+Node: How do I get around an IPMI compliance bug on my motherboard?40409
+Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?41226
+Node: How do I program with the FreeIPMI libraries?44353
+Node: Where can I get additional help or support?45700
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/doc/stamp-vti new/freeipmi-1.4.4/doc/stamp-vti
--- old/freeipmi-1.4.3/doc/stamp-vti 2014-05-07 19:47:51.000000000 +0200
+++ new/freeipmi-1.4.4/doc/stamp-vti 2014-06-27 20:22:17.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 12 March 2014
@set UPDATED-MONTH March 2014
-@set EDITION 1.4.3
-@set VERSION 1.4.3
+@set EDITION 1.4.4
+@set VERSION 1.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/doc/version-faq.texi new/freeipmi-1.4.4/doc/version-faq.texi
--- old/freeipmi-1.4.3/doc/version-faq.texi 2014-05-07 19:47:51.000000000 +0200
+++ new/freeipmi-1.4.4/doc/version-faq.texi 2014-06-27 20:22:17.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 12 March 2014
@set UPDATED-MONTH March 2014
-@set EDITION 1.4.3
-@set VERSION 1.4.3
+@set EDITION 1.4.4
+@set VERSION 1.4.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/freeipmi.spec new/freeipmi-1.4.4/freeipmi.spec
--- old/freeipmi-1.4.3/freeipmi.spec 2014-05-07 19:47:48.000000000 +0200
+++ new/freeipmi-1.4.4/freeipmi.spec 2014-06-27 20:22:13.000000000 +0200
@@ -3,7 +3,7 @@
#
%define name freeipmi
-%define version 1.4.3
+%define version 1.4.4
%if %{?_with_debug:1}%{!?_with_debug:0}
%define release 1.debug%{?dist}
%else
@@ -491,7 +491,7 @@
- Obsolete old subpackage freeipmi-ipmimonitoring.
* Tue Dec 18 2007 Albert Chu 0.6.0
-- Use %{version} instead of 1.4.3 for substitution in paths.
+- Use %{version} instead of 1.4.4 for substitution in paths.
* Fri Dec 14 2007 Albert Chu 0.6.0
- Update packaging for libfreeipmi reorganization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/libfreeipmi/api/ipmi-ssif-driver-api.c new/freeipmi-1.4.4/libfreeipmi/api/ipmi-ssif-driver-api.c
--- old/freeipmi-1.4.3/libfreeipmi/api/ipmi-ssif-driver-api.c 2014-01-04 00:45:22.000000000 +0100
+++ new/freeipmi-1.4.4/libfreeipmi/api/ipmi-ssif-driver-api.c 2014-05-30 17:26:06.000000000 +0200
@@ -319,7 +319,9 @@
uint8_t cmd = 0; /* used for debugging */
uint8_t group_extension = 0; /* used for debugging */
uint64_t val;
-
+ struct timespec request, remain;
+ uint8_t retry = IPMI_SSIF_RETRY_DEFAULT;
+
assert (ctx
&& ctx->magic == IPMI_CTX_MAGIC
&& ctx->type == IPMI_DEVICE_SSIF
@@ -350,8 +352,38 @@
if (_ssif_cmd_write (ctx, cmd, group_extension, obj_cmd_rq) < 0)
return (-1);
+ /******************************************************************************
+ 12.9 SMBus NACKs and Error Recovery:
+ ====================================
+ The BMC can NACK the SMBus host controller if it is not ready to accept a new
+ transaction. Typically, this will be exhibited by the BMC NACK'ing its slave
+ address.
+
+ If the BMC NACKs a single part transaction, software can simply retry it.
+ If a 'middle' or 'end' transaction is NACK'd, software should not retry the
+ particular but should restart the multi-part read or write from the beginning
+ Start transaction for the transfer.
+ *******************************************************************************/
if (_ssif_cmd_read (ctx, cmd, group_extension, obj_cmd_rs) < 0)
- return (-1);
+ {
+ while (1)
+ {
+ request.tv_sec = 0;
+ request.tv_nsec = IPMI_SSIF_TIMEOUT_DEFAULT;
+ if (nanosleep (&request, &remain) < 0 )
+ return (-1);
+
+ if (_ssif_cmd_read (ctx, cmd, group_extension, obj_cmd_rs) < 0)
+ {
+ if (retry == 0)
+ return (-1);
+
+ retry--;
+ }
+ else
+ break;
+ }
+ }
return (0);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/freeipmi-1.4.3/libfreeipmi/api/ipmi-ssif-driver-api.h new/freeipmi-1.4.4/libfreeipmi/api/ipmi-ssif-driver-api.h
--- old/freeipmi-1.4.3/libfreeipmi/api/ipmi-ssif-driver-api.h 2014-01-04 00:45:22.000000000 +0100
+++ new/freeipmi-1.4.4/libfreeipmi/api/ipmi-ssif-driver-api.h 2014-05-30 17:26:06.000000000 +0200
@@ -23,6 +23,9 @@
#include
#include
+#define IPMI_SSIF_RETRY_DEFAULT 5
+#define IPMI_SSIF_TIMEOUT_DEFAULT 20000000 /* 20 ms */
+
int api_ssif_cmd (ipmi_ctx_t ctx,
fiid_obj_t obj_cmd_rq,
fiid_obj_t obj_cmd_rs);
N§²æìržyéZ)z{.±ç(húéì¹»®&Þ¢§²ë¢ž¢¶v+b¢v¥rŠjwlzf¢^ˬyÊ&+~
éi¢§²ë¢ž