bin/160581: mfiutil(8) doesn' t properly detect dead battery with mfiutil show battery

Mark Johnston markjdb at gmail.com
Sun Sep 11 19:10:09 UTC 2011


The following reply was made to PR bin/160581; it has been noted by GNATS.

From: Mark Johnston <markjdb at gmail.com>
To: Garrett Cooper <gcooper at ixsystems.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/160581: mfiutil(8) doesn&#39;t properly detect dead battery
 with mfiutil show battery
Date: Sun, 11 Sep 2011 15:00:43 -0400

 On Sat, Sep 10, 2011 at 05:34:19PM -0700, Garrett Cooper wrote:
 > [snip]
 > I guess the next step 
 > is to hack the driver and dump the ioctl output sent via MegaCLI 
 > (shouldn't be too hard).
 
 I don't see how that'd help though; presumably MegaCLI grabs battery
 info in the same way as mfiutil - the MFIIO_PASSTHRU ioctl with opcode
 MFI_DCMD_GET_BBU_STATUS.
 
 Thanks,
 -Mark


More information about the freebsd-bugs mailing list