blob: 25a4b4cf04a6d462f4b640a396ae178b561984e2 [file] [log] [blame]
Randy Dunlap163475f2010-08-14 12:36:14 -07001 SCSI Kernel Parameters
2 ~~~~~~~~~~~~~~~~~~~~~~
3
Mauro Carvalho Chehab8c27ceff32016-10-18 10:12:27 -02004See Documentation/admin-guide/kernel-parameters.rst for general information on
Randy Dunlap163475f2010-08-14 12:36:14 -07005specifying module parameters.
6
7This document may not be entirely up to date and comprehensive. The command
8"modinfo -p ${modulename}" shows a current list of all parameters of a loadable
9module. Loadable modules, after being loaded into the running kernel, also
10reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
11parameters may be changed at runtime by the command
12"echo -n ${value} > /sys/module/${modulename}/parameters/${parm}".
13
14
15 advansys= [HW,SCSI]
16 See header of drivers/scsi/advansys.c.
17
18 aha152x= [HW,SCSI]
19 See Documentation/scsi/aha152x.txt.
20
21 aha1542= [HW,SCSI]
22 Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
23
24 aic7xxx= [HW,SCSI]
25 See Documentation/scsi/aic7xxx.txt.
26
27 aic79xx= [HW,SCSI]
28 See Documentation/scsi/aic79xx.txt.
29
Finn Thain9c41ab22016-03-23 21:10:28 +110030 atascsi= [HW,SCSI]
31 See drivers/scsi/atari_scsi.c.
Randy Dunlap163475f2010-08-14 12:36:14 -070032
33 BusLogic= [HW,SCSI]
34 See drivers/scsi/BusLogic.c, comment before function
35 BusLogic_ParseDriverOptions().
36
Randy Dunlap163475f2010-08-14 12:36:14 -070037 gdth= [HW,SCSI]
38 See header of drivers/scsi/gdth.c.
39
40 gvp11= [HW,SCSI]
41
Randy Dunlap163475f2010-08-14 12:36:14 -070042 ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
43 See header of drivers/scsi/ips.c.
44
Finn Thain9c41ab22016-03-23 21:10:28 +110045 mac5380= [HW,SCSI]
46 See drivers/scsi/mac_scsi.c.
Randy Dunlap163475f2010-08-14 12:36:14 -070047
Martin K. Petersen864326522017-10-19 10:20:03 -040048 scsi_mod.max_luns=
49 [SCSI] Maximum number of LUNs to probe.
Randy Dunlap163475f2010-08-14 12:36:14 -070050 Should be between 1 and 2^32-1.
51
Martin K. Petersen864326522017-10-19 10:20:03 -040052 scsi_mod.max_report_luns=
Randy Dunlap163475f2010-08-14 12:36:14 -070053 [SCSI] Maximum number of LUNs received.
54 Should be between 1 and 16384.
55
56 NCR_D700= [HW,SCSI]
57 See header of drivers/scsi/NCR_D700.c.
58
59 ncr5380= [HW,SCSI]
Finn Thain9c41ab22016-03-23 21:10:28 +110060 See Documentation/scsi/g_NCR5380.txt.
Randy Dunlap163475f2010-08-14 12:36:14 -070061
62 ncr53c400= [HW,SCSI]
Finn Thain9c41ab22016-03-23 21:10:28 +110063 See Documentation/scsi/g_NCR5380.txt.
Randy Dunlap163475f2010-08-14 12:36:14 -070064
65 ncr53c400a= [HW,SCSI]
Finn Thain9c41ab22016-03-23 21:10:28 +110066 See Documentation/scsi/g_NCR5380.txt.
Randy Dunlap163475f2010-08-14 12:36:14 -070067
Randy Dunlap163475f2010-08-14 12:36:14 -070068 ncr53c8xx= [HW,SCSI]
69
Randy Dunlap163475f2010-08-14 12:36:14 -070070 osst= [HW,SCSI] SCSI Tape Driver
71 Format: <buffer_size>,<write_threshold>
72 See also Documentation/scsi/st.txt.
73
Randy Dunlap163475f2010-08-14 12:36:14 -070074 scsi_debug_*= [SCSI]
75 See drivers/scsi/scsi_debug.c.
76
Martin K. Petersen864326522017-10-19 10:20:03 -040077 scsi_mod.default_dev_flags=
Randy Dunlap163475f2010-08-14 12:36:14 -070078 [SCSI] SCSI default device flags
79 Format: <integer>
80
Martin K. Petersen864326522017-10-19 10:20:03 -040081 scsi_mod.dev_flags=
82 [SCSI] Black/white list entry for vendor and model
Randy Dunlap163475f2010-08-14 12:36:14 -070083 Format: <vendor>:<model>:<flags>
84 (flags are integer value)
85
Martin K. Petersen864326522017-10-19 10:20:03 -040086 scsi_mod.scsi_logging_level=
87 [SCSI] a bit mask of logging levels
Randy Dunlap163475f2010-08-14 12:36:14 -070088 See drivers/scsi/scsi_logging.h for bits. Also
89 settable via sysctl at dev.scsi.logging_level
90 (/proc/sys/dev/scsi/logging_level).
91 There is also a nice 'scsi_logging_level' script in the
92 S390-tools package, available for download at
93 http://www-128.ibm.com/developerworks/linux/linux390/s390-tools-1.5.4.html
94
95 scsi_mod.scan= [SCSI] sync (default) scans SCSI busses as they are
96 discovered. async scans them in kernel threads,
97 allowing boot to proceed. none ignores them, expecting
98 user space to do the scan.
99
100 sim710= [SCSI,HW]
101 See header of drivers/scsi/sim710.c.
102
103 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
104 See Documentation/scsi/st.txt.
105
Randy Dunlap163475f2010-08-14 12:36:14 -0700106 wd33c93= [HW,SCSI]
107 See header of drivers/scsi/wd33c93.c.