]> git.ozlabs.org Git - petitboot/commit
discover/ipmi: Increase IPMI timeout to a reasonable value
authorJeremy Kerr <jk@ozlabs.org>
Wed, 30 Sep 2015 00:38:36 +0000 (08:38 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Sep 2015 05:23:49 +0000 (13:23 +0800)
commitd171258160f7ed4756531f51e66fb116753bc990
treefe34ffeb8e0f97e30d43f8bd3af9cd683182b4e6
parent420f0e2c5d8338b42047c58f055cdb944685ead7
discover/ipmi: Increase IPMI timeout to a reasonable value

We've seen some IPMI timeouts during testing - meaning that an IPMI
bootdev setting will be ignored. This can result in a machine booting
from an incorrect boot device, or missing a 'safe mode' indication, or
incorrectly proceeding past petitboot.

The firmware & kernel has its own timeout & retry mechanism, so we
already have a little error-recovery there; the timeout in petitboot is
to prevent an indefinite block if the kernel interface isn't behaving
correctly.

So, this change bumps the timeout to a value that suits BMCs we've seen
in the field (specifying a 2 second timeout, with one retry).

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/platform-powerpc.c