您的位置:首页 > 其它

Documentation/scsi/scsi.txt

2013-10-25 14:53 190 查看
Chinese translated version of Documentation/scsi/scsi.txt

If you have any comment or update to the content, please contact the

original document maintainer directly. However, if you have a problem

communicating in English you can also ask the Chinese maintainer for

help. Contact the Chinese maintainer if this translation is outdated

or if there is a problem with the translation.

Chinese maintainer: keyingjing <342311642@qq.com>

---------------------------------------------------------------------

Documentation/power/scsi/scsi.txt 的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文

交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻

译存在问题,请联系中文版维护者。

中文版维护者: 柯莹璟 <342311642@qq.com>

中文版翻译者: 柯莹璟 <342311642@qq.com>

中文版校译者: 柯莹璟 <342311642@qq.com>

SCSI subsystem documentation

============================

The Linux Documentation Project (LDP) maintains a document describing

the SCSI subsystem in the Linux kernel (lk) 2.4 series. See:
http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO . The LDP has single

and multiple page HTML renderings as well as postscript and pdf.

It can also be found at:
http://web.archive.org/web/*/http://www.torque.net/scsi/SCSI-2.4-HOWTO
SCSI子系统文件

==============

在linux内核(LK)2.4系列中,linux文档项目(LDP)保留一份SCSI系统的说明文件

请参见:http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO 。linux文档项目有和附言和

引信一样单页和多页透视图,可以在下面网页中找到:
http://web.archive.org/web/*/http://www.torque.net/scsi/SCSI-2.4-HOWTO
Notes on using modules in the SCSI subsystem

============================================

The scsi support in the linux kernel can be modularized in a number of

different ways depending upon the needs of the end user. To understand

your options, we should first define a few terms.

使用SCSI子系统模块的注意事项

============================

在linux内核中,SCSI可以根据最终用户的不同需求支持多种方式的模块化。要了解

用户选择,我们先定义几个术语。

The scsi-core (also known as the "mid level") contains the core of scsi

support. Without it you can do nothing with any of the other scsi drivers.

The scsi core support can be a module (scsi_mod.o), or it can be built into

the kernel. If the core is a module, it must be the first scsi module

loaded, and if you unload the modules, it will have to be the last one

unloaded. In practice the modprobe and rmmod commands (and "autoclean")

will enforce the correct ordering of loading and unloading modules in

the SCSI subsystem.

SCSI核心(也称为“中层”)包含SCSI核心载体。没有SCSI核心载体我们不能调用任何

其他的SCSI设备。SCSI的核心载体可以是一个模块(scsi_mod.o),或者可以内置到

内核中。如果核心载体是一个模块,加载时它必须是第一个被加载的SCSI模块,如果

要卸载模块,它将最后一个被卸载。在实际应用中,modprobe和rmmod命令

(以及“autoclean”)将执行加载和卸载SCSI子系统的正确顺序。

The individual upper and lower level drivers can be loaded in any order

once the scsi core is present in the kernel (either compiled in or loaded

as a module). The disk driver (sd_mod.o), cdrom driver (sr_mod.o),

tape driver ** (st.o) and scsi generics driver (sg.o) represent the upper

level drivers to support the various assorted devices which can be

controlled. You can for example load the tape driver to use the tape drive,

and then unload it once you have no further need for the driver (and release

the associated memory).

一旦SCSI核心存在内核中(编译进去的或是加载进去的),个别上层和下层驱动器可以

以任何顺序被载入。磁盘驱动器(sd_mod.o)、光盘驱动器(sr_mod.o)、磁带驱动器** (st.o)

和SCSI泛型驱动器(sg.o)代表上层驱动程序可以加载各种可控制的配套设备。例如,你可以

载入磁带驱动程序来使用磁带驱动器,一旦进一步需要,你可以卸载驱动程序(并释放相关

内存)。

The lower level drivers are the ones that support the individual cards that

are supported for the hardware platform that you are running under. Those

individual cards are often called Host Bus Adapters (HBAs). For example the

aic7xxx.o driver is used to control all recent SCSI controller cards from

Adaptec. Almost all lower level drivers can be built either as modules or

built into the kernel.

较低级别的驱动程序支持个人卡加载到硬件平台下运行。那些个人卡经常被称为主机

总线适配器(HBA)。例如aic7xxx.o驱动程序被用来控制适配器中所有最近的SCSI控

制器卡。几乎所有较低级别的驱动程序都可以被内置为模块或被编译进内核。

** There is a variant of the st driver for controlling OnStream tape

devices. Its module name is osst.o .

其中有一个模块名为osst.o的变种ST驱动器用于控制OnStream磁带设备。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: