[Bug 215793] mpsutil show adapter gives incomplete output
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 5 09:46:12 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215793
Bug ID: 215793
Summary: mpsutil show adapter gives incomplete output
Product: Base System
Version: 10.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: longwitz at incore.de
The command "mpsutil show adapter" gives
mps0 Adapter:
Board Name:
Board Assembly:
Chip Name: LSISAS2308
Chip Revision:
BIOS Revision: 7.39.02.00
Firmware Revision: 20.00.07.00
Integrated RAID: no
After applying the patch
--- mps_cmd.c.orig 2016-04-11 11:10:46.000000000 +0200
+++ mps_cmd.c 2017-01-05 09:59:39.000000000 +0100
@@ -365,8 +365,7 @@
req.Action = MPI2_CONFIG_ACTION_PAGE_READ_CURRENT;
req.PageAddress = PageAddress;
req.Header = header;
- req.Header.PageLength = reply.Header.PageLength;
- if (reply.Header.PageLength == 0)
+ if (req.Header.PageLength == 0)
req.Header.PageLength = 4;
len = req.Header.PageLength * 4;
the output looks better:
mps0 Adapter:
Board Name: SAS9207-8i
Board Assembly: H3-25412-00E
Chip Name: LSISAS2308
Chip Revision: ALL
BIOS Revision: 7.39.02.00
Firmware Revision: 20.00.07.00
Integrated RAID: no
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list