From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 27 04:50:10 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9105106566B for ; Wed, 27 Jun 2012 04:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 660678FC15 for ; Wed, 27 Jun 2012 04:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5R4oA4C026917 for ; Wed, 27 Jun 2012 04:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5R4oAEf026916; Wed, 27 Jun 2012 04:50:10 GMT (envelope-from gnats) Resent-Date: Wed, 27 Jun 2012 04:50:10 GMT Resent-Message-Id: <201206270450.q5R4oAEf026916@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0487F1065670 for ; Wed, 27 Jun 2012 04:41:08 +0000 (UTC) (envelope-from wollman@xyz.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [IPv6:2001:470:8b2d:1e1c:21b:21ff:feb8:d7b0]) by mx1.freebsd.org (Postfix) with ESMTP id A51E38FC1A for ; Wed, 27 Jun 2012 04:41:07 +0000 (UTC) Received: from xyz.csail.mit.edu (xyz.csail.mit.edu [128.31.0.28]) by khavrinen.csail.mit.edu (8.14.5/8.14.5) with ESMTP id q5R4f6WM050762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO CN= issuer=) for ; Wed, 27 Jun 2012 00:41:06 -0400 (EDT) (envelope-from wollman@xyz.csail.mit.edu) Received: (from wollman@localhost) by xyz.csail.mit.edu (8.14.5/8.14.5/Submit) id q5R4f62p081435; Wed, 27 Jun 2012 00:41:06 -0400 (EDT) (envelope-from wollman) Message-Id: <201206270441.q5R4f62p081435@xyz.csail.mit.edu> Date: Wed, 27 Jun 2012 00:41:06 -0400 (EDT) From: Garrett Wollman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/169475: IPMI MAX_TIMEOUT is too short X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Wollman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 04:50:10 -0000 >Number: 169475 >Category: kern >Synopsis: IPMI MAX_TIMEOUT is too short >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 27 04:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: Maintainer of {cvsup3,ftp5}.freebsd.org >Environment: System: FreeBSD xyz.csail.mit.edu 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #2 r237283M: Wed Jun 20 12:23:12 EDT 2012 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64 The machine is a Quanta QSSC-S99Q 2U fileserver (specifically, ftp5.freebsd.org). We have two other identical machines, soon to be six. >Description: 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. >How-To-Repeat: Boot FreeBSD on a Quanta QSSC-S99Q server. Sometimes ipmi will attach; most of the time it will time out. >Fix: Increase the timeout to ten seconds. If this is felt to be too long, make it a tunable. >Release-Note: >Audit-Trail: >Unformatted: