From 16355bcf7d9a633043752fd38b4547b9af99d109 Mon Sep 17 00:00:00 2001 From: andywray Date: Wed, 27 Apr 2011 20:04:23 +0000 Subject: [PATCH] Add event fix Former-commit-id: 840cbe942988b7a1c507d7f8e147e08d54654015 --- ipmitool/ipmitool-eventfix.patch | 11 +++++++++++ ipmitool/ipmitool.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 ipmitool/ipmitool-eventfix.patch diff --git a/ipmitool/ipmitool-eventfix.patch b/ipmitool/ipmitool-eventfix.patch new file mode 100644 index 0000000..11e0bb2 --- /dev/null +++ b/ipmitool/ipmitool-eventfix.patch @@ -0,0 +1,11 @@ +--- ipmitool-1.8.11/lib/ipmi_event.c 2011-04-27 15:25:45.000000000 -0400 ++++ ipmitool-1.8.11-eventfix/lib/ipmi_event.c 2011-04-27 15:26:04.000000000 -0400 +@@ -97,7 +97,7 @@ + if (chmed == IPMI_CHANNEL_MEDIUM_SYSTEM) { + /* system interface, need extra generator ID */ + req.msg.data_len = 8; +- rqdata[0] = 0x20; ++ rqdata[0] = 0x41; + memcpy(rqdata+1, emsg, sizeof(struct platform_event_msg)); + } + else { diff --git a/ipmitool/ipmitool.spec b/ipmitool/ipmitool.spec index d8b49b7..95522e2 100644 --- a/ipmitool/ipmitool.spec +++ b/ipmitool/ipmitool.spec @@ -1,13 +1,14 @@ Name: ipmitool-xcat Summary: ipmitool - Utility for IPMI control Version: 1.8.11 -Release: 2 +Release: 3 License: BSD Group: Utilities Packager: Jarrod Johnson Source: ipmitool-%{version}.tar.gz Patch: ipmitool-saneretry.patch Patch2: ipmitool-spdfix.patch +Patch3: ipmitool-eventfix.patch Buildroot: /var/tmp/ipmitool-root %description @@ -33,6 +34,7 @@ fi %setup -n ipmitool-%{version} %patch -p1 %patch2 -p1 +%patch3 -p1 %build ./configure --with-kerneldir \ @@ -62,6 +64,8 @@ fi %changelog +* Wed Apr 27 2011 1.8.11-3 +- Add event fix * Wed Mar 11 2009 1.8.11-2 - Back off conflicting retry mechanisms - Add patch from ipmitool tracker for DDR3 SPD decode