From owner-freebsd-bugs@freebsd.org Thu Jan 5 09:46:12 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A6ADC9ECD5 for ; Thu, 5 Jan 2017 09:46:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50AAE18DF for ; Thu, 5 Jan 2017 09:46:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v059kCsh048808 for ; Thu, 5 Jan 2017 09:46:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215793] mpsutil show adapter gives incomplete output Date: Thu, 05 Jan 2017 09:46:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: longwitz@incore.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 09:46:12 -0000 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.=