History log of /openbmc/ipmitool/src/ (Results 26 – 43 of 43)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8227384c09-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

ID: 355 - Fix compiler warnings for Dummy Interface

Commit fixes compiler warnings for Dummy Interface:
* fix variable name
* remove unused variables

c076fde030-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Fix file descriptor leak in ipmi_exec_main() - CID#1149040

48117f5d30-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:355 - Fix ``ISO C forbids omitting the middle term of a ?: expression''

Commit fixes omitted middle terms of ternary expressions.

70984dca29-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:355 - Fix ``obsolete use of designated initializer with ‘:’'' warning

Commit fixes compiler warning ``obsolete use of designated initializer with
‘:’''. Use of ``fieldname: value'' has been obsol

ID:355 - Fix ``obsolete use of designated initializer with ‘:’'' warning

Commit fixes compiler warning ``obsolete use of designated initializer with
‘:’''. Use of ``fieldname: value'' has been obsolete since GCC 2.5.

show more ...

ce02ffaf23-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:354 - forcefully switch to C99 and more strict CFLAGS

Commit changes CFLAGS which include C99 and more strict flags. Watch out for
falling rocks.

6ca88cb623-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:354 - replace/drop caddr_t in IMB

Commit replaces caddr_t in IMB driver with char *. This is a wild guess
replacement, because caddr_t doesn't have to be char *. However, it shouldn't be
used and

ID:354 - replace/drop caddr_t in IMB

Commit replaces caddr_t in IMB driver with char *. This is a wild guess
replacement, because caddr_t doesn't have to be char *. However, it shouldn't be
used and so shouldn't mmap(). So we'll have to see how things work out.

http://computer-programming-forum.com/47-c-language/556a90938d01f023.htm

show more ...

6d4e2bb623-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:354 - Replace obsolete u_int[0-9]+_t with standardized types in Free iface

d9f89a8d22-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Fix of previous commit - memset() expects pointer

Commit fixes replacement of bzero() with memset(). memset() expects pointer and
pointer should be given to it.

0a1f5c0322-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Replace deprecated bzero() with memset()

Commit replaces deprecated bzero() with memset().

f56d740d29-Nov-2014 Zdenek Styblik <stybla@turnovfree.net>

ID: 307 - Intel I82751 super pass through mode fixup

The patch adds missing check for the Intel i82751 MAC being in the super
pass-through mode, which has known deviations in RMCP+ from the IPMI
spe

ID: 307 - Intel I82751 super pass through mode fixup

The patch adds missing check for the Intel i82751 MAC being in the super
pass-through mode, which has known deviations in RMCP+ from the IPMI
specification.

show more ...

deb9a4ed17-Oct-2014 Zdenek Styblik <stybla@turnovfree.net>

ID#277 - support for hostnames longer than 64 chars

ID#313 ipmitool doesn't support hostname long than 64 symbols
ID#277 Minor issue with ipmi_intf_session_set_hostname()

Commit adds support pretty

ID#277 - support for hostnames longer than 64 chars

ID#313 ipmitool doesn't support hostname long than 64 symbols
ID#277 Minor issue with ipmi_intf_session_set_hostname()

Commit adds support pretty much for FQDN not just up to the length of one label.
This is achieved by change in in struct ipmi_session; and strdup() of user
input. Of course, we have to free() this once we're done.

show more ...

f49c9eec03-Sep-2014 Parthasarathy Bhuvaragan <parthasarathy.xx.bhuvaragan@ericsson.com>

print message header and data in verbose print

Change-Id: I613e35e180c815279d2a50f44956a5ed5bf5461b
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.xx.bhuvaragan@ericsson.com>

a6f34c9003-Sep-2014 Parthasarathy Bhuvaragan <parthasarathy.xx.bhuvaragan@ericsson.com>

fix incorrect data validation

Change-Id: I6c277b4716445e8ae9a6851cca48e1ad95df49b4
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.xx.bhuvaragan@ericsson.com>

