blob: c42c55e1e25e7292420d0a13d2da2de977528392 [file] [log] [blame]
Mauro Carvalho Chehaba0b16432020-03-02 09:16:05 +01001.. SPDX-License-Identifier: GPL-2.0
2
3======================
4SCSI Kernel Parameters
5======================
Randy Dunlap163475f2010-08-14 12:36:14 -07006
Mauro Carvalho Chehab8c27ceff32016-10-18 10:12:27 -02007See Documentation/admin-guide/kernel-parameters.rst for general information on
Randy Dunlap163475f2010-08-14 12:36:14 -07008specifying module parameters.
9
10This document may not be entirely up to date and comprehensive. The command
Mauro Carvalho Chehaba0b16432020-03-02 09:16:05 +010011``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
Randy Dunlap163475f2010-08-14 12:36:14 -070012module. Loadable modules, after being loaded into the running kernel, also
13reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
14parameters may be changed at runtime by the command
Mauro Carvalho Chehaba0b16432020-03-02 09:16:05 +010015``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
Randy Dunlap163475f2010-08-14 12:36:14 -070016
Mauro Carvalho Chehaba0b16432020-03-02 09:16:05 +010017::
Randy Dunlap163475f2010-08-14 12:36:14 -070018
19 advansys= [HW,SCSI]
20 See header of drivers/scsi/advansys.c.
21
22 aha152x= [HW,SCSI]
Mauro Carvalho Chehab94b55302020-03-02 09:15:39 +010023 See Documentation/scsi/aha152x.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070024
25 aha1542= [HW,SCSI]
26 Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
27
28 aic7xxx= [HW,SCSI]
Mauro Carvalho Chehabcff7c4a2020-03-02 09:15:41 +010029 See Documentation/scsi/aic7xxx.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070030
31 aic79xx= [HW,SCSI]
Mauro Carvalho Chehab520a44d2020-03-02 09:15:40 +010032 See Documentation/scsi/aic79xx.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070033
Finn Thain9c41ab22016-03-23 21:10:28 +110034 atascsi= [HW,SCSI]
35 See drivers/scsi/atari_scsi.c.
Randy Dunlap163475f2010-08-14 12:36:14 -070036
37 BusLogic= [HW,SCSI]
38 See drivers/scsi/BusLogic.c, comment before function
39 BusLogic_ParseDriverOptions().
40
Randy Dunlap163475f2010-08-14 12:36:14 -070041 gvp11= [HW,SCSI]
42
Randy Dunlap163475f2010-08-14 12:36:14 -070043 ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
44 See header of drivers/scsi/ips.c.
45
Finn Thain9c41ab22016-03-23 21:10:28 +110046 mac5380= [HW,SCSI]
47 See drivers/scsi/mac_scsi.c.
Randy Dunlap163475f2010-08-14 12:36:14 -070048
Martin K. Petersen864326522017-10-19 10:20:03 -040049 scsi_mod.max_luns=
50 [SCSI] Maximum number of LUNs to probe.
Randy Dunlap163475f2010-08-14 12:36:14 -070051 Should be between 1 and 2^32-1.
52
Martin K. Petersen864326522017-10-19 10:20:03 -040053 scsi_mod.max_report_luns=
Randy Dunlap163475f2010-08-14 12:36:14 -070054 [SCSI] Maximum number of LUNs received.
55 Should be between 1 and 16384.
56
57 NCR_D700= [HW,SCSI]
58 See header of drivers/scsi/NCR_D700.c.
59
60 ncr5380= [HW,SCSI]
Mauro Carvalho Chehab3c1e6812020-03-02 09:15:49 +010061 See Documentation/scsi/g_NCR5380.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070062
63 ncr53c400= [HW,SCSI]
Mauro Carvalho Chehab3c1e6812020-03-02 09:15:49 +010064 See Documentation/scsi/g_NCR5380.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070065
66 ncr53c400a= [HW,SCSI]
Mauro Carvalho Chehab3c1e6812020-03-02 09:15:49 +010067 See Documentation/scsi/g_NCR5380.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070068
Randy Dunlap163475f2010-08-14 12:36:14 -070069 ncr53c8xx= [HW,SCSI]
70
Randy Dunlap163475f2010-08-14 12:36:14 -070071 osst= [HW,SCSI] SCSI Tape Driver
72 Format: <buffer_size>,<write_threshold>
Mauro Carvalho Chehabbf65c842020-03-02 09:16:09 +010073 See also Documentation/scsi/st.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070074
Randy Dunlap163475f2010-08-14 12:36:14 -070075 scsi_debug_*= [SCSI]
76 See drivers/scsi/scsi_debug.c.
77
Martin K. Petersen864326522017-10-19 10:20:03 -040078 scsi_mod.default_dev_flags=
Randy Dunlap163475f2010-08-14 12:36:14 -070079 [SCSI] SCSI default device flags
80 Format: <integer>
81
Martin K. Petersen864326522017-10-19 10:20:03 -040082 scsi_mod.dev_flags=
83 [SCSI] Black/white list entry for vendor and model
Randy Dunlap163475f2010-08-14 12:36:14 -070084 Format: <vendor>:<model>:<flags>
85 (flags are integer value)
86
Martin K. Petersen864326522017-10-19 10:20:03 -040087 scsi_mod.scsi_logging_level=
88 [SCSI] a bit mask of logging levels
Randy Dunlap163475f2010-08-14 12:36:14 -070089 See drivers/scsi/scsi_logging.h for bits. Also
90 settable via sysctl at dev.scsi.logging_level
91 (/proc/sys/dev/scsi/logging_level).
92 There is also a nice 'scsi_logging_level' script in the
93 S390-tools package, available for download at
Jan Höppner2e0d3bd2021-02-05 13:50:57 +010094 https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level
Randy Dunlap163475f2010-08-14 12:36:14 -070095
96 scsi_mod.scan= [SCSI] sync (default) scans SCSI busses as they are
97 discovered. async scans them in kernel threads,
98 allowing boot to proceed. none ignores them, expecting
99 user space to do the scan.
100
101 sim710= [SCSI,HW]
102 See header of drivers/scsi/sim710.c.
103
104 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
Mauro Carvalho Chehabbf65c842020-03-02 09:16:09 +0100105 See Documentation/scsi/st.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -0700106
Randy Dunlap163475f2010-08-14 12:36:14 -0700107 wd33c93= [HW,SCSI]
108 See header of drivers/scsi/wd33c93.c.