1204 Commits

Author SHA1 Message Date
Jean-Michel Audet
b3d5558a40 -Fixed lanplus session re-open when the target becomes unavailable following a fw upgrade activation.
----------------------------------------------------------------------
2008-06-10 17:29:09 +00:00
Carol Hebert
5cf45e711e Update man page with all the latest functionality changes 2008-06-02 03:24:00 +00:00
Carol Hebert
3c94523f11 Support for watchdog timer shutoff, reset, and get info 2008-05-06 21:30:20 +00:00
Carol Hebert
b3563716bd Prudishly fixing comment 2008-05-06 21:09:23 +00:00
Carol Hebert
1aeaa97475 Adding new IBM OEM SEL messages 2008-05-06 20:58:26 +00:00
Carol Hebert
4dcfe6d6c8 Decrease request size for DIMM FRU info to 16 bytes at a time; add more JEDEC info 2008-02-09 01:23:20 +00:00
Francois Isabelle
3be848a82a - Reduce buffer length more aggressively when no response from iol.
- Incremented version to 1.02
2008-01-25 18:45:15 +00:00
Francois Isabelle
513dabb395 Fixed HPM firmware activation via IOL
Fake a timeout after IOL session re-open to force get upgrade status retry
 Added retries on 0xD3 completion code
Added a provision for sub minor version, incremented to 1.0.1
2008-01-07 16:12:38 +00:00
Albert Chu
6a269e5741 freeipmi 0.6.0 support added;adjust autoconf as needed for changes 2008-01-05 17:50:46 +00:00
Francois Isabelle
d9e561a4cf cleanup (whitespace mess) 2007-12-14 20:57:40 +00:00
Francois Isabelle
6e4a63bdfe fixed type for oemval2str (shouldn't be 16 bits for a 24 bits iana ..) 2007-12-14 20:56:53 +00:00
Francois Isabelle
8aad659697 added product name resolution in 'mc info' 2007-12-14 20:34:56 +00:00
Francois Isabelle
c306d08d7e fixed display format (suppressed TAB from formatted output) 2007-12-14 19:30:12 +00:00
Francois Isabelle
0b9f0d6a35 Added ekanalyzer command line support (PICMG ekeying analyzer module)
-Display point to point physical connectivity between carriers and AMC
 modules
-Display power supply informations between carrier and AMC modules.
-Display only matched results of Ekeying match between an On-Carrier device
and an AMC module or between 2 AMC modules.

Based on binary fru files supplied as parameter
See the updated manpage for details
2007-12-14 19:29:03 +00:00
Francois Isabelle
e6f0e459dd Fixed HPM firmware activation via IOL.
- try to open a new session until activation timeout is reached before
   reporting and error
2007-12-14 19:24:14 +00:00
Francois Isabelle
5e455132c1 small change in amcsetportstate help and verbose mode
- port is now 'portflags' to avoid confusion
2007-12-12 20:25:08 +00:00
Francois Isabelle
107257210d "Untabified" picmg record formatted output strings
Fixed AMC GUID display support (position in buffer was not updated before
entering the loop)
2007-12-12 19:56:51 +00:00
Francois Isabelle
a654ca2683 improved amcportstate operations
- can now run on AMCs as well as carriers
 - output format is more human readable
thanks to Heiko Thiery for his patch
2007-12-12 15:03:17 +00:00
Francois Isabelle
431421c6ff Merged Tim Bell's patch for IANA numbers to vendor name conversion 2007-12-10 21:15:08 +00:00
Francois Isabelle
027fc1139c added resolution of new sensor types 2007-11-07 16:41:44 +00:00
Francois Isabelle
7e9cd85e8d Added null check in to avoid segfault 2007-11-07 16:15:32 +00:00
Francois Isabelle
e8ad5be7fb This patch fixes an infinite loop that was observed with a BMC that has an empty SDR.
- Dan Aloni
2007-11-07 16:00:25 +00:00
Francois Isabelle
86c4e40277 Moved out 'kontron' OEM sensor resolution for other OEMs which could
lead to bad event descriptions
Changed LOG_ERR to LOG_DEBUG and corrected display
2007-11-07 15:55:08 +00:00
Francois Isabelle
b0c04f8577 Added new 'FRU edit' mode (field mode)
fru edit [fruid] field [section] [index] [string]\
This can be used to change serial number information and such, use with care

Cleanup/improved 'oem' edit mode :
 - defaults to PICMG for backward compatibily
 - validates that 'oem' is followed by a 'iana' number

Attempted 'tabify' while integrating patch, hope the indentation will be ok
for others.
2007-10-03 16:09:45 +00:00
Francois Isabelle
8824e41b48 moved out extra ] 2007-10-03 15:51:12 +00:00
Francois Isabelle
270a50c8c5 added missing 'iana' field in FRU edit help 2007-10-03 15:50:22 +00:00
Francois Isabelle
8df490955c Added FRU 'edit' help text for supported modes 2007-10-03 15:20:51 +00:00
Francois Isabelle
de63f9a9d5 added 'fru edit' help text 2007-10-01 14:14:24 +00:00
Francois Isabelle
170c14560c Added new 'fru edit 0' operating mode for OEM records
usage is : oem <iana> <recordid> <format> <args...>
 it currently only supports Kontron's OEM information record type 3
 but can be used to support additionnal record types
