From nobody@FreeBSD.org  Thu May 22 16:00:50 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 653251065679
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2008 16:00:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 4BAFF8FC39
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2008 16:00:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4MFxOi5076735
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2008 15:59:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m4MFxOKj076734;
	Thu, 22 May 2008 15:59:24 GMT
	(envelope-from nobody)
Message-Id: <200805221559.m4MFxOKj076734@www.freebsd.org>
Date: Thu, 22 May 2008 15:59:24 GMT
From: Sean McAfee <smcafee@collaborativefusion.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipmi(4) reports negative temperature values on Dell PowerEdge 860s
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123904
>Category:       kern
>Synopsis:       [ipmi] ipmi(4) reports negative temperature values on Dell PowerEdge 860s
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          analyzed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 22 16:10:02 UTC 2008
>Closed-Date:    
>Last-Modified:  Thu Dec 10 23:03:17 UTC 2009
>Originator:     Sean McAfee
>Release:        6.3-R-p1
>Organization:
Collaborative Fusion, Inc.
>Environment:
FreeBSD xxxx 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Tue May 20 06:52:57 UTC 2008     smcafee@xxxx:/usr/obj/usr/src/sys/SMP  amd64
>Description:
Polling ipmi(4) reports a negative value for the Temp sensor reports negative values:

From ipmitool:
[smcafee@xxxx ~]$ sudo ipmitool sdr list     
Temp             | -63 degrees C     | cr
..

From freeipmi:
[smcafee@xxxx ~]$ sudo ipmi-sensors
1: Temp (Temperature): -63.00 C (5.00/125.00): [At or Below (<=) Lower Critical Threshold]
..

We have not seen this in any of the other Poweredges (850/1850/1950/2850/2950) we've deployed.

Using remote lan-based IPMI polling (ipmitool -I lan) does not exhibit this problem.

Here's relevant the sysctl/dmesg output:
[smcafee@xxxx ~]$ sudo sysctl -a | grep -i ipmi
Password:
         ipmi     0     0K       -     5058  128,2048
ipmi0: <IPMI System Interface> on isa0
ipmi0: KCS mode found at io 0xca8 alignment 0x4 on isa
ipmi0: KCS error: ff
ipmi0: IPMI device rev. 0, firmware rev. 1.81, version 1.5
ipmi0: Number of channels 4
ipmi0: Attached watchdog
hw.ipmi.on: 1
dev.ipmi.0.%desc: IPMI System Interface
dev.ipmi.0.%driver: ipmi
dev.ipmi.0.%parent: isa0
>How-To-Repeat:
Poll ipmi(4) via freeipmi or ipmitool.
>Fix:


>Release-Note:
>Audit-Trail:

From: Sean McAfee <smcafee@collaborativefusion.com>
To: bug-followup@FreeBSD.org, smcafee@collaborativefusion.com
Cc:  
Subject: Re: kern/123904: [ipmi] ipmi(4) reports negative temperature values
 on Dell PowerEdge 860s
Date: Thu, 10 Dec 2009 11:38:44 -0500

 This is no longer an issue in 8:
 
 FreeBSD xxxxxxxxx 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Fri Dec  4 
 09:56:55 UTC 2009     root@new-host:/usr/obj/usr/src/sys/GENERIC  amd64
 
 [smcafee@xxxx ~]$ sudo ipmitool sdr list
 Temp             | 42 degrees C      | ok
 
 Not sure about 7 and can't test it, but I wouldn't object to this being 
 closed now as "won't fix" in any remaining affected branches.
 
 -- 
 Sean McAfee
 Senior Systems Engineer
 
 Collaborative Fusion, Inc.
   smcafee@collaborativefusion.com
   412-422-3463 x 4025
 
 5849 Forbes Avenue
 Pittsburgh, PA 15217
 
 ****************************************************************
 IMPORTANT: This message contains confidential information
 and is intended only for the individual named. If the reader of
 this message is not an intended recipient (or the individual
 responsible for the delivery of this message to an intended
 recipient), please be advised that any re-use, dissemination,
 distribution or copying of this message is prohibited. Please
 notify the sender immediately by e-mail if you have received
 this e-mail by mistake and delete this e-mail from your system.
 E-mail transmission cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 destroyed, arrive late or incomplete, or contain viruses. The
 sender therefore does not accept liability for any errors or
 omissions in the contents of this message, which arise as a
 result of e-mail transmission.
 ****************************************************************
State-Changed-From-To: open->analyzed 
State-Changed-By: linimon 
State-Changed-When: Thu Dec 10 23:02:46 UTC 2009 
State-Changed-Why:  
apparently no longer a problem on 8.  Submitter doesn't have a way 
to test on 7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123904 
>Unformatted:
