129b76e53SScott Long.\" 204be2b8bSBaptiste Daroussin.\" Copyright (c) Baptiste Daroussin <bapt@FreeBSD.org> 329b76e53SScott Long.\" 429b76e53SScott Long.\" Redistribution and use in source and binary forms, with or without 529b76e53SScott Long.\" modification, are permitted provided that the following conditions 629b76e53SScott Long.\" are met: 729b76e53SScott Long.\" 1. Redistributions of source code must retain the above copyright 829b76e53SScott Long.\" notice, this list of conditions and the following disclaimer. 929b76e53SScott Long.\" 2. Redistributions in binary form must reproduce the above copyright 1029b76e53SScott Long.\" notice, this list of conditions and the following disclaimer in the 1129b76e53SScott Long.\" documentation and/or other materials provided with the distribution. 1229b76e53SScott Long.\" 1329b76e53SScott Long.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1429b76e53SScott Long.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1529b76e53SScott Long.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1629b76e53SScott Long.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1729b76e53SScott Long.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1829b76e53SScott Long.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1929b76e53SScott Long.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2029b76e53SScott Long.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2129b76e53SScott Long.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2229b76e53SScott Long.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2329b76e53SScott Long.\" SUCH DAMAGE. 2429b76e53SScott Long.\" 25e2ea6942SDaniel Austin.Dd May 7, 2021 2604be2b8bSBaptiste Daroussin.Dt MPSUTIL 8 2729b76e53SScott Long.Os 2829b76e53SScott Long.Sh NAME 2904be2b8bSBaptiste Daroussin.Nm mpsutil , 3004be2b8bSBaptiste Daroussin.Nm mprutil 3104be2b8bSBaptiste Daroussin.Nd Utility for managing LSI Fusion-MPT 2/3 controllers 3229b76e53SScott Long.Sh SYNOPSIS 3329b76e53SScott Long.Nm 3429b76e53SScott Long.Cm version 3529b76e53SScott Long.Nm 3629b76e53SScott Long.Op Fl u Ar unit 3729b76e53SScott Long.Cm show adapter 3829b76e53SScott Long.Nm 3929b76e53SScott Long.Op Fl u Ar unit 4004be2b8bSBaptiste Daroussin.Cm show adapters 4129b76e53SScott Long.Nm 4229b76e53SScott Long.Op Fl u Ar unit 4304be2b8bSBaptiste Daroussin.Cm show all 4429b76e53SScott Long.Nm 4529b76e53SScott Long.Op Fl u Ar unit 46f073ab87SAlan Somers.Cm show cfgpage page 4704be2b8bSBaptiste Daroussin.Op Ar num 4804be2b8bSBaptiste Daroussin.Op Ar addr 4929b76e53SScott Long.Nm 5029b76e53SScott Long.Op Fl u Ar unit 5104be2b8bSBaptiste Daroussin.Cm show devices 5229b76e53SScott Long.Nm 5329b76e53SScott Long.Op Fl u Ar unit 5404be2b8bSBaptiste Daroussin.Cm show enclosures 5529b76e53SScott Long.Nm 5629b76e53SScott Long.Op Fl u Ar unit 5704be2b8bSBaptiste Daroussin.Cm show expanders 5829b76e53SScott Long.Nm 5929b76e53SScott Long.Op Fl u Ar unit 6004be2b8bSBaptiste Daroussin.Cm show iocfacts 613e891891SBaptiste Daroussin.Nm 623e891891SBaptiste Daroussin.Op Fl u Ar unit 63e2ea6942SDaniel Austin.Cm set ncq 64e2ea6942SDaniel Austin.Op Ar enable Ns | Ns Ar disable 65e2ea6942SDaniel Austin.Nm 66e2ea6942SDaniel Austin.Op Fl u Ar unit 673e891891SBaptiste Daroussin.Cm flash save 683e891891SBaptiste Daroussin.Op Ar firmware Ns | Ns Ar bios 693e891891SBaptiste Daroussin.Op Ar file 703e891891SBaptiste Daroussin.Nm 713e891891SBaptiste Daroussin.Op Fl u Ar unit 723e891891SBaptiste Daroussin.Cm flash update 733e891891SBaptiste Daroussin.Op Ar firmware Ns | Ns Ar bios 743e891891SBaptiste Daroussin.Ar file 7529b76e53SScott Long.Sh DESCRIPTION 7629b76e53SScott LongThe 7729b76e53SScott Long.Nm 7829b76e53SScott Longutility can be used to display or modify various parameters on LSI 7904be2b8bSBaptiste DaroussinFusion-MPS 2 controllers. 8004be2b8bSBaptiste Daroussin.Pp 8104be2b8bSBaptiste DaroussinThe 8204be2b8bSBaptiste Daroussin.Nm mprutil 8304be2b8bSBaptiste Daroussinutility can be used to display or modify various parameters on LSI 8404be2b8bSBaptiste DaroussinFusion-MPS 3 controllers. 8504be2b8bSBaptiste Daroussin.Pp 86*910733a6STom HukinsBoth the 8704be2b8bSBaptiste Daroussin.Nm mprutil 88*910733a6STom Hukinsand 89*910733a6STom Hukins.Nm 90*910733a6STom Hukinscommands behave identically. 9104be2b8bSBaptiste Daroussin.Pp 9229b76e53SScott LongEach invocation of 9329b76e53SScott Long.Nm 9429b76e53SScott Longconsists of zero or more global options followed by a command. 9529b76e53SScott LongCommands may support additional optional or required arguments after the 9629b76e53SScott Longcommand. 9729b76e53SScott Long.Pp 9829b76e53SScott LongCurrently one global option is supported: 9929b76e53SScott Long.Bl -tag -width indent 10029b76e53SScott Long.It Fl u Ar unit 10129b76e53SScott Long.Ar unit 10229b76e53SScott Longspecifies the unit of the controller to work with. 10329b76e53SScott LongIf no unit is specified, 10429b76e53SScott Longthen unit 0 is used. 10529b76e53SScott Long.El 10629b76e53SScott Long.Pp 10729b76e53SScott LongThe 10829b76e53SScott Long.Nm 1093e891891SBaptiste Daroussinutility supports several different groups of commands. 1103e891891SBaptiste DaroussinThe first group of commands provide information about the controller. 1113e891891SBaptiste DaroussinThe second group of commands are used to manager controller-wide operations. 11229b76e53SScott Long.Pp 11329b76e53SScott LongThe informational commands include: 11429b76e53SScott Long.Bl -tag -width indent 11529b76e53SScott Long.It Cm version 11629b76e53SScott LongDisplays the version of 11729b76e53SScott Long.Nm . 11829b76e53SScott Long.It Cm show adapter 11904be2b8bSBaptiste DaroussinDisplays information about the controller such as the model number or firmware 12004be2b8bSBaptiste Daroussinversion. 12104be2b8bSBaptiste Daroussin.It Cm show adapters 12204be2b8bSBaptiste DaroussinDisplays a summary of all adapters. 12304be2b8bSBaptiste Daroussin.It Cm show all 12404be2b8bSBaptiste DaroussinDisplays all devices, expanders and enclosures. 12504be2b8bSBaptiste Daroussin.It Cm show devices 12604be2b8bSBaptiste DaroussinDisplays all devices. 12704be2b8bSBaptiste Daroussin.It Cm show expanders 12804be2b8bSBaptiste DaroussinDisplays all expanders. 12904be2b8bSBaptiste Daroussin.It Cm show enclosures 13004be2b8bSBaptiste DaroussinDisplays all enclosures. 13104be2b8bSBaptiste Daroussin.It Cm show iocfacts 13204be2b8bSBaptiste DaroussinDisplays IOC Facts messages. 13304be2b8bSBaptiste Daroussin.It Cm show cfgpage page Oo Ar num Oc Op Ar addr 134f073ab87SAlan SomersDump raw config page in hex. 13529b76e53SScott Long.El 1363e891891SBaptiste Daroussin.Pp 1373e891891SBaptiste DaroussinController management commands include: 1383e891891SBaptiste Daroussin.Bl -tag -width indent 139e2ea6942SDaniel Austin.It Cm set ncq Oo Ar enable Ns | Ns Ar disable Oc 140e2ea6942SDaniel AustinEnables or disables NCQ in the NVRAM of the card. 1413e891891SBaptiste Daroussin.It Cm flash save Oo Ar firmware Ns | Ns Ar bios Oc Op Ar file 1423e891891SBaptiste DaroussinSave the 1433e891891SBaptiste Daroussin.Ar firmware 1443e891891SBaptiste Daroussinor 1453e891891SBaptiste Daroussin.Ar bios 1463e891891SBaptiste Daroussinfrom the controller into a local 1473e891891SBaptiste Daroussin.Ar file . 1483e891891SBaptiste DaroussinIf no 1493e891891SBaptiste Daroussin.Ar file 1503e891891SBaptiste Daroussinis specified then the file will be named 1513e891891SBaptiste Daroussin.Pa firmware 1523e891891SBaptiste Daroussinor 1533e891891SBaptiste Daroussin.Pa bios . 1543e891891SBaptiste Daroussin.It Cm flash update Oo Ar firmware Ns | Ns Ar bios Oc Ar file 1553e891891SBaptiste DaroussinReplace the 1563e891891SBaptiste Daroussin.Ar firmware 1573e891891SBaptiste Daroussinor 1583e891891SBaptiste Daroussin.Ar bios 1593e891891SBaptiste Daroussinfrom the controller with the one specified via 1603e891891SBaptiste Daroussin.Ar file . 1613e891891SBaptiste Daroussin.El 16229b76e53SScott Long.Sh SEE ALSO 1633e891891SBaptiste Daroussin.Xr mpr 4 , 16404be2b8bSBaptiste Daroussin.Xr mps 4 16529b76e53SScott Long.Sh HISTORY 16629b76e53SScott LongThe 16729b76e53SScott Long.Nm 16829b76e53SScott Longutility first appeared in 16904be2b8bSBaptiste Daroussin.Fx 11.0 . 170fc9780fdSAlfredo Dal'Ava Junior.Sh TODO 171fc9780fdSAlfredo Dal'Ava JuniorFlash operations (save/update) are not supported on big-endian architectures. 172