4f09677725-Apr-2014 Zdenek Styblik <stybla@turnovfree.net>

ID: 310 - lanplus retry regression

The lanplus driver for has a bug in ipmi_lanplus_open_session(). There is
an extra and undesired check for a null response (timeout). As a result, it
returns 1 to

ID: 310 - lanplus retry regression

The lanplus driver for has a bug in ipmi_lanplus_open_session(). There is
an extra and undesired check for a null response (timeout). As a result, it
returns 1 to the caller. The result of this is an occasional assertion. Commit
mends this.

Commit for Pat Donlin

show more ...

23e9340b08-Apr-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:302 - HPM.2 long message support

This patch adds basic long message support for PICMG-based systems according to
the HPM.2 specification.
It also introduces APIs for setting inbound and outbound

ID:302 - HPM.2 long message support

This patch adds basic long message support for PICMG-based systems according to
the HPM.2 specification.
It also introduces APIs for setting inbound and outbound messages sizes per
selected interface.
This APIs are used in LAN and LAN+ interfaces to set autonomously detected
inbound and outbound message sizes.
The newly introduced APIs also replace the existing message size detection code
in several ipmitool commands in order to leverage the advantages of long message
support (HPM.1 upgrade, SDR acquring, FRU inventory read and write).
The Kontron-specific long message support is moved under a OEM option.

Commit for Dmitry Bazhenov

show more ...

2c7a5f9127-Mar-2014 Zdenek Styblik <stybla@turnovfree.net>

ID: 299 - openipmi plugin writes zero to wrong byte

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

ID: 299 - openipmi plugin writes zero to wrong byte

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.

show more ...

176774cf23-Mar-2014 Zdenek Styblik <stybla@turnovfree.net>

ID: 298 - fix LANplus retry

``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 f

ID: 298 - fix LANplus retry

``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

show more ...

c18ec02f05-Feb-2014 Petter Reinholdtsen <pere@hungry.com>

Move all files one level up in the file hierarcy, to avoid the useless ipmitool directory.


