|
|
fd3128 |
diff -urNp old/lib/ipmi_picmg.c new/lib/ipmi_picmg.c
|
|
|
fd3128 |
--- old/lib/ipmi_picmg.c 2016-07-31 07:29:49.000000000 +0200
|
|
|
fd3128 |
+++ new/lib/ipmi_picmg.c 2017-10-03 15:38:48.711790645 +0200
|
|
|
fd3128 |
@@ -2353,28 +2353,28 @@ picmg_discover(struct ipmi_intf *intf) {
|
|
|
fd3128 |
req.msg.data_len = 1;
|
|
|
fd3128 |
msg_data = 0;
|
|
|
fd3128 |
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Running Get PICMG Properties my_addr %#x, transit %#x, target %#x",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Running Get PICMG Properties my_addr %#x, transit %#x, target %#x",
|
|
|
fd3128 |
intf->my_addr, intf->transit_addr, intf->target_addr);
|
|
|
fd3128 |
rsp = intf->sendrecv(intf, &req;;
|
|
|
fd3128 |
if (rsp == NULL) {
|
|
|
fd3128 |
- lprintf(LOG_INFO,"No response from Get PICMG Properties");
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG,"No response from Get PICMG Properties");
|
|
|
fd3128 |
} else if (rsp->ccode != 0) {
|
|
|
fd3128 |
- lprintf(LOG_INFO,"Error response %#x from Get PICMG Properities",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG,"Error response %#x from Get PICMG Properities",
|
|
|
fd3128 |
rsp->ccode);
|
|
|
fd3128 |
} else if (rsp->data_len < 4) {
|
|
|
fd3128 |
- lprintf(LOG_INFO,"Invalid Get PICMG Properties response length %d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG,"Invalid Get PICMG Properties response length %d",
|
|
|
fd3128 |
rsp->data_len);
|
|
|
fd3128 |
} else if (rsp->data[0] != 0) {
|
|
|
fd3128 |
- lprintf(LOG_INFO,"Invalid Get PICMG Properties group extension %#x",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG,"Invalid Get PICMG Properties group extension %#x",
|
|
|
fd3128 |
rsp->data[0]);
|
|
|
fd3128 |
} else if ((rsp->data[1] & 0x0F) != PICMG_EXTENSION_ATCA_MAJOR_VERSION
|
|
|
fd3128 |
&& (rsp->data[1] & 0x0F) != PICMG_EXTENSION_AMC0_MAJOR_VERSION
|
|
|
fd3128 |
&& (rsp->data[1] & 0x0F) != PICMG_EXTENSION_UTCA_MAJOR_VERSION) {
|
|
|
fd3128 |
- lprintf(LOG_INFO,"Unknown PICMG Extension Version %d.%d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG,"Unknown PICMG Extension Version %d.%d",
|
|
|
fd3128 |
(rsp->data[1] & 0x0F), (rsp->data[1] >> 4));
|
|
|
fd3128 |
} else {
|
|
|
fd3128 |
picmg_avail = 1;
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Discovered PICMG Extension Version %d.%d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Discovered PICMG Extension Version %d.%d",
|
|
|
fd3128 |
(rsp->data[1] & 0x0f), (rsp->data[1] >> 4));
|
|
|
fd3128 |
}
|
|
|
fd3128 |
|
|
|
fd3128 |
diff -urNp old/lib/ipmi_vita.c new/lib/ipmi_vita.c
|
|
|
fd3128 |
--- old/lib/ipmi_vita.c 2018-01-05 10:29:51.290694252 +0100
|
|
|
fd3128 |
+++ new/lib/ipmi_vita.c 2018-01-05 12:09:56.480413217 +0100
|
|
|
fd3128 |
@@ -184,7 +184,7 @@ vita_discover(struct ipmi_intf *intf)
|
|
|
fd3128 |
|
|
|
fd3128 |
msg_data = GROUP_EXT_VITA;
|
|
|
fd3128 |
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Running Get VSO Capabilities my_addr %#x, "
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Running Get VSO Capabilities my_addr %#x, "
|
|
|
fd3128 |
"transit %#x, target %#x",
|
|
|
fd3128 |
intf->my_addr, intf->transit_addr, intf->target_addr);
|
|
|
fd3128 |
|
|
|
fd3128 |
@@ -193,29 +193,29 @@ vita_discover(struct ipmi_intf *intf)
|
|
|
fd3128 |
if (rsp == NULL) {
|
|
|
fd3128 |
lprintf(LOG_ERR, "No valid response received");
|
|
|
fd3128 |
} else if (rsp->ccode == 0xC1) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Invalid completion code received: %s",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Invalid completion code received: %s",
|
|
|
fd3128 |
val2str(rsp->ccode, completion_code_vals));
|
|
|
fd3128 |
} else if (rsp->ccode == 0xCC) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Invalid data field received: %s",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Invalid data field received: %s",
|
|
|
fd3128 |
val2str(rsp->ccode, completion_code_vals));
|
|
|
fd3128 |
} else if (rsp->ccode != 0) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Invalid completion code received: %s",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Invalid completion code received: %s",
|
|
|
fd3128 |
val2str(rsp->ccode, completion_code_vals));
|
|
|
fd3128 |
} else if (rsp->data_len < 5) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Invalid response length %d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Invalid response length %d",
|
|
|
fd3128 |
rsp->data_len);
|
|
|
fd3128 |
} else if (rsp->data[0] != GROUP_EXT_VITA) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Invalid group extension %#x",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Invalid group extension %#x",
|
|
|
fd3128 |
rsp->data[0]);
|
|
|
fd3128 |
} else if ((rsp->data[3] & 0x03) != 0) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Unknown VSO Standard %d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Unknown VSO Standard %d",
|
|
|
fd3128 |
(rsp->data[3] & 0x03));
|
|
|
fd3128 |
} else if ((rsp->data[4] & 0x0F) != 1) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Unknown VSO Specification Revision %d.%d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Unknown VSO Specification Revision %d.%d",
|
|
|
fd3128 |
(rsp->data[4] & 0x0F), (rsp->data[4] >> 4));
|
|
|
fd3128 |
} else {
|
|
|
fd3128 |
vita_avail = 1;
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Discovered VITA 46.11 Revision %d.%d",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Discovered VITA 46.11 Revision %d.%d",
|
|
|
fd3128 |
(rsp->data[4] & 0x0F), (rsp->data[4] >> 4));
|
|
|
fd3128 |
}
|
|
|
fd3128 |
|
|
|
fd3128 |
diff -urNp old/lib/ipmi_main.c new/lib/ipmi_main.c
|
|
|
fd3128 |
--- old/lib/ipmi_main.c 2018-01-08 15:31:37.159786062 +0100
|
|
|
fd3128 |
+++ new/lib/ipmi_main.c 2018-01-08 15:32:35.960077134 +0100
|
|
|
fd3128 |
@@ -904,7 +904,7 @@ ipmi_main(int argc, char ** argv,
|
|
|
fd3128 |
} else if (!ipmi_oem_active(ipmi_main_intf, "i82571spt")) {
|
|
|
fd3128 |
lprintf(LOG_DEBUG, "Acquire IPMB address");
|
|
|
fd3128 |
addr = ipmi_acquire_ipmb_address(ipmi_main_intf);
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Discovered IPMB address 0x%x", addr);
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Discovered IPMB address 0x%x", addr);
|
|
|
fd3128 |
}
|
|
|
fd3128 |
|
|
|
fd3128 |
/*
|
|
|
fd3128 |
@@ -956,7 +956,7 @@ ipmi_main(int argc, char ** argv,
|
|
|
fd3128 |
ipmi_main_intf->transit_addr,
|
|
|
fd3128 |
ipmi_main_intf->transit_channel);
|
|
|
fd3128 |
if (ipmi_main_intf->target_ipmb_addr) {
|
|
|
fd3128 |
- lprintf(LOG_INFO, "Discovered Target IPMB-0 address %#x",
|
|
|
fd3128 |
+ lprintf(LOG_DEBUG, "Discovered Target IPMB-0 address %#x",
|
|
|
fd3128 |
ipmi_main_intf->target_ipmb_addr);
|
|
|
fd3128 |
}
|
|
|
fd3128 |
}
|