^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) SCSI Kernel Parameters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) See Documentation/admin-guide/kernel-parameters.rst for general information on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) specifying module parameters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) This document may not be entirely up to date and comprehensive. The command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) ``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) module. Loadable modules, after being loaded into the running kernel, also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) parameters may be changed at runtime by the command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) ::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) advansys= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) See header of drivers/scsi/advansys.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) aha152x= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) See Documentation/scsi/aha152x.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) aha1542= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) aic7xxx= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) See Documentation/scsi/aic7xxx.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) aic79xx= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) See Documentation/scsi/aic79xx.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) atascsi= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) See drivers/scsi/atari_scsi.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) BusLogic= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) See drivers/scsi/BusLogic.c, comment before function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) BusLogic_ParseDriverOptions().
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) gdth= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) See header of drivers/scsi/gdth.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) gvp11= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) See header of drivers/scsi/ips.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) mac5380= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) See drivers/scsi/mac_scsi.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) scsi_mod.max_luns=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) [SCSI] Maximum number of LUNs to probe.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Should be between 1 and 2^32-1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) scsi_mod.max_report_luns=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) [SCSI] Maximum number of LUNs received.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Should be between 1 and 16384.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) NCR_D700= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) See header of drivers/scsi/NCR_D700.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) ncr5380= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) See Documentation/scsi/g_NCR5380.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) ncr53c400= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) See Documentation/scsi/g_NCR5380.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) ncr53c400a= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) See Documentation/scsi/g_NCR5380.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) ncr53c8xx= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) osst= [HW,SCSI] SCSI Tape Driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Format: <buffer_size>,<write_threshold>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) See also Documentation/scsi/st.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) scsi_debug_*= [SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) See drivers/scsi/scsi_debug.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) scsi_mod.default_dev_flags=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) [SCSI] SCSI default device flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Format: <integer>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) scsi_mod.dev_flags=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) [SCSI] Black/white list entry for vendor and model
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) Format: <vendor>:<model>:<flags>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) (flags are integer value)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) scsi_mod.scsi_logging_level=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) [SCSI] a bit mask of logging levels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) See drivers/scsi/scsi_logging.h for bits. Also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) settable via sysctl at dev.scsi.logging_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) (/proc/sys/dev/scsi/logging_level).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) There is also a nice 'scsi_logging_level' script in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) S390-tools package, available for download at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) https://github.com/ibm-s390-tools/s390-tools/blob/master/scripts/scsi_logging_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) scsi_mod.scan= [SCSI] sync (default) scans SCSI busses as they are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) discovered. async scans them in kernel threads,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) allowing boot to proceed. none ignores them, expecting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) user space to do the scan.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) sim710= [SCSI,HW]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) See header of drivers/scsi/sim710.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) See Documentation/scsi/st.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) wd33c93= [HW,SCSI]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) See header of drivers/scsi/wd33c93.c.