| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
This is a reaction to a managers.System API update. The
update removes the bus name field from the 'GetObject'
method responses.
Change-Id: I51fb1d1bad20317a429e5b06712475929b6fb4fb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux libraries, including the ipmi plugins, can be versioned,
with suffix .so.*
Add support in ipmid to find and load versioned libraries.
There seems to not be an issue if ipmid loads the same library
twice (a non-versioned and versioned) as with the cases where
a symlink .so points to a .so.* library.
Change-Id: I96d73e90dfec01c1a830dab4e6c20797b6130528
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\
| |
| | |
Fix two issues in Issue #80
|
|/
|
|
|
|
|
|
| |
Corrected the comment for the Get Channel Info command to
reflect the logic in the code. For issue two, corrected the
condition for returning the unspecifed error.
Fixes openbmc/phosphor-host-ipmid#80
|
|\
| |
| | |
Fix minor fw revision to be BCD encoded
|
|/
|
|
|
|
|
|
|
| |
The IPMI 2.0 spec requires the minor version revision
to be BCD encoded, but the current implementation uses a binary
encoding.
Fixes openbmc/phosphor-host-ipmid#89
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\
| |
| | |
Update ObjectMapper service/interface/path
|
|/
|
|
|
|
|
| |
The well known service name, interface and path for the mapper
all changed. This patch reacts to that.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
travis: Add Travis CI building
|
| |
| |
| |
| |
| |
| | |
Builds on Ubuntu 15.10 under docker.
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|\ \
| | |
| | | |
Returning correct value from handle_ipmid_command in ipmid.C
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of -1, we return 0xFF(Unspecified error) to the bus.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
Cleanup phosphor-host-ipmid storageaddsel.C
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
1.Check returns and handle errors for file IO.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
Adding Boot Policy
|
| | | |
| | | |
| | | |
| | | | |
Review Comment added for 146621
|
|\ \ \ \
| | | | |
| | | | | |
Modify eSEL to follow IPMI spec:
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Keep Reservation ID follow IPMI Spec.
2. Make Reservation ID increase sequentially.
3. Make Reservation ID available in shared librarys.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \ \
| |_|/ /
|/| | | |
Handle errors finding openbmc_path #75
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
1.Check return value properly.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
ipmid crashing with simplified VERSION_ID
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
if the VERSION_ID is v0.1 instead of v0.1-1 then the code will crash. The fix is to always check
for a NULL token each time.
Change ipmitool output to reflect hex value
VERSION_ID is equal to v0.6-36-gece9f78-dirty
I was forcing the '36' to be shown as 36. Turns out
that the ipmitool prepends the "Aux" section with a
'0x' indicating the value is in hex. So Rather then
it show up as 0x36 I made it actually be 0x24.
root@barreleye:~# ./ipmitool -I dbus mc info
IPMI GROUP EXTENTIONS
IPMI GROUP EXTENTIONS
Device ID : 0
Device Revision : 0
Firmware Revision : 0.06
IPMI Version : 2.0
Manufacturer ID : 42817
Manufacturer Name : Unknown (0xA741)
Product ID : 16451 (0x4043)
Product Name : Unknown (0x4043)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
Aux Firmware Rev Info :
0x00
0x24 <---- is decimal 36
0x01
0x00
root@barreleye:~#
|
|\ \ \
| |/ /
|/| | |
Adjust ipmi device id to accept dbus versioning
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this the ipmi device id would return
ipmitool -Idbus mc info
...
Firmware Revision : 0.06
Now it will track the version that you get from the version property of
/org/openbmc/inventory/system/chassis/motherboard/bmc
i.e.
version = v0.6-19-gf363f61-dirty
^ ^ ^^ ^
| | |----------|-- additional details
| |---------------- Minor
|------------------ Major
Now... ipmitool -Idbus mc info
...
Firmware Revision : 0.06
...
Aux Firmware Rev Info :
0x00
0x19
0x00
0x01
If there is no -dirty (or anything really after the last '-') will force
the aux details byte 4 to 0. A 0 means the FW image was created without
any changes in the yocto build.
|
|\ \
| | |
| | | |
ipmi daemon return code modification
|
|/ / |
|
|\ \
| | |
| | | |
Refactoring of IPMI Transport Handler
|
|/ / |
|
|\ \
| | |
| | | |
Read/Write Boot Count Sensor as int
|
| | |
| | |
| | |
| | |
| | | |
Change the dbus request to read/write the boot count sensor from byte to int.
Passing a type of byte causes the dbus interfaces to fail with ENXIO (no such device or address).
|
|\ \ \
| | | |
| | | | |
Fix memory leak in good paths in ipmid
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
reply was not unref'ed
--signed off by vishwanath@in.ibm.com---
|
|\ \ \
| |/ /
|/| | |
Fixing the Duplicate registration for NetFn [0x6], Cmd:[0xFF]
|
| | |
| | |
| | |
| | | |
enter the commit message for your changes. Lines starting
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Enable debug data section of event logs
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
until now event logs have 3 bytes of debug data. This was due to
a bug in our debug / testing interface. Now that the problem has
been resolved we can start seeing the full ESEL over the rest
interface. This will lead to larger files in the writable
filesystem.
|
|\ \
| | |
| | | |
IPMI Get IP Support
|
|/ /
| |
| |
| |
| |
| | |
Fix parsing of Get IP address.
Dbus method returns additional information such as family and
gateway, but this IPMI option just requires the IP to be returned.
|
|\ \
| | |
| | | |
Get MAC address
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Call get bus interface instead of using extern.
Define the IPMI request parameters.
Use snprintf.
Initialize dbus variables at the beginning of the function.
|
| | |
| | |
| | |
| | |
| | | |
Support for Get MAC address command.
Fix parsing logic to get correct data.
|
|\ \ \
| |/ /
|/| | |
Add minimal support for ipmitool
|
|/ /
| |
| |
| |
| |
| | |
Adding just a couple of ipmi commands that ipmitool always calls.
I'm doing this because in order to run the ipmitool lan 1 <parms>
instead of just the raw command the get channel info was needed.
|
|\ \
| | |
| | | |
Add Set MAC address
|
|/ /
| |
| |
| | |
Add Set MAC address parameter command
|
|\ \
| | |
| | | |
Add ipmi cold-reset command, which call a dbus method.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. A method dbus_warm_reset() to talk with the dbus method 'warmRest';
2. Also get service name by ipmid_get_sd_bus_connection() instead of object_mapper_get_connection();
3. Register the ipmi command;
4. Add related .o to the Makefile;
5. Add wildcard function.
|
|\ \ \
| |/ /
|/| | |
Using systemd dbus API to set get LAN parameters.
|
| | | |
|