/openbmc/ipmitool/AUTHORS
/openbmc/ipmitool/COPYING
/openbmc/ipmitool/ChangeLog
/openbmc/ipmitool/Makefile.am
/openbmc/ipmitool/README
/openbmc/ipmitool/bootstrap
/openbmc/ipmitool/configure.in
/openbmc/ipmitool/contrib/Makefile.am
/openbmc/ipmitool/contrib/README
/openbmc/ipmitool/contrib/bmc-snmp-proxy
/openbmc/ipmitool/contrib/bmc-snmp-proxy.service
/openbmc/ipmitool/contrib/bmc-snmp-proxy.sysconf
/openbmc/ipmitool/contrib/bmclanconf
/openbmc/ipmitool/contrib/collect_data.sh
/openbmc/ipmitool/contrib/create_rrds.sh
/openbmc/ipmitool/contrib/create_webpage.sh
/openbmc/ipmitool/contrib/create_webpage_compact.sh
/openbmc/ipmitool/contrib/exchange-bmc-os-info.init.redhat
/openbmc/ipmitool/contrib/exchange-bmc-os-info.service.redhat
/openbmc/ipmitool/contrib/exchange-bmc-os-info.sysconf
/openbmc/ipmitool/contrib/ipmi.init.basic
/openbmc/ipmitool/contrib/ipmi.init.redhat
/openbmc/ipmitool/contrib/ipmievd.init.debian
/openbmc/ipmitool/contrib/ipmievd.init.redhat
/openbmc/ipmitool/contrib/ipmievd.init.suse
/openbmc/ipmitool/contrib/oem_ibm_sel_map
/openbmc/ipmitool/control/Makefile.am
/openbmc/ipmitool/control/ipmitool.spec.in
/openbmc/ipmitool/control/pkginfo.in
/openbmc/ipmitool/control/prototype.in
/openbmc/ipmitool/control/rpmmacros.in
/openbmc/ipmitool/control/rpmrc
/openbmc/ipmitool/debian/README.Debian
/openbmc/ipmitool/debian/changelog
/openbmc/ipmitool/debian/control
/openbmc/ipmitool/debian/copyright
/openbmc/ipmitool/debian/dirs
/openbmc/ipmitool/debian/docs
/openbmc/ipmitool/debian/ipmitool.ipmievd.init
/openbmc/ipmitool/debian/rules
/openbmc/ipmitool/debian/watch
/openbmc/ipmitool/doc/Makefile.am
/openbmc/ipmitool/doc/ipmievd.8
/openbmc/ipmitool/doc/ipmitool.1
/openbmc/ipmitool/include/Makefile.am
/openbmc/ipmitool/include/ipmitool/Makefile.am
/openbmc/ipmitool/include/ipmitool/bswap.h
/openbmc/ipmitool/include/ipmitool/helper.h
/openbmc/ipmitool/include/ipmitool/ipmi.h
/openbmc/ipmitool/include/ipmitool/ipmi_cc.h
/openbmc/ipmitool/include/ipmitool/ipmi_channel.h
/openbmc/ipmitool/include/ipmitool/ipmi_chassis.h
/openbmc/ipmitool/include/ipmitool/ipmi_constants.h
/openbmc/ipmitool/include/ipmitool/ipmi_dcmi.h
/openbmc/ipmitool/include/ipmitool/ipmi_delloem.h
/openbmc/ipmitool/include/ipmitool/ipmi_ekanalyzer.h
/openbmc/ipmitool/include/ipmitool/ipmi_entity.h
/openbmc/ipmitool/include/ipmitool/ipmi_event.h
/openbmc/ipmitool/include/ipmitool/ipmi_firewall.h
/openbmc/ipmitool/include/ipmitool/ipmi_fru.h
/openbmc/ipmitool/include/ipmitool/ipmi_fwum.h
/openbmc/ipmitool/include/ipmitool/ipmi_gendev.h
/openbmc/ipmitool/include/ipmitool/ipmi_hpmfwupg.h
/openbmc/ipmitool/include/ipmitool/ipmi_ime.h
/openbmc/ipmitool/include/ipmitool/ipmi_intf.h
/openbmc/ipmitool/include/ipmitool/ipmi_isol.h
/openbmc/ipmitool/include/ipmitool/ipmi_kontronoem.h
/openbmc/ipmitool/include/ipmitool/ipmi_lanp.h
/openbmc/ipmitool/include/ipmitool/ipmi_main.h
/openbmc/ipmitool/include/ipmitool/ipmi_mc.h
/openbmc/ipmitool/include/ipmitool/ipmi_oem.h
/openbmc/ipmitool/include/ipmitool/ipmi_pef.h
/openbmc/ipmitool/include/ipmitool/ipmi_picmg.h
/openbmc/ipmitool/include/ipmitool/ipmi_raw.h
/openbmc/ipmitool/include/ipmitool/ipmi_sdr.h
/openbmc/ipmitool/include/ipmitool/ipmi_sdradd.h
/openbmc/ipmitool/include/ipmitool/ipmi_sel.h
/openbmc/ipmitool/include/ipmitool/ipmi_sensor.h
/openbmc/ipmitool/include/ipmitool/ipmi_session.h
/openbmc/ipmitool/include/ipmitool/ipmi_sol.h
/openbmc/ipmitool/include/ipmitool/ipmi_strings.h
/openbmc/ipmitool/include/ipmitool/ipmi_sunoem.h
/openbmc/ipmitool/include/ipmitool/ipmi_tsol.h
/openbmc/ipmitool/include/ipmitool/ipmi_user.h
/openbmc/ipmitool/include/ipmitool/log.h
/openbmc/ipmitool/lib/Makefile.am
/openbmc/ipmitool/lib/dimm_spd.c
/openbmc/ipmitool/lib/helper.c
/openbmc/ipmitool/lib/ipmi_channel.c
/openbmc/ipmitool/lib/ipmi_chassis.c
/openbmc/ipmitool/lib/ipmi_dcmi.c
/openbmc/ipmitool/lib/ipmi_delloem.c
/openbmc/ipmitool/lib/ipmi_ekanalyzer.c
/openbmc/ipmitool/lib/ipmi_event.c
/openbmc/ipmitool/lib/ipmi_firewall.c
/openbmc/ipmitool/lib/ipmi_fru.c
/openbmc/ipmitool/lib/ipmi_fwum.c
/openbmc/ipmitool/lib/ipmi_gendev.c
/openbmc/ipmitool/lib/ipmi_hpmfwupg.c
/openbmc/ipmitool/lib/ipmi_ime.c
/openbmc/ipmitool/lib/ipmi_isol.c
/openbmc/ipmitool/lib/ipmi_kontronoem.c
/openbmc/ipmitool/lib/ipmi_lanp.c
/openbmc/ipmitool/lib/ipmi_main.c
/openbmc/ipmitool/lib/ipmi_mc.c
/openbmc/ipmitool/lib/ipmi_oem.c
/openbmc/ipmitool/lib/ipmi_pef.c
/openbmc/ipmitool/lib/ipmi_picmg.c
/openbmc/ipmitool/lib/ipmi_raw.c
/openbmc/ipmitool/lib/ipmi_sdr.c
/openbmc/ipmitool/lib/ipmi_sdradd.c
/openbmc/ipmitool/lib/ipmi_sel.c
/openbmc/ipmitool/lib/ipmi_sensor.c
/openbmc/ipmitool/lib/ipmi_session.c
/openbmc/ipmitool/lib/ipmi_sol.c
/openbmc/ipmitool/lib/ipmi_strings.c
/openbmc/ipmitool/lib/ipmi_sunoem.c
/openbmc/ipmitool/lib/ipmi_tsol.c
/openbmc/ipmitool/lib/ipmi_user.c
/openbmc/ipmitool/lib/log.c
Makefile.am
ipmievd.c
ipmishell.c
ipmitool.c
plugins/Makefile.am
plugins/bmc/Makefile.am
plugins/bmc/bmc.c
plugins/bmc/bmc.h
plugins/bmc/bmc_intf.h
plugins/dummy/Makefile.am
plugins/dummy/dummy.c
plugins/dummy/dummy.h
plugins/free/Makefile.am
plugins/free/free.c
plugins/imb/Makefile.am
plugins/imb/imb.c
plugins/imb/imbapi.c
plugins/imb/imbapi.h
plugins/ipmi_intf.c
plugins/lan/Makefile.am
plugins/lan/asf.h
plugins/lan/auth.c
plugins/lan/auth.h
plugins/lan/lan.c
plugins/lan/lan.h
plugins/lan/md5.c
plugins/lan/md5.h
plugins/lan/rmcp.h
plugins/lanplus/Makefile.am
plugins/lanplus/README.lanplus
plugins/lanplus/README.sol
plugins/lanplus/asf.h
plugins/lanplus/lanplus.c
plugins/lanplus/lanplus.h
plugins/lanplus/lanplus_crypt.c
plugins/lanplus/lanplus_crypt.h
plugins/lanplus/lanplus_crypt_impl.c
plugins/lanplus/lanplus_crypt_impl.h
plugins/lanplus/lanplus_dump.c
plugins/lanplus/lanplus_dump.h
plugins/lanplus/lanplus_strings.c
plugins/lanplus/rmcp.h
plugins/lipmi/Makefile.am
plugins/lipmi/lipmi.c
plugins/lipmi/lipmi.h
plugins/open/Makefile.am
plugins/open/open.c
plugins/open/open.h
plugins/serial/Makefile.am
plugins/serial/serial_basic.c
plugins/serial/serial_terminal.c

12