Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 1 | SCSI Kernel Parameters |
| 2 | ~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | |
Mauro Carvalho Chehab | 8c27ceff3 | 2016-10-18 10:12:27 -0200 | [diff] [blame] | 4 | See Documentation/admin-guide/kernel-parameters.rst for general information on |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 5 | specifying module parameters. |
| 6 | |
| 7 | This 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 |
| 9 | module. Loadable modules, after being loaded into the running kernel, also |
| 10 | reveal their parameters in /sys/module/${modulename}/parameters/. Some of these |
| 11 | parameters 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 Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 30 | atascsi= [HW,SCSI] |
| 31 | See drivers/scsi/atari_scsi.c. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 32 | |
| 33 | BusLogic= [HW,SCSI] |
| 34 | See drivers/scsi/BusLogic.c, comment before function |
| 35 | BusLogic_ParseDriverOptions(). |
| 36 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 37 | gdth= [HW,SCSI] |
| 38 | See header of drivers/scsi/gdth.c. |
| 39 | |
| 40 | gvp11= [HW,SCSI] |
| 41 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 42 | ips= [HW,SCSI] Adaptec / IBM ServeRAID controller |
| 43 | See header of drivers/scsi/ips.c. |
| 44 | |
Finn Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 45 | mac5380= [HW,SCSI] |
| 46 | See drivers/scsi/mac_scsi.c. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 47 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 48 | scsi_mod.max_luns= |
| 49 | [SCSI] Maximum number of LUNs to probe. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 50 | Should be between 1 and 2^32-1. |
| 51 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 52 | scsi_mod.max_report_luns= |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 53 | [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 Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 60 | See Documentation/scsi/g_NCR5380.txt. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 61 | |
| 62 | ncr53c400= [HW,SCSI] |
Finn Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 63 | See Documentation/scsi/g_NCR5380.txt. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 64 | |
| 65 | ncr53c400a= [HW,SCSI] |
Finn Thain | 9c41ab2 | 2016-03-23 21:10:28 +1100 | [diff] [blame] | 66 | See Documentation/scsi/g_NCR5380.txt. |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 67 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 68 | ncr53c8xx= [HW,SCSI] |
| 69 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 70 | osst= [HW,SCSI] SCSI Tape Driver |
| 71 | Format: <buffer_size>,<write_threshold> |
| 72 | See also Documentation/scsi/st.txt. |
| 73 | |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 74 | scsi_debug_*= [SCSI] |
| 75 | See drivers/scsi/scsi_debug.c. |
| 76 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 77 | scsi_mod.default_dev_flags= |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 78 | [SCSI] SCSI default device flags |
| 79 | Format: <integer> |
| 80 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 81 | scsi_mod.dev_flags= |
| 82 | [SCSI] Black/white list entry for vendor and model |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 83 | Format: <vendor>:<model>:<flags> |
| 84 | (flags are integer value) |
| 85 | |
Martin K. Petersen | 86432652 | 2017-10-19 10:20:03 -0400 | [diff] [blame] | 86 | scsi_mod.scsi_logging_level= |
| 87 | [SCSI] a bit mask of logging levels |
Randy Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 88 | 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 Dunlap | 163475f | 2010-08-14 12:36:14 -0700 | [diff] [blame] | 106 | wd33c93= [HW,SCSI] |
| 107 | See header of drivers/scsi/wd33c93.c. |