2007-10-01 14:06:18 +00:00
Francois Isabelle
d3badb58b2 added 'PICMG' iana number to string conversion support 2007-10-01 13:59:00 +00:00
Francois Isabelle
db735bf685 SPD support:
added additionnal parameters to allow specifying 'channel number' as well
 as maximum 'read size', since some SMI or IPMB channels can't support 64
 bytes.
 this should be fully backward compatible as options are optionnal and a the
 end of the original ones:
    usage: spd <i2cbus> <i2caddr> [channel] [maxread]
2007-09-14 19:50:14 +00:00
Albert Chu
7959b894b4 add freeipmi lib 0.5.0 support 2007-09-12 23:35:14 +00:00
Dmitry Frolov
71a6dde3f8 - Removed --disable-intf-open-dual-bridge configure option added
recently;
 - Added configure auto-detection if dual bridge support is present in
   OpenIPMI header.
2007-08-29 14:50:13 +00:00
Dmitry Frolov
8954fe454b Fix HPM.1 upgrade to apply to only given component when instructed to do so.
Patch submitted by Harshad Prabhu (Harshad.Prabhu at radisys dot com).
Quoting his email:

"Initiate Upgrade Action (HPMFWUPG_UPGRADE_ACTION_UPGRADE) was called
for all components even when single component was given on command line
(hpm upgrade <filename> component <id>). So calling this command only
after we decide whether the component is skipped."
2007-08-29 06:03:23 +00:00
Dmitry Frolov
56adf15b23 Add RadiSys Corporation OEM description string 2007-08-29 05:52:16 +00:00
Dmitry Frolov
ab18a0e335 Added --disable-intf-open-dual-bridge configure option to disable dual
bridge support in open interface. This extension is not compatible with
FreeBSD OpenIPMI implementation (and with mainline OpenIPMI too, as far
as I can tell).
2007-08-28 09:44:31 +00:00
Dmitry Frolov
997ca1fa4d Update with latest changes 2007-08-28 07:16:30 +00:00
Dmitry Frolov
b06f6bdbb5 Fix chassis poh command:
- The counter value was always interpreted as hours, the
   minutes-per-count value wasn't regarded.

 - No attention was paid to CPU endianness when reading the 32-bit
   counter value.

Patch submitted by Ingo van Lil (inguin at users dot sourceforge dot net).
Sourceforge patch ID: 1592950
2007-08-28 07:12:13 +00:00
Dmitry Frolov
798228cb72 Correct the misplaced recv in ipmi_lan_recv_packet() in lan and lanplus
interfaces.

Patch is submitted by Ferenc Wagner (wferi at niif dot hu). Quoting his
email:

"The rationale is that the following code expects to use the return
value of recv (ie. a byte count) not that of select (the number of file
descriptors). recv should be executed anyway, that's the whole point of
this snippet..."

