2012-03-29 05:02:12 +00:00
|
|
|
.\"
|
2010-09-14 21:40:29 +00:00
|
|
|
.\" Copyright (c) 2010 Spectra Logic Corporation
|
2016-07-12 19:34:10 +00:00
|
|
|
.\" Copyright (c) 2014 LSI Corp
|
2017-05-25 19:14:44 +00:00
|
|
|
.\" Copyright (c) 2015-2017 Avago Technologies
|
|
|
|
.\" Copyright (c) 2015-2017 Broadcom Ltd.
|
2010-09-14 21:40:29 +00:00
|
|
|
.\" All rights reserved.
|
2012-03-29 05:02:12 +00:00
|
|
|
.\"
|
2010-09-14 21:40:29 +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,
|
|
|
|
.\" without modification.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
|
|
|
.\" substantially similar to the "NO WARRANTY" disclaimer below
|
|
|
|
.\" ("Disclaimer") and any redistribution must be conditioned upon
|
|
|
|
.\" including a substantially similar Disclaimer requirement for further
|
|
|
|
.\" binary redistribution.
|
2012-03-29 05:02:12 +00:00
|
|
|
.\"
|
2010-09-14 21:40:29 +00:00
|
|
|
.\" NO WARRANTY
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
|
|
|
|
.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
.\" HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES.
|
2012-03-29 05:02:12 +00:00
|
|
|
.\"
|
2010-09-14 21:40:29 +00:00
|
|
|
.\" mps driver man page.
|
|
|
|
.\"
|
|
|
|
.\" Author: Ken Merry <ken@FreeBSD.org>
|
2016-07-12 19:34:10 +00:00
|
|
|
.\" Author: Stephen McConnell <slm@FreeBSD.org>
|
2010-09-14 21:40:29 +00:00
|
|
|
.\"
|
2012-02-07 23:43:29 +00:00
|
|
|
.\" $Id: //depot/SpectraBSD/head/share/man/man4/mps.4#6 $
|
2010-09-14 21:40:29 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2017-05-25 19:14:44 +00:00
|
|
|
.Dd May 25, 2017
|
2010-09-14 21:40:29 +00:00
|
|
|
.Dt MPS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mps
|
2016-07-12 19:34:10 +00:00
|
|
|
.Nd "LSI Fusion-MPT 2 IT/IR 6Gb/s Serial Attached SCSI/SATA driver"
|
2010-09-14 21:40:29 +00:00
|
|
|
.Sh SYNOPSIS
|
2016-07-12 19:34:10 +00:00
|
|
|
To compile this driver into the kernel, place these lines in the kernel
|
|
|
|
configuration file:
|
2010-09-14 21:40:29 +00:00
|
|
|
.Bd -ragged -offset indent
|
2016-07-12 19:34:10 +00:00
|
|
|
.Cd "device pci"
|
2010-09-14 21:40:29 +00:00
|
|
|
.Cd "device scbus"
|
|
|
|
.Cd "device mps"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
The driver can be loaded as a module at boot time by placing this line in
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
2010-09-15 16:05:51 +00:00
|
|
|
mps_load="YES"
|
2010-09-14 21:40:29 +00:00
|
|
|
.Ed
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver provides support for Broadcom Ltd./Avago Tech (LSI)
|
|
|
|
Fusion-MPT 2 IT/IR
|
2010-09-14 21:40:29 +00:00
|
|
|
.Tn SAS
|
2012-02-07 23:43:29 +00:00
|
|
|
controllers and WarpDrive solid state storage cards.
|
2010-09-14 21:40:29 +00:00
|
|
|
.Sh HARDWARE
|
2016-07-12 19:34:10 +00:00
|
|
|
These controllers are supported by the
|
2010-09-14 21:40:29 +00:00
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver:
|
2010-09-14 21:40:29 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2004 (4 Port SAS)
|
2010-09-14 21:40:29 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2008 (8 Port SAS)
|
2010-09-14 21:40:29 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2108 (8 Port SAS)
|
2010-09-14 21:40:29 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2116 (16 Port SAS)
|
2010-09-14 21:40:29 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2208 (8 Port SAS)
|
2013-01-03 20:31:45 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SAS 2308 (8 Port SAS)
|
2013-01-03 20:31:45 +00:00
|
|
|
.It
|
2016-07-12 19:34:10 +00:00
|
|
|
Broadcom Ltd./Avago Tech (LSI) SSS6200 Solid State Storage
|
2013-01-03 20:31:45 +00:00
|
|
|
.It
|
|
|
|
Intel Integrated RAID Module RMS25JB040
|
|
|
|
.It
|
|
|
|
Intel Integrated RAID Module RMS25JB080
|
|
|
|
.It
|
|
|
|
Intel Integrated RAID Module RMS25KB040
|
|
|
|
.It
|
|
|
|
Intel Integrated RAID Module RMS25KB080
|
2010-09-14 21:40:29 +00:00
|
|
|
.El
|
|
|
|
.Sh CONFIGURATION
|
2016-07-12 19:34:10 +00:00
|
|
|
In all tunable descriptions below, X represents the adapter number.
|
|
|
|
.Pp
|
2010-09-14 21:40:29 +00:00
|
|
|
To disable MSI interrupts for all
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver instances, set this tunable value in
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.disable_msi=1
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2012-02-07 23:43:29 +00:00
|
|
|
To disable MSI interrupts for a specific
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver instance, set this tunable value in
|
2012-02-07 23:43:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.disable_msi=1
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2010-09-14 21:40:29 +00:00
|
|
|
To disable MSI-X interrupts for all
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver instances, set this tunable value in
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.disable_msix=1
|
|
|
|
.Ed
|
Turn on serialization of task management commands going down to the
controller, but make it optional.
After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time. We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.
But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.
mps.c: Add support for the sysctl and tunable, and add a
comment about the possible return values to
mps_map_command().
mps_sas.c: Run all task management commands through two new
routines, mpssas_issue_tm_request() and
mpssas_complete_tm_request().
This allows us to optionally serialize task
management commands. Also, change things so that
the response to a task management command always
comes back through the callback. (Before it could
come via the callback or the return value.)
mpsvar.h: Add softc variables for the list of active task
management commands, the number of active commands,
and whether we should allow multiple active task
management commands. Add an active command flag.
mps.4: Describe the new sysctl/loader tunable variable.
Sponsored by: Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
|
|
|
.Pp
|
2012-02-07 23:43:29 +00:00
|
|
|
To disable MSI-X interrupts for a specific
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver instance, set this tunable value in
|
2012-02-07 23:43:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
Turn on serialization of task management commands going down to the
controller, but make it optional.
After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time. We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.
But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.
mps.c: Add support for the sysctl and tunable, and add a
comment about the possible return values to
mps_map_command().
mps_sas.c: Run all task management commands through two new
routines, mpssas_issue_tm_request() and
mpssas_complete_tm_request().
This allows us to optionally serialize task
management commands. Also, change things so that
the response to a task management command always
comes back through the callback. (Before it could
come via the callback or the return value.)
mpsvar.h: Add softc variables for the list of active task
management commands, the number of active commands,
and whether we should allow multiple active task
management commands. Add an active command flag.
mps.4: Describe the new sysctl/loader tunable variable.
Sponsored by: Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
|
|
|
.Bd -literal -offset indent
|
2012-02-07 23:43:29 +00:00
|
|
|
dev.mps.X.disable_msix=1
|
Turn on serialization of task management commands going down to the
controller, but make it optional.
After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time. We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.
But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.
mps.c: Add support for the sysctl and tunable, and add a
comment about the possible return values to
mps_map_command().
mps_sas.c: Run all task management commands through two new
routines, mpssas_issue_tm_request() and
mpssas_complete_tm_request().
This allows us to optionally serialize task
management commands. Also, change things so that
the response to a task management command always
comes back through the callback. (Before it could
come via the callback or the return value.)
mpsvar.h: Add softc variables for the list of active task
management commands, the number of active commands,
and whether we should allow multiple active task
management commands. Add an active command flag.
mps.4: Describe the new sysctl/loader tunable variable.
Sponsored by: Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
To set the maximum number of DMA chains allocated for all adapters, set this
|
|
|
|
tunable in
|
2012-02-07 23:43:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.max_chains=NNNN
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
To set the maximum number of DMA chains allocated for a specific adapter,
|
2016-07-12 19:34:10 +00:00
|
|
|
set this tunable in
|
2012-02-07 23:43:29 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.max_chains=NNNN
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
The default max_chains value is 2048.
|
2012-02-07 23:43:29 +00:00
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
The current number of free chain frames is stored in the
|
2012-02-07 23:43:29 +00:00
|
|
|
dev.mps.X.chain_free
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable.
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
The lowest number of free chain frames seen since boot is stored in the
|
2012-02-07 23:43:29 +00:00
|
|
|
dev.mps.X.chain_free_lowwater
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable.
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
The number of times that chain frame allocations have failed since boot is
|
|
|
|
stored in the
|
|
|
|
dev.mps.X.chain_alloc_fail
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable.
|
|
|
|
This can be used to determine whether the max_chains tunable should be
|
|
|
|
increased to help performance.
|
|
|
|
.Pp
|
2012-02-07 23:43:29 +00:00
|
|
|
The current number of active I/O commands is shown in the
|
|
|
|
dev.mps.X.io_cmds_active
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable.
|
2016-07-12 19:34:10 +00:00
|
|
|
.Pp
|
|
|
|
To set the maximum number of pages that will be used per I/O for all adapters,
|
|
|
|
set this tunable in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.max_io_pages=NNNN
|
|
|
|
.Ed
|
2012-02-07 23:43:29 +00:00
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
To set the maximum number of pages that will be used per I/O for a specific
|
|
|
|
adapter, set this tunable in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.max_io_pages=NNNN
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
The default max_io_pages value is -1, meaning that the maximum I/O size that
|
|
|
|
will be used per I/O will be calculated using the IOCFacts values stored in
|
|
|
|
the controller.
|
|
|
|
The lowest value that the driver will use for max_io_pages is 1, otherwise
|
|
|
|
IOCFacts will be used to calculate the maximum I/O size.
|
|
|
|
The smaller I/O size calculated from either max_io_pages or IOCFacts will be the
|
|
|
|
maximum I/O size used by the driver.
|
|
|
|
.Pp
|
|
|
|
The highest number of active I/O commands seen since boot is stored in the
|
2012-02-07 23:43:29 +00:00
|
|
|
dev.mps.X.io_cmds_highwater
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable.
|
2015-12-11 21:50:59 +00:00
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
Devices can be excluded from
|
|
|
|
.Nm
|
|
|
|
control for all adapters by setting this tunable in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.exclude_ids=Y
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Y represents the target ID of the device.
|
|
|
|
If more than one device is to be excluded, target IDs are separated by commas.
|
|
|
|
.Pp
|
|
|
|
Devices can be excluded from
|
|
|
|
.Nm
|
|
|
|
control for a specific adapter by setting this tunable in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.exclude_ids=Y
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Y represents the target ID of the device.
|
|
|
|
If more than one device is to be excluded, target IDs are separated by commas.
|
|
|
|
.Pp
|
2015-12-11 21:50:59 +00:00
|
|
|
The adapter can issue the
|
|
|
|
.Sy StartStopUnit
|
2016-07-12 19:34:10 +00:00
|
|
|
SCSI command to SATA direct-access devices during shutdown.
|
|
|
|
This allows the device to quiesce powering down.
|
2015-12-11 21:50:59 +00:00
|
|
|
To control this feature for all adapters, set the
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.enable_ssu
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2016-07-12 19:34:10 +00:00
|
|
|
tunable in
|
2015-12-11 21:50:59 +00:00
|
|
|
.Xr loader.conf 5
|
2016-07-12 19:34:10 +00:00
|
|
|
to one of these values:
|
2015-12-11 21:50:59 +00:00
|
|
|
.Bl -tag -width 6n -offset indent
|
|
|
|
.It 0
|
|
|
|
Do not send SSU to either HDDs or SSDs.
|
|
|
|
.It 1
|
2016-07-12 19:34:10 +00:00
|
|
|
Send SSU to SSDs, but not to HDDs.
|
|
|
|
This is the default value.
|
2015-12-11 21:50:59 +00:00
|
|
|
.It 2
|
|
|
|
Send SSU to HDDs, but not to SSDs.
|
|
|
|
.It 3
|
|
|
|
Send SSU to both HDDs and SSDs.
|
|
|
|
.El
|
|
|
|
.Pp
|
2017-05-25 19:14:44 +00:00
|
|
|
To control this feature for a specific adapter, set this tunable value in
|
2015-12-11 21:50:59 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.enable_ssu
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2017-05-25 19:14:44 +00:00
|
|
|
The same set of values are valid as when setting this tunable for all adapters.
|
2016-07-12 19:34:10 +00:00
|
|
|
.Pp
|
|
|
|
SATA disks that take several seconds to spin up and fail the SATA Identify
|
|
|
|
command might not be discovered by the driver.
|
|
|
|
This problem can sometimes be overcome by increasing the value of the spinup
|
|
|
|
wait time in
|
|
|
|
.Xr loader.conf 5
|
|
|
|
with the
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.spinup_wait_time=NNNN
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
tunable.
|
|
|
|
NNNN represents the number of seconds to wait for SATA devices to spin up when
|
|
|
|
the device fails the initial SATA Identify command.
|
|
|
|
.Pp
|
|
|
|
Spinup wait times can be set for specific adapters in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
with the
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.spinup_wait_time=NNNN
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
tunable.
|
|
|
|
NNNN is the number of seconds to wait for SATA devices to spin up when they fail
|
|
|
|
the initial SATA Identify command.
|
2017-05-25 19:14:44 +00:00
|
|
|
.Pp
|
|
|
|
The driver can map devices discovered by the adapter so that target IDs
|
|
|
|
corresponding to a specific device persist across resets and reboots.
|
|
|
|
In some cases it is possible for devices to lose their mapped IDs due to
|
|
|
|
unexpected behavior from certain hardware, such as some types of enclosures.
|
|
|
|
To overcome this problem, a tunable is provided that will force the driver to
|
|
|
|
map devices using the Phy number associated with the device.
|
|
|
|
This feature is not recommended if the topology includes multiple
|
|
|
|
enclosures/expanders.
|
|
|
|
If multiple enclosures/expanders are present in the topology, Phy numbers are
|
|
|
|
repeated, causing all devices at these Phy numbers except the first device to
|
|
|
|
fail enumeration.
|
|
|
|
To control this feature for all adapters, set the
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
hw.mps.use_phy_num
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
tunable in
|
|
|
|
.Xr loader.conf 5
|
|
|
|
to one of these values:
|
|
|
|
.Bl -tag -width 6n -offset indent
|
|
|
|
.It -1
|
|
|
|
Only use Phy numbers to map devices and bypass the driver's mapping logic.
|
|
|
|
.It 0
|
|
|
|
Never use Phy numbers to map devices.
|
|
|
|
.It 1
|
|
|
|
Use Phy numbers to map devices, but only if the driver's mapping logic fails
|
|
|
|
to map the device that is being enumerated.
|
|
|
|
This is the default value.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
To control this feature for a specific adapter, set this tunable value in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
dev.mps.X.use_phy_num
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
The same set of values are valid as when setting this tunable for all adapters.
|
|
|
|
.Pp
|
2010-09-14 21:40:29 +00:00
|
|
|
.Sh DEBUGGING
|
2017-09-24 13:14:50 +00:00
|
|
|
Driver diagnostic printing is controlled in
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr loader.conf 5
|
2017-09-24 13:14:50 +00:00
|
|
|
by using the global
|
|
|
|
.Va hw.mps.debug_level
|
|
|
|
and per-device
|
|
|
|
.Va dev.mps.X.debug_level
|
|
|
|
tunables.
|
|
|
|
One can alter the debug level for any adapter at run-time using the
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable
|
|
|
|
.Va dev.mps.X.debug_level .
|
|
|
|
.Pp
|
|
|
|
All
|
|
|
|
.Va debug_level
|
|
|
|
variables can be named by either an integer value or a text string.
|
|
|
|
Multiple values can be specified together by either ORing the
|
|
|
|
integer values or by providing a comma-separated list of names.
|
|
|
|
The current
|
|
|
|
.Va debug_level
|
|
|
|
status is reported in both formats for convenience.
|
|
|
|
The following levels are available:
|
|
|
|
.Bl -column "FlagXX" "NameXXXX" "Description" -offset indent
|
|
|
|
.It Em Flag Ta Em Name Ta Em Description
|
|
|
|
.It 0x0001 Ta info Ta Basic information (enabled by default)
|
|
|
|
.It 0x0002 Ta fault Ta Driver faults (enabled by default)
|
|
|
|
.It 0x0004 Ta event Ta Controller events
|
|
|
|
.It 0x0008 Ta log Ta Logging data from controller
|
|
|
|
.It 0x0010 Ta recovery Ta Tracing of recovery operations
|
|
|
|
.It 0x0020 Ta error Ta Parameter errors and programming bugs
|
|
|
|
.It 0x0040 Ta init Ta System initialization operations
|
|
|
|
.It 0x0080 Ta xinfo Ta More detailed information
|
|
|
|
.It 0x0100 Ta user Ta Tracing of user-generated commands (IOCTL)
|
|
|
|
.It 0x0200 Ta mapping Ta Tracing of device mapping
|
|
|
|
.It 0x0400 Ta trace Ta Tracing through driver functions
|
|
|
|
.El
|
2010-09-14 21:40:29 +00:00
|
|
|
.Sh SEE ALSO
|
2016-07-12 19:34:10 +00:00
|
|
|
.Xr cam 4 ,
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr cd 4 ,
|
|
|
|
.Xr ch 4 ,
|
|
|
|
.Xr da 4 ,
|
2016-07-12 19:34:10 +00:00
|
|
|
.Xr mpr 4 ,
|
2010-09-14 21:40:29 +00:00
|
|
|
.Xr mpt 4 ,
|
|
|
|
.Xr pci 4 ,
|
|
|
|
.Xr sa 4 ,
|
|
|
|
.Xr scsi 4 ,
|
2012-02-07 23:43:29 +00:00
|
|
|
.Xr targ 4 ,
|
|
|
|
.Xr loader.conf 5 ,
|
|
|
|
.Xr sysctl 8
|
2011-06-02 09:56:53 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2016-07-12 19:34:10 +00:00
|
|
|
driver first appeared in FreeBSD 9.3.
|
2011-06-02 09:56:53 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was originally written by
|
2016-07-12 19:34:10 +00:00
|
|
|
.An -nosplit
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Scott Long Aq Mt scottl@FreeBSD.org .
|
2016-07-12 19:34:10 +00:00
|
|
|
It has been improved and tested by LSI Corporation,
|
|
|
|
Avago Technologies (formally LSI), and Broadcom Ltd. (formally Avago).
|
|
|
|
.Pp
|
2011-06-02 09:56:53 +00:00
|
|
|
This man page was written by
|
2016-07-12 19:34:10 +00:00
|
|
|
.An Ken Merry Aq Mt ken@FreeBSD.org
|
|
|
|
with additional input from
|
|
|
|
.An Stephen McConnell Aq Mt slm@FreeBSD.org .
|