1Name: ipmitool 2Summary: ipmitool - Utility for IPMI control 3Version: @VERSION@ 4Release: @RPM_RELEASE@%{?_distro:.%{_distro}} 5License: BSD 6Group: Utilities 7Packager: Jim Mankovich <jmank@hp.com> 8Source: %{name}-%{version}.tar.gz 9Buildroot: /var/tmp/ipmitool-root 10 11%description 12This package contains a utility for interfacing with devices that support 13the Intelligent Platform Management Interface specification. IPMI is 14an open standard for machine health, inventory, and remote power control. 15 16This utility can communicate with IPMI-enabled devices through either a 17kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in 18the IPMI specification. IPMIv2 adds support for encrypted LAN 19communications and remote Serial-over-LAN functionality. 20 21It provides commands for reading the Sensor Data Repository (SDR) and 22displaying sensor values, displaying the contents of the System Event 23Log (SEL), printing Field Replaceable Unit (FRU) information, reading and 24setting LAN configuration, and chassis power control. 25 26%prep 27if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then 28 rm -rf $RPM_BUILD_ROOT 29fi 30 31%setup 32 33%build 34./configure --with-kerneldir \ 35 --with-rpm-distro=@DISTRO@ \ 36 --prefix=%{_prefix} \ 37 --bindir=%{_bindir} \ 38 --sbindir=%{_sbindir} \ 39 --datadir=%{_datadir} \ 40 --includedir=%{_includedir} \ 41 --libdir=%{_libdir} \ 42 --mandir=%{_mandir} \ 43 --sysconfdir=%{_sysconfdir} 44make 45 46%install 47make DESTDIR=$RPM_BUILD_ROOT install-strip 48 49%clean 50if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then 51 rm -rf $RPM_BUILD_ROOT 52fi 53 54%files 55%defattr(755,root,root) 56%attr(755,root,root) %{_bindir}/* 57%attr(755,root,root) %{_sbindir}/* 58%{_datadir}/ipmitool/* 59%{_mandir}/man*/* 60%doc %{_datadir}/doc/ipmitool 61 62 63%changelog 64* Wed Feb 25 2009 <pere@hungry.com> 1.8.11-1 65- Fix new GCC compilation issues in regards to Packing 66- Fix Tracker bug #1642710 - ipmi_kcs_drv being loaded/unloaded 67 for 2.4 kernel instead of ipmi_si_drv driver module 68- New -y option added to allow specification of kg keys with 69 non-printable characters 70- New -K option added to allow kgkey settings via environmental 71 variable IPMI_KGKEY 72- Generic device support added for EEPROM with SDR Type 10h (gendev) 73- Fix to lan-bridging for a double-bridging crash and to fix 74 an issue with bridging multiple concurrent requests and 75 erroneous handling of raw Send Message 76- Lanplus fix for commands like 'sensor list' without the -t option 77 causing wrong double bridged requests of a sensor is located 78 on another satellite controller 79- Fix lan and lanplus request list entry removal bugs 80- Fix non-working issue when trying to send a bridge message with 81 Cipher 3 82- Change bridge message handling to reuse command ipmi_lan_poll_recv 83- Added PICMG 2.0 and 2.3 support 84- Fix PICMG (ATCA) extension verification and reversal of BCD encoded 85 values for "major" and "minor" fields 86- Add IANA support for Pigeon Point 87- Add OEM SW/FW Record identification 88- Fix to include I2C and LUN addresses so sensors are correctly managed 89- Patch ID 1990560 to get readings from non-linear analog sensors 90- Add support for SOL payload status command 91- SOL set parameter range checking added 92- Fixed SOL activate options usage 93- Fixed crashes when parsing 'sol payload' and 'tsol' cmds (#216967) 94- Added retries to SOL keepalive 95- Fixed wrong mask values for Front Panel disable/enable status 96- Add support to access fru internal use area 97- Add support for new PICMG 3.0 R3.0 (March 24, 2008) to allow 98 blocks of data within the FRU storage area to be write protected. 99- Fix node reporting in GUID; Tracker bug #2339675 100- Fix watchdog use/action print strings 101- Fix endian bug in SDR add from file; Tracker bug #2075258 102- Fix crash when dumping SDRs in a file and there's an error 103 getting an SDR; improve algorithm for optimal packet size 104- Fix occasional SDR dump segfault; #1793076 105- Allow ipmitool sel delete to accept hex list entry numbers 106- Fix SEL total space reporting. 107- Fix for garbage sensor threshold values reported when none 108 returned. Tracker Bug #863748 109- ipmievd change to Monitor %used in SEL buffer and log warnings when 110 the buffer is 80% and 100% full 111 112* Fri Aug 08 2008 <pere@hungry.com> 1.8.10-1 113 - Added support for BULL IANA number. 114 - Fixed contrib build so the oem_ibm_sel_map file gets included in rpm 115 builds again. 116 - Added support for Debian packages to be built from CVS 117 - Fix for sdr and sel timestamp reporting issues 118 - Fix for discrete sensor state print routines to address state bits 8-14 119 - Change ipmi_chassis_status() to non-static so it can be used externally 120 - Added retries to SOL keepalive 121 - Fix to stop sensor list command from reporting a failure due to missing 122 sensor 123 - Fix bug in sdr free space reporting 124 - Add support for IANA number to vendor name conversion for many vendors 125 - Fix segfault bug in lan set command 126 - Fix bug in population of raw i2c wdata buffer 127 - Fix bug in ipmb sensor reading 128 - Fix misspellings, typos, incorrect strncmp lengths, white space 129 - Update/fix printed help and usages for many commands 130 - Add and update support for all commands in ipmitool man page 131 - Fix for lanplus session re-open when the target becomes unavailable following 132 a fw upgrade activation 133 - Add support for watchdog timer shutoff, reset, and get info 134 - Add support for more ibm systems in oem_ibm_sel_map 135 - Add more JEDEC support info for DIMMs; decrease request size for DIMM FRU 136 info to 16 bytes at a time to allow more DIMM FRUs to respond. 137 - Fix to change hpmfwupg to version 1.02; fix to reduce hpmfwupg buffer 138 length more aggressively when no response from iol 139 - Fix HPM firmware activation via IOL; fake a timeout after IOL session 140 re-open to force get upgrade status retry; Added retries on 0xD3 141 completion code 142 - Add support for freeipmi 0.6.0; adjust autoconf for changes 143 - Fix for oemval2str size 144 - Add support for product name resolution in mc info 145 - Fix FRU display format 146 - Added PICMG ekeying analyzer module support (ekanalyzer); display point 147 to point physical connectivity and power supply information between 148 carriers and AMC modules; display matched results of ekeying match 149 between an on-carrier device and AMC module or between 2 AMC modules 150 - Fix AMC GUID display support 151 - Improved amcportstate operations 152 - Added resolution for new sensor types 153 - Fix segfault in SOL 154 - Fix bug that caused infinite loop on BMCs with empty SDRs 155 - Fix to move out Kontron OEM sensor resolution for other OEMs which could 156 lead to bad event descriptions 157 - Add new FRU edit mode thereby allowing serial numbers, etc. to be changed; 158 improvements to OEM edit mode 159 - Added SPD support for parms: channel number, max read size 160 - Add SDR support for adding SDR records from a dumped file, clearing SDR, 161 adding partial SDR records 162 - Add updates and fixes to hpmfwupg: upload block size to 32 bytes for KCS, 163 handle long response option, implement rollback override, garbage output fix 164 - Add double bridge lan support , fix bridging issue 165 - Add HPM support to pre-check which components need to be skipped 166 - Fix autodetection of maximum packet size when using IPMB 167 - Add new Kontron OEM command to set the BIOS boot option sequence 168 - Add support for dual-bridge/ dual send message 169 - Add auto-detect for local IPMB address using PICMG 2.X extension 170 - Add support for HPM.1 1.0 specification compliance 171 - Fix for improper lan/lanplus addressing 172 - Added transit_channel and transit_addr to ipmi_intf struct 173 - Fix bad password assertion bug due to rakp2 HMAC not being checked properly 174 - Added ability to interpret PPS shelf manager clia sel dump 175 - Corrected PICMG M7 state event definition macros 176 - Added FRU parsing enhancements 177 - Added "isol info", "isol set" and "isol activate" commands to support 178 Intel IPMI v1.5 SOL functionality. Removed "isol setup" command. 179 - Fix bug in ipmi_lan_recv_packet() in lan and lanplus interfaces. 180 - Fix bug in "chassis poh" command. 181 - Fix HPM.1 upgrade to apply to only given component when instructed to do so 182 - Added configure auto-detection if dual bridge extension is supported 183 by OpenIPMI 184 185* Tue Mar 6 2007 <pere@hungry.com> 1.8.9-1 186 - Added initial AMC ekey query operation support 187 - Improvements to ekeying support (PICMG 3.x only) 188 - Added initial interactive edition support for multirec; added IANA 189 verification before interpreting PICMG records. 190 - Added edit support for AMC activation "Maximum Internal Current" 191 - Fix bug generating garbage on the screen when handling GetDeviceId 192 and sol traffic occurs 193 - Added ability to map OEM sensor types to OEM description string using 194 IANA number; moved IANA number table 195 - Fix lan set access command to use value already saved within parameters 196 for PEF and authentication 197 - Fix bug in cmd ipmitool lan stats get 1 198 - Add support to allow ipmitool/ipmievd to target specific device nodes 199 on multi-BMC systems 200 - Add support for name+privilege lookup for lanplus sessions 201 - Fix time_t conversion bug for 64-bit OS 202 - Added prefix of hostname on sel ipmievd sessions 203 - Fixed FWUM Get Info 204 - Fix ipmievd fd closing bug 205 - Add set-in-progress flag support to chassis bootdev 206 - Added new chassis bootdev options 207 - Add sol payload enable/disable comman 208 - Fix SOL set errors when commit-write not supported 209 - Fix reset of session timeout for lanplus interface 210 - Fixed lan interface accessibility timeout handling 211 - Fix bug with Function Get Channel Cipher Suites command when more 212 than 1 page used. 213 - Fix missing firmware firewall top-level command 214 - Fix bug in SOL keepalive functionality 215 - Fix SOLv2 NACK and retry handling for Intel ESB2 BMC 216 - Added ipmi_sel_get_oem_sensor* APIs 217 - Added HPM.1 support 218 - Fix segfault when incorrect oem option supplied 219 - Fix bus problem with spd command 220 - Fix segfault in SOL when remote BMC does not return packet 221 - Adjust packet length for AMC.0 retricting IPMB packets to 32 bytes 222 - Added lan packet size reduction mechanism 223 - Fix bug with sendMessage of bad length with different target 224 - Fix for big endian (PPC) architecture 225 - NetBSD fixes 226 - Fix segfault and channel problem with user priv command 227 - Add support for bus/chan on i2c raw command 228 - Add freeipmi interface support 229 - Add remote spd printing 230 - Add better detection of linux/compiler.h to config 231 - Makefile changes to fix makedistcheck, etc. 232 233* Tue May 02 2006 <duncan@iceblink.org> 1.8.8-1 234 - Fix segfaults in sensor data repository list 235 - Fix ipmievd to open interface before daemonizing 236 - Fix IPMIv1.5 authtype NONE to ignore supplied password 237 - Fix cipher suite display bug in lan print 238 - Fix typo in IPMIv2 SOL output when sending break 239 - Fix improper LUN handling with Tyan SOL 240 - Add LUN support to OpenIPMI interface 241 - Add support for Kontron OEM commands 242 - Update to Kontron Firmware Update command 243 244* Sun Mar 19 2006 <duncan@iceblink.org> 1.8.7-1 245 - Add Sun OEM command for blades 246 - Increase argument size for raw commands in shell/exec 247 - Fix handling of LUNs for LAN interfaces 248 - Add IPMIv2 SOL loopback test 249 - Add support for IBM OEM SEL messages 250 - Disable file paranoia checks on read files by default 251 - Support IPMIv2 SOL on older Intel boxes 252 - Display message and exit if keepalive fails during SOL 253 - Add support for setting VLAN id and priority 254 - Add support for FreeBSD OpenIPMI-compatible driver 255 - Add support for IPMIv2 Firmware Firewall 256 - Fix gcc4 compile warnings 257 - Make ipmievd generate pidfile 258 - Add initscripts for ipmievd 259 260* Mon Jan 17 2006 <duncan@iceblink.org> 1.8.6-1 261 - Fix memory corruption when sending encrypted SOL traffic 262 - Add keepalive timer to IPMIv2 SOL sessions 263 264* Sat Jan 14 2006 <duncan@iceblink.org> 1.8.5-1 265 - Raise privilege level after creating IPMIv2 session 266 - Add support for settable SOL escape character with -e option 267 - Add support for Kg BMC key for IPMIv2 authentication with -k option 268 - Add support for Tyan IPMIv1.5 SOL with tsol command 269 - Add support for PICMG devices 270 - Add support for OEM SEL event parsing 271 - Add support for command bridging over lan and lanplus interfaces 272 - New 'chassis selftest' command 273 - Many bufxies and patches from contributors 274 275* Wed May 18 2005 <duncan@iceblink.org> 1.8.2-1 276 - Fix FRU reading for large (>255 bytes) areas. 277 - Overhaul to ipmievd to support SEL polling in addition to OpenIPMI. 278 - Fix LAN parameter segfault when no Ciphers supported by BMC. 279 - Fix IPMIv2 support on Intel v2 BMCs (use -o intelplus). 280 - Separate option parsing code from main ipmitool source file. 281 - Add raw I2C support with IPMI Master Read-Write command. 282 - Add support for new 'sdr elist' extended output format. 283 - Add support for listing sensors by type with 'sdr type' command. 284 - Add support for new 'sel elist' extended output format that 285 cross-references events with sensors. 286 - Add support for sending dynamically generated platform events 287 based on existing sensor information. 288 - New '-S' argument to read local SDR cache created with 'sdr dump'. 289 - Updated manpage for ipmitool and ipmievd. 290 291* Wed Apr 06 2005 <duncan@iceblink.org> 1.8.1-1 292 - Install ipmievd into /usr/sbin 293 294* Wed Mar 16 2005 <duncan@iceblink.org> 1.8.0-1 295 - Fix IPMIv2.0 issues 296 - Fix chassis boot parameter support 297 - Add support for linear sensors 298 - Update bmc plugin to work with new Solaris bmc driver (new ioctl 299 for interface detection and new STREAMS message-based interface) 300 301* Tue Jan 18 2005 <duncan@iceblink.org> 1.7.0-1 302 - Propogate errors correctly so exit status will be useful 303 - More consistent display of errors including completion code text 304 - Errors and debug is send to stderr now 305 - New "sel get" command that will print details about SEL entry 306 and corresponding SDR records as well as FRUs via entity association 307 - Improved event generator, now supports reading events from text file 308 - New "-o oemtype" option for specifying OEM boards 309 exsting types are "supermicro" and "intelwv2" 310 - New PEF subsystem from Tim Murphy at Dell 311 - New "bmc" plugin for Solaris 10 x86 312 - Many bugfixes and contributed patches 313 - Support for Supermicro BMC OEM authentication method 314 - Fix minor problem with LAN parameter setting 315 316* Wed Aug 18 2004 <duncan@iceblink.org> 1.6.0-1 317 - Add a README 318 - Add support for IPMIv2 and Serial-over-LAN from Newisys 319 - Add Solaris x86 lipmi interface 320 - Add support for building Solaris packages 321 - Add support for building RPMs as non-root user 322 - Fix segfault when doing "sel list" (from Matthew Braithwaite) 323 - Fix "chassis identify" on some BMCs (from ebrower@sourceforge) 324 - Add "bmc info" and related output (from ebrower@sourceforge) 325 - new "shell" and "exec" commands 326 - lots of other contributed patches 327 328* Sat May 27 2004 <duncan@iceblink.org> 1.5.9-1 329 - Add ability to get a particular sensor by name 330 - Add ability to set a particular sensor threshold 331 - Add support for displaying V2 channel authentication levels 332 - Add README for rrdtool scripts in contrib directory 333 - Improve lan interface retry handling 334 - Support prompting for password or reading from environment 335 - Move chaninfo command into channel subcommand 336 - Fix reservation ID handling when two sessions open to BMC 337 - Fix reading of large FRU data 338 - Add configure option for changing binary to ipmiadm for Solaris 339 - Fix compile problem on Solaris 8 340 341* Tue Jan 27 2004 <duncan@iceblink.org> 1.5.8-1 342 - Enable static compilation of interfaces 343 - Fix types to be 64-bit safe 344 - Fix compilation problems on Solaris 345 - Fix multiple big-endian problems for Solaris/SPARC 346 - Fix channel access to save settings to NVRAM 347 - Set channel privilege limit to ADMIN during "access on" 348 - Enable gratuitous ARP in bmcautoconf.sh 349 - Add support for Linux kernel panic messages in SEL output 350 - Add support for type 3 SDR records 351 352* Mon Jan 5 2004 <duncan@iceblink.org> 1.5.7-1 353 - add IPMIv1.5 eratta fixes 354 - additions to FRU printing and FRU multirecords 355 - better handling of SDR printing 356 - contrib scripts for creating rrdtool graphs 357 358* Thu Dec 4 2003 <duncan@iceblink.org> 1.5.6-1 359 - Fix SEL event decoding for generic events 360 - Handle empty SEL gracefully when doing "sel list" 361 - Fix sdr handling of sensors that do not return a reading 362 - Fix for CSV display of sensor readings/units from Fredrik �hrn 363 364* Tue Nov 25 2003 <duncan@iceblink.org> 1.5.5-1 365 - Add -U option for setting LAN username 366 - Fix -v usage for plugin interfaces 367 368* Fri Nov 14 2003 <duncan@iceblink.org> 1.5.4-1 369 - pull interface plugin api into library 370 - fix ipmievd 371 372* Fri Oct 31 2003 <duncan@iceblink.org> 1.5.3-1 373 - add -g optin for pedantic ipmi-over-lan communication 374 375* Fri Oct 24 2003 <duncan@iceblink.org> 1.5.2-1 376 - add gratuitous arp interval setting 377 378* Wed Oct 8 2003 <duncan@iceblink.org> 1.5.1-1 379 - better SEL support 380 - fix display bug in SDR list 381 382* Fri Sep 5 2003 <duncan@iceblink.org> 1.5.0-1 383 - use automake/autoconf/libtool 384 - dynamic loading interface plugins 385 386* Wed May 28 2003 <duncan@iceblink.org> 1.4.0-1 387 - make UDP packet handling more robust 388 - fix imb driver support 389 390* Thu May 22 2003 <duncan@iceblink.org> 1.3-1 391 - update manpage 392 - rework of low-level network handling 393 - add basic imb driver support 394 395* Wed Apr 2 2003 <duncan@iceblink.org> 1.2-1 396 - change command line option parsing 397 - support for more chassis commands 398 399* Tue Apr 1 2003 <duncan@iceblink.org> 1.1-1 400 - minor fixes. 401 402* Sun Mar 30 2003 <duncan@iceblink.org> 1.0-1 403 - Initial release. 404 405