[PATCH] discover/platform-powerpc: Increase IPMI timeout
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Oct 27 13:15:10 AEDT 2017
Samuel Mendoza-Jonas <sam at mendozajonas.com> writes:
> On OpenBMC platforms IPMI requests can take over five seconds to
> complete. OpenBMC does inform OPAL in BT init that it may take up to
> ten seconds to respond to any requests, so update our timeout value to
> accommodate this extra delay.
Arguably, OpenBMC should fix their code to respond in a sane timeframe.
Not arguably actually, they should do that full stop. do we have a bug
open on that for them?
> On other platforms this will won't change anything (AMI- and SMC- based
> BMCs for example respond in under a second), but on OpenBMC platforms
> such as Witherspoon this will delay Petitboot significantly while we
> wait for the response. This is not ideal but we need to wait in order to
> receive important information such as a safe mode request.
Hrm... should we/do we expose this in any way to userspace?
Also wondering if we should log somewhere how long all of these things
took... if it's >5 seconds now, that's... as long as it takes to boot to
petitboot from starting the kernel.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Petitboot
mailing list