| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
The intent is to zero the byte that no longer contains valid data (because the
data was shifted one byte to the left). However, the wrong byte is being zeroed.
One way this shows up is when displaying the descriptions with hpm compprop.
|
|
|
|
|
|
|
| |
Add OS/Hypervisor installation status event types to SEL as noted in table-24 in
section 42.2.
Commit-for: Charles Rose
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
``I had submitted a patch back on Nov 19, 2013 regarding a fix to lanplus retry.
This had resolved a problem whereby a retry of a payload type of
IPMI_PAYLOAD_TYPE_IPMI first removed the request from the queue before going
back for a retry of the message. I have been able to determine why this fix
works correctly. More importantly I have been able to resolve other retry
problems in lanplus where assertion panics were hitting on certain retry
operations. A new, replacement patch for resolving both of these types of retry
bugs follows.
The first bug,where the ipmi_lanplus_send_payload() is sending a payload type of
IPMI_PAYLOAD_TYPE_IPMI is retryable, however I found in testing that it did not
remove the previous request entry from the list of requests chain. If the
original message had timed out, a second message sent, the second reply would
not match up to the right entry on the list as the req command and sequence
numbers are the same. By first removing the first request from the chain this
resolves it. The consequence of not removing the stale entry was random errors.
The second bug is when waiting for a message response times out during the
ipmi_lanplus_send_payload types IPMI_PAYLOAD_TYPE(s) RCMP_OPEN_REQUEST, RAKP1,
RAKP_3. In various testing where the message timed out on either of these three
payload types, ipmitool would assertion panic upon retry as the session_state
was wrong. The timeout could be due to the message never getting to the BMC, the
BMC never acting/responding to the message, or the reply message packet dropped
(it is UDP after all). If the BMC had acted on the message but the reply was not
received, the BMC state would had advanced, and a retry of any of these three
commands would error. It is not knowable at retry time if the BMC had acted on
the message or not. The solution is upon message timeout failure, retry all
three commands in the sequence. This has shown to be reliable and does not
result in assertions or any unexpected BMC behaviors. Should the original
message response eventually arrive very late, it is just discarded.
The testing for these problems was elusive until we found a moderately slow BMC
and had separate sessions direct a fusillade of nmap operations on the BMC, then
run simple ipmitool commands. This caused sufficient loading of the network and
BMC to cause lengthy delays and outright packet drops. The general approach on
the second fix is to return a timeout error code back through ipmi_lanplus_open
where the sequence can be retried.''
Patch-by: Pat Donlin
|
|
|
|
|
|
|
|
| |
Currently if we are connected to ipmitool sol session and if service processor
goes down due to reset/reload, then user has no way to know that sol session has
been disconnected. Commit aims to fix such case.
Patch-by: Mamatha Inamdar
|
|
|
|
|
|
| |
Don't print-out SEL log entry if SEL Record ID isn't present.
Patch-by: Mamatha Inamdar
|
|
|
|
|
|
|
|
| |
Commit replaces size decoding code with code ported from "decode-dimms" Perl
script found in i2c-tools 3.0.3. Former code has reported incorrect size of DDR2
modules.
Patch-by: Alexander Amelkin
|
| |
|
|
|
|
|
|
|
| |
The variable addr is used uninitialized on line 918 of ipmi_main(). Commit
ensures it is initialized to 0 before being used.
Reported-by: NUXI
|
| |
|
|
|
|
| |
ipmitool directory.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
required kernel support.
|
|
|
|
| |
platforms supporting it. Fixes build problem on Hurd and FreeBSD.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
<URL: http://sourceforge.net/p/ipmitool/wiki/coding_standards/ >.
|
| |
|
| |
|
|
|
|
| |
type data (Coverity CID 1149052).
|
|
|
|
| |
1148983).
|
| |
|
|
|
|
| |
Commit fixes use of uninitialized variable in SOL "looptest".
|
|
|
|
| |
ipmi_sol_payload_access() - change formatting and simplify.
|
|
|
|
|
| |
Commit adds memory ECC error display for Supermicro boards and adds a
Supermicro oem sensor type for SEL.
|
|
|
|
| |
Commit adds ipmi_get_oem_id() function.
|
|
|
|
| |
Clean up code formatting in ipmi_sol_main().
|
|
|
|
|
|
|
|
|
|
| |
If we have to retry an open session request, we hit an assert
that assumes we can only be in LANPLUS_STATE_PRESESSION state.
Add LANPLUS_STATE_OPEN_SESSION_SENT so we don't abort if
we retry.
Commit for Anton Blanchard
|
|
|
|
|
|
|
|
| |
If ipmi_lanplus_send_payload fails we get a NULL pointer
returned. Error out straight away instead of continuing on
and getting a SEGV when we dereference rsp.
Commit for Anton Blanchard
|
|
|
|
|
|
|
|
| |
Check the return code of ipmi_main_intf->open(), and take the
error path if it fails. Right now we continue on blindly which
results in a SEGV.
Commit for Anton Blanchard
|
|
|
|
|
|
|
| |
A recent IPv6 patch broke IPv4 connections. Fix the incorrect
conditional to get it going again.
Commit for Anton Blanchard
|
| |
|
|
|
|
| |
there is no ticket/ticket number missing and no code review.
|
| |
|
|
|
|
|
|
| |
Author: Holger Liebig
Deduplicated socket connection shared among lan and lanplus.
Allows IPv6 address and tries to pick correct scope ID.
|
|
|
|
| |
Correct sysconfig defaults in comment. Systemd dependencies.
|
|
|
|
| |
Add service, systemd unit, sysconfig in contrib
|
|
|
|
| |
Commit changes to 'include/ipmitool/ipmi_fwum.h'.
|
|
|
|
| |
Move 'struct' and 'enum' into header file
|
|
|
|
|
|
|
|
| |
Replace tKFWUM_Status with int
Commit replaces tKFWUM_Status with int. tKFWUM_Status is all nice and neat, but
if int can do, why would you use something that makes your lines unnecessarily
longer?
|
|
|
|
|
|
| |
Remove keyword 'static'
Commit removes ``static'' as I see no point, no point at all to have it here.
|
|
|
|
| |
Rename saveFirmwareInfo -> save_fw_nfo
|
|
|
|
|
|
|
| |
File name is no longer ``uchar *'' - remove casts
File name is no longer ``unsigned char *'', therefore remove pointless casts to
``char *''.
|