Documentation / scsi / scsi-parameters.rst


Based on kernel version 5.15. Page generated on 2021-11-01 09:19 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
.. SPDX-License-Identifier: GPL-2.0

======================
SCSI Kernel Parameters
======================

See Documentation/admin-guide/kernel-parameters.rst for general information on
specifying module parameters.

This document may not be entirely up to date and comprehensive. The command
``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
module. Loadable modules, after being loaded into the running kernel, also
reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
parameters may be changed at runtime by the command
``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.

::

	advansys=	[HW,SCSI]
			See header of drivers/scsi/advansys.c.

	aha152x=	[HW,SCSI]
			See Documentation/scsi/aha152x.rst.

	aha1542=	[HW,SCSI]
			Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]

	aic7xxx=	[HW,SCSI]
			See Documentation/scsi/aic7xxx.rst.

	aic79xx=	[HW,SCSI]
			See Documentation/scsi/aic79xx.rst.

	atascsi=	[HW,SCSI]
			See drivers/scsi/atari_scsi.c.

	BusLogic=	[HW,SCSI]
			See drivers/scsi/BusLogic.c, comment before function
			BusLogic_ParseDriverOptions().

	gvp11=		[HW,SCSI]

	ips=		[HW,SCSI] Adaptec / IBM ServeRAID controller
			See header of drivers/scsi/ips.c.

	mac5380=	[HW,SCSI]
			See drivers/scsi/mac_scsi.c.

	scsi_mod.max_luns=
			[SCSI] Maximum number of LUNs to probe.
			Should be between 1 and 2^32-1.

	scsi_mod.max_report_luns=
			[SCSI] Maximum number of LUNs received.
			Should be between 1 and 16384.

	NCR_D700=	[HW,SCSI]
			See header of drivers/scsi/NCR_D700.c.

	ncr5380=	[HW,SCSI]
			See Documentation/scsi/g_NCR5380.rst.

	ncr53c400=	[HW,SCSI]
			See Documentation/scsi/g_NCR5380.rst.

	ncr53c400a=	[HW,SCSI]
			See Documentation/scsi/g_NCR5380.rst.

	ncr53c8xx=	[HW,SCSI]

	osst=		[HW,SCSI] SCSI Tape Driver
			Format: <buffer_size>,<write_threshold>
			See also Documentation/scsi/st.rst.

	scsi_debug_*=	[SCSI]
			See drivers/scsi/scsi_debug.c.

	scsi_mod.default_dev_flags=
			[SCSI] SCSI default device flags
			Format: <integer>

	scsi_mod.dev_flags=
			[SCSI] Black/white list entry for vendor and model
			Format: <vendor>:<model>:<flags>
			(flags are integer value)

	scsi_mod.scsi_logging_level=
			[SCSI] a bit mask of logging levels
			See drivers/scsi/scsi_logging.h for bits.  Also
			settable via sysctl at dev.scsi.logging_level
			(/proc/sys/dev/scsi/logging_level).
			There is also a nice 'scsi_logging_level' script in the
			S390-tools package, available for download at
			https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level

	scsi_mod.scan=	[SCSI] sync (default) scans SCSI busses as they are
			discovered.  async scans them in kernel threads,
			allowing boot to proceed.  none ignores them, expecting
			user space to do the scan.

	sim710=		[SCSI,HW]
			See header of drivers/scsi/sim710.c.

	st=		[HW,SCSI] SCSI tape parameters (buffers, etc.)
			See Documentation/scsi/st.rst.

	wd33c93=	[HW,SCSI]
			See header of drivers/scsi/wd33c93.c.