Bug 169475 - [ipmi] IPMI MAX_TIMEOUT is too short
Summary: [ipmi] IPMI MAX_TIMEOUT is too short
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 05:50 UTC by Garrett Wollman
Modified: 2016-08-22 16:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Wollman freebsd_committer 2012-06-27 05:50:10 UTC
sys/dev/ipmi/ipmivars.h contains the following definition:

#define MAX_TIMEOUT 3 * hz

This determines how long ipmi(4) is willing to wait in its attach
routine for the management device to identify itself.  Unfortunately,
it is too short.  The IPMI specification recommends a timeout not less
than five seconds, and in practice on this platform it takes between
five and ten seconds.

Fix: 

Increase the timeout to ten seconds.  If this is felt to be too long,
make it a tunable.
How-To-Repeat: 
Boot FreeBSD on a Quanta QSSC-S99Q server.  Sometimes ipmi will
attach; most of the time it will time out.
Comment 1 Garrett Wollman freebsd_committer 2016-08-22 16:57:38 UTC
Fixed by sbruno in r253812.