blob: 9aba897c97ac9f1248449d4909dc8dfe092a7842 [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 gdth= [HW,SCSI]
42 See header of drivers/scsi/gdth.c.
43
44 gvp11= [HW,SCSI]
45
Randy Dunlap163475f2010-08-14 12:36:14 -070046 ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
47 See header of drivers/scsi/ips.c.
48
Finn Thain9c41ab22016-03-23 21:10:28 +110049 mac5380= [HW,SCSI]
50 See drivers/scsi/mac_scsi.c.
Randy Dunlap163475f2010-08-14 12:36:14 -070051
Martin K. Petersen864326522017-10-19 10:20:03 -040052 scsi_mod.max_luns=
53 [SCSI] Maximum number of LUNs to probe.
Randy Dunlap163475f2010-08-14 12:36:14 -070054 Should be between 1 and 2^32-1.
55
Martin K. Petersen864326522017-10-19 10:20:03 -040056 scsi_mod.max_report_luns=
Randy Dunlap163475f2010-08-14 12:36:14 -070057 [SCSI] Maximum number of LUNs received.
58 Should be between 1 and 16384.
59
60 NCR_D700= [HW,SCSI]
61 See header of drivers/scsi/NCR_D700.c.
62
63 ncr5380= [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 ncr53c400= [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
69 ncr53c400a= [HW,SCSI]
Mauro Carvalho Chehab3c1e6812020-03-02 09:15:49 +010070 See Documentation/scsi/g_NCR5380.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070071
Randy Dunlap163475f2010-08-14 12:36:14 -070072 ncr53c8xx= [HW,SCSI]
73
Randy Dunlap163475f2010-08-14 12:36:14 -070074 osst= [HW,SCSI] SCSI Tape Driver
75 Format: <buffer_size>,<write_threshold>
Mauro Carvalho Chehabbf65c842020-03-02 09:16:09 +010076 See also Documentation/scsi/st.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -070077
Randy Dunlap163475f2010-08-14 12:36:14 -070078 scsi_debug_*= [SCSI]
79 See drivers/scsi/scsi_debug.c.
80
Martin K. Petersen864326522017-10-19 10:20:03 -040081 scsi_mod.default_dev_flags=
Randy Dunlap163475f2010-08-14 12:36:14 -070082 [SCSI] SCSI default device flags
83 Format: <integer>
84
Martin K. Petersen864326522017-10-19 10:20:03 -040085 scsi_mod.dev_flags=
86 [SCSI] Black/white list entry for vendor and model
Randy Dunlap163475f2010-08-14 12:36:14 -070087 Format: <vendor>:<model>:<flags>
88 (flags are integer value)
89
Martin K. Petersen864326522017-10-19 10:20:03 -040090 scsi_mod.scsi_logging_level=
91 [SCSI] a bit mask of logging levels
Randy Dunlap163475f2010-08-14 12:36:14 -070092 See drivers/scsi/scsi_logging.h for bits. Also
93 settable via sysctl at dev.scsi.logging_level
94 (/proc/sys/dev/scsi/logging_level).
95 There is also a nice 'scsi_logging_level' script in the
96 S390-tools package, available for download at
97 http://www-128.ibm.com/developerworks/linux/linux390/s390-tools-1.5.4.html
98
99 scsi_mod.scan= [SCSI] sync (default) scans SCSI busses as they are
100 discovered. async scans them in kernel threads,
101 allowing boot to proceed. none ignores them, expecting
102 user space to do the scan.
103
104 sim710= [SCSI,HW]
105 See header of drivers/scsi/sim710.c.
106
107 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
Mauro Carvalho Chehabbf65c842020-03-02 09:16:09 +0100108 See Documentation/scsi/st.rst.
Randy Dunlap163475f2010-08-14 12:36:14 -0700109
Randy Dunlap163475f2010-08-14 12:36:14 -0700110 wd33c93= [HW,SCSI]
111 See header of drivers/scsi/wd33c93.c.