2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 01:21:44 +00:00

Add event fix

Former-commit-id: 840cbe942988b7a1c507d7f8e147e08d54654015
This commit is contained in:
andywray 2011-04-27 20:04:23 +00:00
parent 08417ff4b8
commit 16355bcf7d
2 changed files with 16 additions and 1 deletions

View File

@ -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 {

View File

@ -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 <jbjohnso@us.ibm.com>
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 <andywray@us.ibm.com> 1.8.11-3
- Add event fix
* Wed Mar 11 2009 <jbjohnso@us.ibm.com> 1.8.11-2
- Back off conflicting retry mechanisms
- Add patch from ipmitool tracker for DDR3 SPD decode