The original patch is for lan interface but it also applies to lanplus.
2007-08-28 06:16:14 +00:00
Dmitry Frolov
a022f1e792 Update manpage with latest isol functionality. 2007-08-28 05:49:50 +00:00
Dmitry Frolov
a6e1840e4f Add true "isol" (Intel IPMI 1.5 SOL) functionality, which gives
"isol activate" command.

Patch submitted by Steffen Persvold (sp at scali dot com). Quoting his
email:

"The second patch (ipmitool_isol.patch) is a little more interesting. It
is basically an implementation of true SOL functionality for the "isol"
command on IPMI 1.5. This allows people with Intel based 1.5 controllers
that have the Intel specific SOL implementation (which is close to the
2.0 spec but not quite there) to use the "isol activate" command. This
applies to Dell 1850, 1855, 2850 and sc1425 servers at least (probably
more, but that's what I've tested). There is quite some code duplication
from the lanplus sol version, so at some point "someone" might do some
refactoring and merge the two (only separating what's different) but for
now I thought it was cleanest to do it this way."
2007-08-28 04:35:22 +00:00
Dmitry Frolov
86364dec74 Correct IMPI -> IPMI typos all over the source tree.
Patch submitted by Steffen Persvold (sp at scali dot com).
2007-08-28 03:54:12 +00:00
Jean-Michel Audet
61318c0158 - Add more details for command chassis set boot params 2007-07-27 14:14:22 +00:00
Jean-Michel Audet
14004d0749 Hello,
Patch submitted by Benoit Guillon [guillon@thalescomputers.fr] 

The patch allows you to fill the SDR repository of a BMC with the built-in 
sensor SDRs of the BMC and of the sensors of the satellite FRUs.

- adding new (partial) SDRs
- clearing the SDR repository (ok, it can be dangerous)
- adding SDRs from a dumped file.

Re.:

ipmitool sdr fill sensors
ipmitool sdr fill file <filename>
2007-07-11 14:27:46 +00:00
Jean-Michel Audet
ec9cddc21a - The length of the Upload Firmware Block command is shrunk to conform
to the IPMI-defined maximum for non-bridged messages (32 bytes) when 
sent via KCS interface.

- Double bridging via LAN is taken into account when calculating the 
maximum Upload Firmware Block command length.

- Handling of the long response option of the Upload Firmware Block 
command is implemented.

- The Component parameter of the Finish Firmware Upload command is 
changed from component mask to component ID to conform to the HPM.1 
specification.

- The Rollback Override parameter of the Activate Firmware command is 
implemented. The hpm activate command-line parameter is extended with 
optional  "norollback" parameter.

- A bug that prevented from usage of multiple components in a single 
upgrade image is fixed.

- Garbage in output of the component's description property is eliminated.
2007-07-11 14:03:56 +00:00
Jean-Michel Audet
cedb32d569 - Add double bridge support to LAN plugin (Thanks to Dmitry Konyshev from Pigeon Point)
- Fix an issue when bridging, responses to failed Send Message commands are
  returned to the caller as responses to bridged messages.
2007-07-09 20:10:25 +00:00
Jean-Michel Audet
9a508d1f19 ** Commit patch submitted by Harshad Prabhu from Radisys **
- Modified the display of upgrading firmware
- By default, if the user has not given any option for upgradem tgeb we skip the components if they have the same firmware version as compared to the image file (.hpm)
- Added a HpmPreupgradeCheck function that will check which components needs to be skipped

Tested OK with Kontron products (patch does not brake previous state)
2007-07-09 19:59:22 +00:00
Jean-Michel Audet
f6cb3516b3 - Remove ipmi_watchdog.c in the compilation modules
-- watchdog module have been refused by the ipmitool developpers --
2007-07-09 19:19:49 +00:00
Jean-Michel Audet
fa7a690e26 - Remove watchdog module file.
-- Module refuse by ipmitool developpers --
2007-07-09 19:18:14 +00:00
Jean-Michel Audet
5f018c9516 Remove all watchdog module
-- Module refuse by ipmitool developpers --
2007-07-09 19:16:05 +00:00