Mauro Carvalho Chehab | a0b1643 | 2020-03-02 09:16:05 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | ====================== |
| 4 | SCSI Kernel Parameters |
| 5 | ====================== |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 6 | |
Mauro Carvalho Chehab | 8c27ceff3 | 2016-10-18 10:12:27 -0200 | [diff] [blame] | 7 | See Documentation/admin-guide/kernel-parameters.rst for general information on |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 8 | specifying module parameters. |
| 9 | |
| 10 | This document may not be entirely up to date and comprehensive. The command |
Mauro Carvalho Chehab | a0b1643 | 2020-03-02 09:16:05 +0100 | [diff] [blame] | 11 | ``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 12 | module. Loadable modules, after being loaded into the running kernel, also |
| 13 | reveal their parameters in /sys/module/${modulename}/parameters/. Some of these |
| 14 | parameters may be changed at runtime by the command |
Mauro Carvalho Chehab | a0b1643 | 2020-03-02 09:16:05 +0100 | [diff] [blame] | 15 | ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 16 | |
Mauro Carvalho Chehab | a0b1643 | 2020-03-02 09:16:05 +0100 | [diff] [blame] | 17 | :: |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 18 | |
| 19 | advansys= [HW,SCSI] |
| 20 | See header of drivers/scsi/advansys.c. |
| 21 | |
| 22 | aha152x= [HW,SCSI] |
Mauro Carvalho Chehab | 94b5530 | 2020-03-02 09:15:39 +0100 | [diff] [blame] | 23 | See Documentation/scsi/aha152x.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 24 | |
| 25 | aha1542= [HW,SCSI] |
| 26 | Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]] |
| 27 | |
| 28 | aic7xxx= [HW,SCSI] |
Mauro Carvalho Chehab | cff7c4a | 2020-03-02 09:15:41 +0100 | [diff] [blame] | 29 | See Documentation/scsi/aic7xxx.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 30 | |
| 31 | aic79xx= [HW,SCSI] |
Mauro Carvalho Chehab | 520a44d | 2020-03-02 09:15:40 +0100 | [diff] [blame] | 32 | See Documentation/scsi/aic79xx.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 33 | |
Finn Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 34 | atascsi= [HW,SCSI] |
| 35 | See drivers/scsi/atari_scsi.c. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 36 | |
| 37 | BusLogic= [HW,SCSI] |
| 38 | See drivers/scsi/BusLogic.c, comment before function |
| 39 | BusLogic_ParseDriverOptions(). |
| 40 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 41 | gvp11= [HW,SCSI] |
| 42 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 43 | ips= [HW,SCSI] Adaptec / IBM ServeRAID controller |
| 44 | See header of drivers/scsi/ips.c. |
| 45 | |
Finn Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 46 | mac5380= [HW,SCSI] |
| 47 | See drivers/scsi/mac_scsi.c. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 48 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 49 | scsi_mod.max_luns= |
| 50 | [SCSI] Maximum number of LUNs to probe. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 51 | Should be between 1 and 2^32-1. |
| 52 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 53 | scsi_mod.max_report_luns= |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 54 | [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 Chehab | 3c1e681 | 2020-03-02 09:15:49 +0100 | [diff] [blame] | 61 | See Documentation/scsi/g_NCR5380.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 62 | |
| 63 | ncr53c400= [HW,SCSI] |
Mauro Carvalho Chehab | 3c1e681 | 2020-03-02 09:15:49 +0100 | [diff] [blame] | 64 | See Documentation/scsi/g_NCR5380.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 65 | |
| 66 | ncr53c400a= [HW,SCSI] |
Mauro Carvalho Chehab | 3c1e681 | 2020-03-02 09:15:49 +0100 | [diff] [blame] | 67 | See Documentation/scsi/g_NCR5380.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 68 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 69 | ncr53c8xx= [HW,SCSI] |
| 70 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 71 | osst= [HW,SCSI] SCSI Tape Driver |
| 72 | Format: <buffer_size>,<write_threshold> |
Mauro Carvalho Chehab | bf65c84 | 2020-03-02 09:16:09 +0100 | [diff] [blame] | 73 | See also Documentation/scsi/st.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 74 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 75 | scsi_debug_*= [SCSI] |
| 76 | See drivers/scsi/scsi_debug.c. |
| 77 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 78 | scsi_mod.default_dev_flags= |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 79 | [SCSI] SCSI default device flags |
| 80 | Format: <integer> |
| 81 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 82 | scsi_mod.dev_flags= |
| 83 | [SCSI] Black/white list entry for vendor and model |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 84 | Format: <vendor>:<model>:<flags> |
| 85 | (flags are integer value) |
| 86 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 87 | scsi_mod.scsi_logging_level= |
| 88 | [SCSI] a bit mask of logging levels |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 89 | 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öppner | 2e0d3bd | 2021-02-05 13:50:57 +0100 | [diff] [blame] | 94 | https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 95 | |
| 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 Chehab | bf65c84 | 2020-03-02 09:16:09 +0100 | [diff] [blame] | 105 | See Documentation/scsi/st.rst. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 106 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 107 | wd33c93= [HW,SCSI] |
| 108 | See header of drivers/scsi/wd33c93.c. |