2020-03-02 16:16:05 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
======================
|
|
|
|
SCSI Kernel Parameters
|
|
|
|
======================
|
2010-08-15 03:36:14 +08:00
|
|
|
|
2016-10-18 20:12:27 +08:00
|
|
|
See Documentation/admin-guide/kernel-parameters.rst for general information on
|
2010-08-15 03:36:14 +08:00
|
|
|
specifying module parameters.
|
|
|
|
|
|
|
|
This document may not be entirely up to date and comprehensive. The command
|
2020-03-02 16:16:05 +08:00
|
|
|
``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
|
2010-08-15 03:36:14 +08:00
|
|
|
module. Loadable modules, after being loaded into the running kernel, also
|
|
|
|
reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
|
|
|
|
parameters may be changed at runtime by the command
|
2020-03-02 16:16:05 +08:00
|
|
|
``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
2020-03-02 16:16:05 +08:00
|
|
|
::
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
advansys= [HW,SCSI]
|
|
|
|
See header of drivers/scsi/advansys.c.
|
|
|
|
|
|
|
|
aha152x= [HW,SCSI]
|
2020-03-02 16:15:39 +08:00
|
|
|
See Documentation/scsi/aha152x.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
aha1542= [HW,SCSI]
|
|
|
|
Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
|
|
|
|
|
|
|
|
aic7xxx= [HW,SCSI]
|
2020-03-02 16:15:41 +08:00
|
|
|
See Documentation/scsi/aic7xxx.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
aic79xx= [HW,SCSI]
|
2020-03-02 16:15:40 +08:00
|
|
|
See Documentation/scsi/aic79xx.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
2016-03-23 18:10:28 +08:00
|
|
|
atascsi= [HW,SCSI]
|
|
|
|
See drivers/scsi/atari_scsi.c.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
BusLogic= [HW,SCSI]
|
|
|
|
See drivers/scsi/BusLogic.c, comment before function
|
|
|
|
BusLogic_ParseDriverOptions().
|
|
|
|
|
|
|
|
gvp11= [HW,SCSI]
|
|
|
|
|
|
|
|
ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
|
|
|
|
See header of drivers/scsi/ips.c.
|
|
|
|
|
2016-03-23 18:10:28 +08:00
|
|
|
mac5380= [HW,SCSI]
|
|
|
|
See drivers/scsi/mac_scsi.c.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
2017-10-19 22:20:03 +08:00
|
|
|
scsi_mod.max_luns=
|
|
|
|
[SCSI] Maximum number of LUNs to probe.
|
2010-08-15 03:36:14 +08:00
|
|
|
Should be between 1 and 2^32-1.
|
|
|
|
|
2017-10-19 22:20:03 +08:00
|
|
|
scsi_mod.max_report_luns=
|
2010-08-15 03:36:14 +08:00
|
|
|
[SCSI] Maximum number of LUNs received.
|
|
|
|
Should be between 1 and 16384.
|
|
|
|
|
|
|
|
NCR_D700= [HW,SCSI]
|
|
|
|
See header of drivers/scsi/NCR_D700.c.
|
|
|
|
|
|
|
|
ncr5380= [HW,SCSI]
|
2020-03-02 16:15:49 +08:00
|
|
|
See Documentation/scsi/g_NCR5380.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
ncr53c400= [HW,SCSI]
|
2020-03-02 16:15:49 +08:00
|
|
|
See Documentation/scsi/g_NCR5380.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
ncr53c400a= [HW,SCSI]
|
2020-03-02 16:15:49 +08:00
|
|
|
See Documentation/scsi/g_NCR5380.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
ncr53c8xx= [HW,SCSI]
|
|
|
|
|
|
|
|
osst= [HW,SCSI] SCSI Tape Driver
|
|
|
|
Format: <buffer_size>,<write_threshold>
|
2020-03-02 16:16:09 +08:00
|
|
|
See also Documentation/scsi/st.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
scsi_debug_*= [SCSI]
|
|
|
|
See drivers/scsi/scsi_debug.c.
|
|
|
|
|
2017-10-19 22:20:03 +08:00
|
|
|
scsi_mod.default_dev_flags=
|
2010-08-15 03:36:14 +08:00
|
|
|
[SCSI] SCSI default device flags
|
|
|
|
Format: <integer>
|
|
|
|
|
2017-10-19 22:20:03 +08:00
|
|
|
scsi_mod.dev_flags=
|
|
|
|
[SCSI] Black/white list entry for vendor and model
|
2010-08-15 03:36:14 +08:00
|
|
|
Format: <vendor>:<model>:<flags>
|
|
|
|
(flags are integer value)
|
|
|
|
|
2017-10-19 22:20:03 +08:00
|
|
|
scsi_mod.scsi_logging_level=
|
|
|
|
[SCSI] a bit mask of logging levels
|
2010-08-15 03:36:14 +08:00
|
|
|
See drivers/scsi/scsi_logging.h for bits. Also
|
|
|
|
settable via sysctl at dev.scsi.logging_level
|
|
|
|
(/proc/sys/dev/scsi/logging_level).
|
|
|
|
There is also a nice 'scsi_logging_level' script in the
|
|
|
|
S390-tools package, available for download at
|
2021-02-05 20:50:57 +08:00
|
|
|
https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
scsi_mod.scan= [SCSI] sync (default) scans SCSI busses as they are
|
|
|
|
discovered. async scans them in kernel threads,
|
|
|
|
allowing boot to proceed. none ignores them, expecting
|
|
|
|
user space to do the scan.
|
|
|
|
|
|
|
|
sim710= [SCSI,HW]
|
|
|
|
See header of drivers/scsi/sim710.c.
|
|
|
|
|
|
|
|
st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
|
2020-03-02 16:16:09 +08:00
|
|
|
See Documentation/scsi/st.rst.
|
2010-08-15 03:36:14 +08:00
|
|
|
|
|
|
|
wd33c93= [HW,SCSI]
|
|
|
|
See header of drivers/scsi/wd33c93.c.
|