2015-08-02 03:52:51 +00:00
|
|
|
.\"
|
2015-10-28 11:06:04 +00:00
|
|
|
.\" Copyright (c) Baptiste Daroussin <bapt@FreeBSD.org>
|
2015-08-02 03:52:51 +00:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2020-12-19 13:23:26 +00:00
|
|
|
.\"
|
2015-08-02 03:52:51 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2021-05-07 11:41:53 +00:00
|
|
|
.Dd May 7, 2021
|
2015-10-28 11:06:04 +00:00
|
|
|
.Dt MPSUTIL 8
|
2015-08-02 03:52:51 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2015-10-28 11:06:04 +00:00
|
|
|
.Nm mpsutil ,
|
|
|
|
.Nm mprutil
|
|
|
|
.Nd Utility for managing LSI Fusion-MPT 2/3 controllers
|
2015-08-02 03:52:51 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Cm version
|
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
|
|
|
.Cm show adapter
|
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show adapters
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show all
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2021-03-25 14:43:40 +00:00
|
|
|
.Cm show cfgpage page
|
2015-10-28 11:06:04 +00:00
|
|
|
.Op Ar num
|
|
|
|
.Op Ar addr
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show devices
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show enclosures
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show expanders
|
2015-08-02 03:52:51 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-10-28 11:06:04 +00:00
|
|
|
.Cm show iocfacts
|
2015-11-17 20:42:59 +00:00
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2021-05-07 11:41:53 +00:00
|
|
|
.Cm set ncq
|
|
|
|
.Op Ar enable Ns | Ns Ar disable
|
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
2015-11-17 20:42:59 +00:00
|
|
|
.Cm flash save
|
|
|
|
.Op Ar firmware Ns | Ns Ar bios
|
|
|
|
.Op Ar file
|
|
|
|
.Nm
|
|
|
|
.Op Fl u Ar unit
|
|
|
|
.Cm flash update
|
|
|
|
.Op Ar firmware Ns | Ns Ar bios
|
|
|
|
.Ar file
|
2015-08-02 03:52:51 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility can be used to display or modify various parameters on LSI
|
2015-10-28 11:06:04 +00:00
|
|
|
Fusion-MPS 2 controllers.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm mprutil
|
|
|
|
utility can be used to display or modify various parameters on LSI
|
|
|
|
Fusion-MPS 3 controllers.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm mprutil
|
|
|
|
utility behave identically to
|
|
|
|
.Nm .
|
|
|
|
(same program)
|
|
|
|
.Pp
|
2015-08-02 03:52:51 +00:00
|
|
|
Each invocation of
|
|
|
|
.Nm
|
|
|
|
consists of zero or more global options followed by a command.
|
|
|
|
Commands may support additional optional or required arguments after the
|
|
|
|
command.
|
|
|
|
.Pp
|
|
|
|
Currently one global option is supported:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl u Ar unit
|
|
|
|
.Ar unit
|
|
|
|
specifies the unit of the controller to work with.
|
|
|
|
If no unit is specified,
|
|
|
|
then unit 0 is used.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
2015-11-17 20:42:59 +00:00
|
|
|
utility supports several different groups of commands.
|
|
|
|
The first group of commands provide information about the controller.
|
|
|
|
The second group of commands are used to manager controller-wide operations.
|
2015-08-02 03:52:51 +00:00
|
|
|
.Pp
|
|
|
|
The informational commands include:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Cm version
|
|
|
|
Displays the version of
|
|
|
|
.Nm .
|
|
|
|
.It Cm show adapter
|
2015-10-28 11:06:04 +00:00
|
|
|
Displays information about the controller such as the model number or firmware
|
|
|
|
version.
|
|
|
|
.It Cm show adapters
|
|
|
|
Displays a summary of all adapters.
|
|
|
|
.It Cm show all
|
|
|
|
Displays all devices, expanders and enclosures.
|
|
|
|
.It Cm show devices
|
|
|
|
Displays all devices.
|
|
|
|
.It Cm show expanders
|
|
|
|
Displays all expanders.
|
|
|
|
.It Cm show enclosures
|
|
|
|
Displays all enclosures.
|
|
|
|
.It Cm show iocfacts
|
|
|
|
Displays IOC Facts messages.
|
|
|
|
.It Cm show cfgpage page Oo Ar num Oc Op Ar addr
|
2021-03-25 14:43:40 +00:00
|
|
|
Dump raw config page in hex.
|
2015-08-02 03:52:51 +00:00
|
|
|
.El
|
2015-11-17 20:42:59 +00:00
|
|
|
.Pp
|
|
|
|
Controller management commands include:
|
|
|
|
.Bl -tag -width indent
|
2021-05-07 11:41:53 +00:00
|
|
|
.It Cm set ncq Oo Ar enable Ns | Ns Ar disable Oc
|
|
|
|
Enables or disables NCQ in the NVRAM of the card.
|
2015-11-17 20:42:59 +00:00
|
|
|
.It Cm flash save Oo Ar firmware Ns | Ns Ar bios Oc Op Ar file
|
|
|
|
Save the
|
|
|
|
.Ar firmware
|
|
|
|
or
|
|
|
|
.Ar bios
|
|
|
|
from the controller into a local
|
|
|
|
.Ar file .
|
|
|
|
If no
|
|
|
|
.Ar file
|
|
|
|
is specified then the file will be named
|
|
|
|
.Pa firmware
|
|
|
|
or
|
|
|
|
.Pa bios .
|
|
|
|
.It Cm flash update Oo Ar firmware Ns | Ns Ar bios Oc Ar file
|
|
|
|
Replace the
|
|
|
|
.Ar firmware
|
|
|
|
or
|
|
|
|
.Ar bios
|
|
|
|
from the controller with the one specified via
|
|
|
|
.Ar file .
|
|
|
|
.El
|
2015-08-02 03:52:51 +00:00
|
|
|
.Sh SEE ALSO
|
2015-11-17 20:42:59 +00:00
|
|
|
.Xr mpr 4 ,
|
2015-10-28 11:06:04 +00:00
|
|
|
.Xr mps 4
|
2015-08-02 03:52:51 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility first appeared in
|
2015-10-28 11:06:04 +00:00
|
|
|
.Fx 11.0 .
|
2021-04-17 01:01:38 +00:00
|
|
|
.Sh TODO
|
|
|
|
Flash operations (save/update) are not supported on big-endian architectures.
|
|
|
|
.Pp
|