From owner-freebsd-bugs@FreeBSD.ORG Fri May 4 13:40: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 C15871065675 for ; Fri, 4 May 2012 13:40: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 99F428FC14 for ; Fri, 4 May 2012 13:40: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 q44DeAAo015772 for ; Fri, 4 May 2012 13:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q44DeAQb015771; Fri, 4 May 2012 13:40:10 GMT (envelope-from gnats) Resent-Date: Fri, 4 May 2012 13:40:10 GMT Resent-Message-Id: <201205041340.q44DeAQb015771@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, Ed Maste Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7882E106566C for ; Fri, 4 May 2012 13:31:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB1C8FC0A for ; Fri, 4 May 2012 13:31:41 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q44DVeai000202 for ; Fri, 4 May 2012 13:31:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q44DVeQA000201; Fri, 4 May 2012 13:31:40 GMT (envelope-from nobody) Message-Id: <201205041331.q44DVeQA000201@red.freebsd.org> Date: Fri, 4 May 2012 13:31:40 GMT From: Ed Maste To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/167575: mfiutil(8) claims battery is OK even though it is worn out and wb cache is disabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 13:40:10 -0000 >Number: 167575 >Category: misc >Synopsis: mfiutil(8) claims battery is OK even though it is worn out and wb cache is disabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 04 13:40:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ed Maste >Release: FreeBSD 8.2 >Organization: Sandvine Inc >Environment: FreeBSD TPC-F3-25.phaedrus.sandvine.com 8.82.0109-RELEASE-p5 FreeBSD 8.82.0109-RELEASE-p5 #111: Tue Feb 28 15:27:17 EST 2012 root@wtllab-bsdbuild-9.phaedrus.sandvine.com:/usr/obj/usr/src/sys/SPB amd64 (FreeBSD 8.2 + some backports) >Description: mfiutil reports that the cache is disabled: $ sudo mfiutil cache 0 mfi0 volume mfid0 cache settings: I/O caching: writes write caching: write-back write cache with bad BBU: disabled read ahead: none drive write cache: disabled Cache Disabled Due to Dead Battery But the battery reports "Status: normal" $ sudo mfiutil show battery mfi0: Battery State: Manufacture Date: 12/4/2010 Serial Number: 1499 Manufacturer: LS1191002A Model: 3150302 Chemistry: LION Design Capacity: 1215 mAh Full Charge Capacity: 504 mAh Current Capacity: 479 mAh Charge Cycles: 35 Current Charge: 95% Design Voltage: 3700 mV Current Voltage: 4050 mV Temperature: 28 C Status: normal $ mfiutil version mfiutil version 1.0.13 Using LSI's megacli reports additional information, including a "battery replacement required" indication $ sudo ~emaste/lsi/megacli/8.00.46/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL BBU status for Adapter: 0 BatteryType: iBBU Voltage: 4050 mV Current: 0 mA Temperature: 28 C BBU Firmware Status: Charging Status : None Voltage : OK Temperature : OK Learn Cycle Requested : No Learn Cycle Active : No Learn Cycle Status : OK Learn Cycle Timeout : No I2c Errors Detected : No Battery Pack Missing : No Battery Replacement required : Yes Remaining Capacity Low : Yes Periodic Learn Required : No Transparent Learn : No No space to cache offload : No Pack is about to fail & should be replaced : No Cache Offload premium feature required : No Module microcode update required : No Battery state: GasGuageStatus: Fully Discharged : No Fully Charged : Yes Discharging : Yes Initialized : Yes Remaining Time Alarm : No Remaining Capacity Alarm: No Discharge Terminated : No Over Temperature : No Charging Terminated : No Over Charged : No Relative State of Charge: 95 % Charger System State: 49168 Charger System Ctrl: 0 Charging current: 0 mA Absolute state of charge: 39 % Max Error: 2 % Exit Code: 0x00 >How-To-Repeat: Per description >Fix: >Release-Note: >Audit-Trail: >Unformatted: