Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jan 2017 09:46:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215793] mpsutil show adapter gives incomplete output
Message-ID:  <bug-215793-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215793

            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@FreeBSD.org
          Reporter: longwitz@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 =3D MPI2_CONFIG_ACTION_PAGE_READ_CURRENT;
        req.PageAddress =3D PageAddress;
        req.Header =3D header;
-       req.Header.PageLength =3D reply.Header.PageLength;
-       if (reply.Header.PageLength =3D=3D 0)
+       if (req.Header.PageLength =3D=3D 0)
                req.Header.PageLength =3D 4;

        len =3D 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215793-8>