mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:401 - Fixed 30 second delay when activating SOL on 'dumb' Intel MACs.
Boards equipped with 'dumb' Intel MAC can do only SOL. IPMITool performs several autodetection requests before initiating SOL, which are not recognized by the boards. With each request retried 5 times it takes about 30 seconds to establish SOL. This patch resolves the problem.
This commit is contained in:
parent
c9e3e6a01b
commit
37307c93e9
@ -952,20 +952,23 @@ ipmi_main(int argc, char ** argv,
|
|||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
* Attempt picmg/vita discovery of the actual interface address unless
|
if (!ipmi_oem_active(ipmi_main_intf, "i82571spt")) {
|
||||||
* the users specified an address.
|
/*
|
||||||
* Address specification always overrides discovery
|
* Attempt picmg/vita discovery of the actual interface
|
||||||
*/
|
* address, unless the users specified an address.
|
||||||
if (picmg_discover(ipmi_main_intf)) {
|
* Address specification always overrides discovery
|
||||||
ipmi_main_intf->picmg_avail = 1;
|
*/
|
||||||
} else if (vita_discover(ipmi_main_intf)) {
|
if (picmg_discover(ipmi_main_intf)) {
|
||||||
ipmi_main_intf->vita_avail = 1;
|
ipmi_main_intf->picmg_avail = 1;
|
||||||
|
} else if (vita_discover(ipmi_main_intf)) {
|
||||||
|
ipmi_main_intf->vita_avail = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg_addr) {
|
if (arg_addr) {
|
||||||
addr = arg_addr;
|
addr = arg_addr;
|
||||||
} else {
|
} else if (!ipmi_oem_active(ipmi_main_intf, "i82571spt")) {
|
||||||
lprintf(LOG_DEBUG, "Acquire IPMB address");
|
lprintf(LOG_DEBUG, "Acquire IPMB address");
|
||||||
addr = ipmi_acquire_ipmb_address(ipmi_main_intf);
|
addr = ipmi_acquire_ipmb_address(ipmi_main_intf);
|
||||||
lprintf(LOG_INFO, "Discovered IPMB address 0x%x", addr);
|
lprintf(LOG_INFO, "Discovered IPMB address 0x%x", addr);
|
||||||
|
@ -3471,13 +3471,17 @@ ipmi_lanplus_open(struct ipmi_intf * intf)
|
|||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
intf->manufacturer_id = ipmi_get_oem(intf);
|
|
||||||
|
|
||||||
/* automatically detect interface request and response sizes */
|
/* automatically detect interface request and response sizes */
|
||||||
hpm2_detect_max_payload_size(intf);
|
hpm2_detect_max_payload_size(intf);
|
||||||
|
}
|
||||||
|
|
||||||
bridgePossible = 1;
|
bridgePossible = 1;
|
||||||
|
|
||||||
|
if (!ipmi_oem_active(intf, "i82571spt")) {
|
||||||
|
intf->manufacturer_id = ipmi_get_oem(intf);
|
||||||
|
}
|
||||||
|
|
||||||
return intf->fd;
|
return intf->fd;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user