Date: Fri, 9 Sep 2011 08:10:08 GMT From: Garrett Cooper <gcooper@ixsystems.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/160581: mfiutil doesn't properly detect dead battery with mfiutil show battery Message-ID: <201109090810.p898A848077527@red.freebsd.org> Resent-Message-ID: <201109090820.p898K4Gi083093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160581 >Category: bin >Synopsis: mfiutil doesn't properly detect dead battery with mfiutil show battery >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 09 08:20:04 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-BETA1 >Organization: iXsystems, Inc. >Environment: FreeBSD bayonetta.local 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224946M: Thu Aug 18 10:02:09 PDT 2011 gcooper@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA amd64 >Description: Long story short, my RAID battery died 2 weeks ago. The controller is reporting the failure, along with the mfiutil cache show command, but mfiutil isn't detecting the correct battery state when running mfiutil show battery. Example: $ sudo mfiutil show battery mfi0: Battery State: Manufacture Date: 9/19/2009 Serial Number: 1022 Manufacturer: LS1111001B Model: 3598301 Chemistry: LION Design Capacity: 1215 mAh Full Charge Capacity: 417 mAh Current Capacity: 397 mAh Charge Cycles: 58 Current Charge: 95% Design Voltage: 3700 mV Current Voltage: 4067 mV Temperature: 40 C Status: normal <-- HERE $ dmesg | grep batt mfi0: 35492 (boot + 4s/0x0008/FATAL) - Battery has failed and cannot support data retention. Please replace the battery mfi0: 35623 (368111183s/0x0008/FATAL) - Battery has failed and cannot support data retention. Please replace the battery $ sudo mfiutil cache mfid0 mfi0 volume mfid0 cache settings: I/O caching: writes and reads write caching: write-back write cache with bad BBU: disabled read ahead: always drive write cache: enabled Cache Disabled Due to Dead Battery MegaCli does though, of course: $ sudo ~/MegaCli -AdpBbuCmd -GetBbuS BBU status for Adapter: 0 BatteryType: iBBU Voltage: 4051 mV Current: 0 mA Temperature: 40 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 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: 100 % Charger System State: 49168 Charger System Ctrl: 0 Charging current: 0 mA Absolute state of charge: 34 % Max Error: 2 % Exit Code: 0x00 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109090810.p898A848077527>