Update the mps(4) man page for the changes in the new LSI-supported driver.
This should have been included in change 230592. The supported hardware section still needs some updating to reflect the current reality. MFC after: 3 days
This commit is contained in:
parent
a8b6dc5010
commit
8a632743d0
@ -31,10 +31,10 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" Author: Ken Merry <ken@FreeBSD.org>
|
.\" Author: Ken Merry <ken@FreeBSD.org>
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: //depot/SpectraBSD/head/share/man/man4/mps.4#4 $
|
.\" $Id: //depot/SpectraBSD/head/share/man/man4/mps.4#6 $
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd September 13, 2010
|
.Dd February 7, 2012
|
||||||
.Dt MPS 4
|
.Dt MPS 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -58,7 +58,7 @@ The
|
|||||||
.Nm
|
.Nm
|
||||||
driver provides support for LSI Logic Fusion-MPT 2
|
driver provides support for LSI Logic Fusion-MPT 2
|
||||||
.Tn SAS
|
.Tn SAS
|
||||||
controllers.
|
controllers and WarpDrive solid state storage cards.
|
||||||
.Sh HARDWARE
|
.Sh HARDWARE
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -90,6 +90,16 @@ driver instances, set the following tunable value in
|
|||||||
hw.mps.disable_msi=1
|
hw.mps.disable_msi=1
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
To disable MSI interrupts for a specific
|
||||||
|
.Nm
|
||||||
|
driver instance, set the following tunable value in
|
||||||
|
.Xr loader.conf 5 :
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
dev.mps.X.disable_msi=1
|
||||||
|
.Ed
|
||||||
|
.Pp
|
||||||
|
where X is the adapter number.
|
||||||
|
.Pp
|
||||||
To disable MSI-X interrupts for all
|
To disable MSI-X interrupts for all
|
||||||
.Nm
|
.Nm
|
||||||
driver instances, set the following tunable value in
|
driver instances, set the following tunable value in
|
||||||
@ -98,19 +108,51 @@ driver instances, set the following tunable value in
|
|||||||
hw.mps.disable_msix=1
|
hw.mps.disable_msix=1
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
To allow the driver to send multiple task management commands (like abort,
|
To disable MSI-X interrupts for a specific
|
||||||
LUN reset, etc.), set the following variable:
|
.Nm
|
||||||
|
driver instance, set the following tunable value in
|
||||||
|
.Xr loader.conf 5 :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
hw.mps.X.allow_multiple_tm_cmds=1
|
dev.mps.X.disable_msix=1
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
via
|
To set the maximum number of DMA chains allocated for all adapters,
|
||||||
.Xr loader.conf 5
|
set the following variable in
|
||||||
or
|
.Xr loader.conf 5 :
|
||||||
.Xr sysctl 8 ,
|
.Bd -literal -offset indent
|
||||||
where X is the adapter number.
|
hw.mps.max_chains=NNNN
|
||||||
By default the driver only sends one task management command at a time, to
|
.Ed
|
||||||
avoid causing a potential controller lock-up.
|
.Pp
|
||||||
|
To set the maximum number of DMA chains allocated for a specific adapter,
|
||||||
|
set the following variable in
|
||||||
|
.Xr loader.conf 5 :
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
dev.mps.X.max_chains=NNNN
|
||||||
|
.Ed
|
||||||
|
.Pp
|
||||||
|
This variable may also be viewed via
|
||||||
|
.Xr sysctl 8
|
||||||
|
to see the maximum set for a given adapter.
|
||||||
|
.Pp
|
||||||
|
The current number of free chain frames may be seen via the
|
||||||
|
dev.mps.X.chain_free
|
||||||
|
.Xr sysctl 8
|
||||||
|
variable.
|
||||||
|
.Pp
|
||||||
|
The lowest number of free chain frames may be seen via the
|
||||||
|
dev.mps.X.chain_free_lowwater
|
||||||
|
.Xr sysctl 8
|
||||||
|
variable.
|
||||||
|
.Pp
|
||||||
|
The current number of active I/O commands is shown in the
|
||||||
|
dev.mps.X.io_cmds_active
|
||||||
|
.Xr sysctl 8
|
||||||
|
variable.
|
||||||
|
.Pp
|
||||||
|
The maximum number of active I/O command seen since boot is shown in the
|
||||||
|
dev.mps.X.io_cmds_highwater
|
||||||
|
.Xr sysctl 8
|
||||||
|
variable.
|
||||||
.Sh DEBUGGING
|
.Sh DEBUGGING
|
||||||
To enable debugging prints from the
|
To enable debugging prints from the
|
||||||
.Nm
|
.Nm
|
||||||
@ -142,7 +184,9 @@ Enable prints for controller events.
|
|||||||
.Xr pci 4 ,
|
.Xr pci 4 ,
|
||||||
.Xr sa 4 ,
|
.Xr sa 4 ,
|
||||||
.Xr scsi 4 ,
|
.Xr scsi 4 ,
|
||||||
.Xr targ 4
|
.Xr targ 4 ,
|
||||||
|
.Xr loader.conf 5 ,
|
||||||
|
.Xr sysctl 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
@ -154,20 +198,19 @@ The
|
|||||||
.Nm
|
.Nm
|
||||||
driver was originally written by
|
driver was originally written by
|
||||||
.An Scott Long Aq scottl@FreeBSD.org .
|
.An Scott Long Aq scottl@FreeBSD.org .
|
||||||
|
It has been improved and tested by LSI Logic Corporation.
|
||||||
This man page was written by
|
This man page was written by
|
||||||
.An Ken Merry Aq ken@FreeBSD.org .
|
.An Ken Merry Aq ken@FreeBSD.org .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
This driver is still in development, it has only been tested on the amd64
|
This driver has a couple of known shortcomings:
|
||||||
architecture and has some known shortcomings:
|
|
||||||
.Bl -bullet -compact
|
.Bl -bullet -compact
|
||||||
.It
|
.It
|
||||||
No IR (Integrated RAID) support.
|
Not endian safe.
|
||||||
|
It only works on little endian machines (e.g. amd64 and i386).
|
||||||
.It
|
.It
|
||||||
No userland utility support (e.g.
|
No userland utility available (e.g.
|
||||||
.Xr mptutil 8).
|
.Xr mptutil 8)
|
||||||
.It
|
.It
|
||||||
Sometimes the driver gets into a state where devices arrive and depart multiple
|
The driver probes devices sequentially.
|
||||||
times, without user intervention.
|
If your system has a large number of devices, the probe will take a while.
|
||||||
.It
|
|
||||||
The error recovery code isn't complete.
|
|
||||||
.El
|
.El
|
||||||
|
Loading…
Reference in New Issue
Block a user