Documentation / translations / zh_CN / scsi / scsi-parameters.rst


Based on kernel version 6.19. Page generated on 2026-02-12 08:38 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 109 110 111 112 113 114 115 116 117 118
.. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst

:Original: Documentation/scsi/scsi-parameters.rst

:翻译:

 郝栋栋 doubled <doubled@leap-io-kernel.com>

:校译:



============
SCSI内核参数
============

请查阅Documentation/admin-guide/kernel-parameters.rst以获取
指定模块参数相关的通用信息。

当前文档可能不完全是最新和全面的。命令 ``modinfo -p ${modulename}``
显示了可加载模块的参数列表。可加载模块被加载到内核中后,也会在
/sys/module/${modulename}/parameters/ 目录下显示其参数。其
中某些参数可以通过命令
``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``
在运行时修改。

::

	advansys=	[HW,SCSI]
			请查阅 drivers/scsi/advansys.c 文件头部。

	aha152x=	[HW,SCSI]
			请查阅 Documentation/scsi/aha152x.rst。

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

	aic7xxx=	[HW,SCSI]
			请查阅 Documentation/scsi/aic7xxx.rst。

	aic79xx=	[HW,SCSI]
			请查阅 Documentation/scsi/aic79xx.rst。

	atascsi=	[HW,SCSI]
			请查阅 drivers/scsi/atari_scsi.c。

	BusLogic=	[HW,SCSI]
			请查阅 drivers/scsi/BusLogic.c 文件中
			BusLogic_ParseDriverOptions()函数前的注释。

	gvp11=		[HW,SCSI]

	ips=		[HW,SCSI] Adaptec / IBM ServeRAID 控制器
			请查阅 drivers/scsi/ips.c 文件头部。

	mac5380=	[HW,SCSI]
			请查阅 drivers/scsi/mac_scsi.c。

	scsi_mod.max_luns=
			[SCSI] 最大可探测LUN数。
			取值范围为 1 到 2^32-1。

	scsi_mod.max_report_luns=
			[SCSI] 接收到的最大LUN数。
			取值范围为 1 到 16384。

	NCR_D700=	[HW,SCSI]
			请查阅 drivers/scsi/NCR_D700.c 文件头部。

	ncr5380=	[HW,SCSI]
			请查阅 Documentation/scsi/g_NCR5380.rst。

	ncr53c400=	[HW,SCSI]
			请查阅 Documentation/scsi/g_NCR5380.rst。

	ncr53c400a=	[HW,SCSI]
			请查阅 Documentation/scsi/g_NCR5380.rst。

	ncr53c8xx=	[HW,SCSI]

	osst=		[HW,SCSI] SCSI磁带驱动
			格式:<buffer_size>,<write_threshold>
			另请查阅 Documentation/scsi/st.rst。

	scsi_debug_*=	[SCSI]
			请查阅 drivers/scsi/scsi_debug.c。

	scsi_mod.default_dev_flags=
			[SCSI] SCSI默认设备标志
			格式:<integer>

	scsi_mod.dev_flags=
			[SCSI] 厂商和型号的黑/白名单条目
			格式:<vendor>:<model>:<flags>
			(flags 为整数值)

	scsi_mod.scsi_logging_level=
			[SCSI] 日志级别的位掩码
			位的定义请查阅 drivers/scsi/scsi_logging.h。
			此参数也可以通过sysctl对dev.scsi.logging_level
			进行设置(/proc/sys/dev/scsi/logging_level)。
			此外,S390-tools软件包提供了一个便捷的
			‘scsi_logging_level’ 脚本,可以从以下地址下载:
			https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level

	scsi_mod.scan=	[SCSI] sync(默认)在发现SCSI总线过程中
			同步扫描。async在内核线程中异步扫描,允许系统继续
			启动流程。none忽略扫描,预期由用户空间完成扫描。

	sim710=		[SCSI,HW]
			请查阅 drivers/scsi/sim710.c 文件头部。

	st=		[HW,SCSI] SCSI磁带参数(缓冲区大小等)
			请查阅 Documentation/scsi/st.rst。

	wd33c93=	[HW,SCSI]
			请查阅 drivers/scsi/wd33c93.c 文件头部。