JPH07141267A - Scsi bus controller - Google Patents

Scsi bus controller

Info

Publication number
JPH07141267A
JPH07141267A JP5284837A JP28483793A JPH07141267A JP H07141267 A JPH07141267 A JP H07141267A JP 5284837 A JP5284837 A JP 5284837A JP 28483793 A JP28483793 A JP 28483793A JP H07141267 A JPH07141267 A JP H07141267A
Authority
JP
Japan
Prior art keywords
scsi
bus
controller
target
initiator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP5284837A
Other languages
Japanese (ja)
Inventor
Yoshio Goto
美夫 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP5284837A priority Critical patent/JPH07141267A/en
Publication of JPH07141267A publication Critical patent/JPH07141267A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to operate a target even if abnormality occurs, and to transmit bus trace information to a host so as to make judgement of a fault possible by providing two small computer system interface(SCSI) controllers which can operate even as an initiator and a target. CONSTITUTION:The SCSI controller 1 and SCSI device 3 which serve as the initiator and target are connected to each other by a SCSI control bus 11 and a SCSI data bus 12, and the SCSI controller 1 controls the SCSI device 3. If the SCSI device 3 can not be controlled owing to a fault of the SCSI controller 1, the stand-by SCSI controller 2 is operated to control the SCSI device 3. Further, the SCSI controller 1 is operated as the initiator and the SCSI controller 2 is operated as the target respectively, thereby the diagnostic test of the SCSI controllers using SCSI buses can be conducted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はSCSI(スモールコン
ピュータシステムインタフェース)バス制御装置に関
し、特にSCSIバスを有するコンピュータシステムに
おけるSCSIバス制御方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a SCSI (Small Computer System Interface) bus controller, and more particularly to a SCSI bus control system in a computer system having a SCSI bus.

【0002】[0002]

【従来の技術】ホストコンピュータと各種のインテリジ
ェント機能を有する周辺装置とを接続するインタフェー
スバスとしてSCSIバスが、ANSI(アメリカンナ
ショナルスタンダードインスティチュート)の技術委員
会におけるANSI X3.131−1986として規
定されている。
2. Description of the Related Art A SCSI bus is defined as ANSI (American National Standard Institute) technical committee as ANSI X3.131-1986 as an interface bus for connecting a host computer and peripheral devices having various intelligent functions. ing.

【0003】このSCSIバスでは、コマンドを送出す
る装置をイニシエータと定義し、通常ホストコンピュー
タまたは別に設けられたSCSIコントローラがイニシ
エータとなる。また、当該コマンドを実行する装置をタ
ーゲットと定義し、例えばCD−ROMドライブユニッ
ト等がこのターゲットとして動作する。
In this SCSI bus, a device for sending a command is defined as an initiator, and a host computer or a SCSI controller provided separately usually serves as an initiator. A device that executes the command is defined as a target, and a CD-ROM drive unit or the like operates as the target.

【0004】従来のこの種のSCSIバス制御方式で
は、各種のSCSIデバイスであるターゲットを接続す
ることにより、SCSIコントローラであるイニシエー
タの正常,異常の診断試験を行うようになっている。
In the conventional SCSI bus control system of this type, by connecting a target which is a variety of SCSI devices, a normal or abnormal diagnostic test of an initiator which is a SCSI controller is performed.

【0005】例えば、特開平2−239337号公報に
は、ターゲットが接続されていると想定した診断プログ
ラムのシミュレーションにより、SCSIコントローラ
の試験を行う技術が開示されている。
For example, Japanese Patent Laid-Open No. 2-239337 discloses a technique for testing a SCSI controller by simulating a diagnostic program assuming that a target is connected.

【0006】また、SCSIバスを運用する際、SCS
Iバスのデータを常にメモリに記憶しておく技術が、例
えば特開平2−002436号公報に開示されており、
この技術では、SCSIバスのデータを監視するため
に、SCSIバスモニタ方式が示されている。
When operating the SCSI bus, the SCS
A technique of always storing data of the I bus in a memory is disclosed in, for example, Japanese Patent Laid-Open No. 2-002436.
In this technique, a SCSI bus monitor method is shown in order to monitor data on the SCSI bus.

【0007】これ等の従来技術のいずれにおいても、基
本的に図5に示す如く、複数のターゲット3を制御する
ために、イニシエータ1を1個設けて構成されている。
尚、図5において、11,12はイニシエータ1とター
ゲット3との間を接続するSCSIコントロールバス及
びSCSIデータバスであり、13は図示せぬホストと
イニシエータ1とを接続するホストバスである。
In each of these prior arts, basically, as shown in FIG. 5, one initiator 1 is provided to control a plurality of targets 3.
In FIG. 5, reference numerals 11 and 12 denote a SCSI control bus and a SCSI data bus which connect the initiator 1 and the target 3, respectively, and 13 denotes a host bus which connects the host (not shown) and the initiator 1.

【0008】[0008]

【発明が解決しようとする課題】従来のこの種のSCS
Iバス制御方式では、図5に示した如く、イニシエータ
として動作するSCSIコントローラ1と、このSCS
Iコントローラ1とSCSIデバイス(ターゲット)3
とを接続するSCSIバス11,12とにより構成され
ているので、SCSIコントローラ1が正常動作しなく
なると、そのSCSIバスに接続されたターゲット3が
制御不可能となる。
This type of conventional SCS
In the I-bus control system, as shown in FIG. 5, the SCSI controller 1 operating as an initiator and the SCS
I controller 1 and SCSI device (target) 3
It is composed of the SCSI buses 11 and 12 that connect to each other. Therefore, when the SCSI controller 1 does not operate normally, the target 3 connected to the SCSI bus becomes uncontrollable.

【0009】ところが、SCSIバスを有するコンピュ
ータシステム等において、イニシエータとして動作する
SCSIコントローラに異常が生じても、そのSCSI
バスに接続されているターゲットであるSCSIデバイ
スを運用する必要がある。
However, in a computer system having a SCSI bus, even if an abnormality occurs in the SCSI controller operating as the initiator, the SCSI
It is necessary to operate the target SCSI device connected to the bus.

【0010】また、SCSIバスを流れる各種データの
トレース情報がホストバスへ伝わらないために、どのよ
うな障害が生じたか判定できないという問題もある。
Further, since the trace information of various data flowing on the SCSI bus is not transmitted to the host bus, there is a problem that it is not possible to determine what kind of trouble has occurred.

【0011】更に、運用中のSCSIバスの状態を目視
で確認できないという問題もあり、更にはまた、SCS
Iコントローラの正常,異常の判断の際、イニシエータ
とターゲットとが揃わなければ、SCSIバス試験診断
ができないという問題もある。
Further, there is a problem that the status of the SCSI bus in operation cannot be visually confirmed.
There is also a problem that the SCSI bus test diagnosis cannot be performed unless the initiator and the target are aligned when determining whether the I controller is normal or abnormal.

【0012】そこで、本発明は上記従来技術の欠点を解
決すべくなされたものであって、その目的とするところ
は、SCSIコントローラに異常が生じてもターゲット
の運用を可能とし、バストレース情報をホストへ伝達し
て障害の判断を可能とし、またバス状態の目視確認を可
能とすると共にSCSIバス診断が常に可能なSCSI
バス制御装置を提供することである。
Therefore, the present invention has been made to solve the above-mentioned drawbacks of the prior art. The purpose of the present invention is to enable operation of a target even if an abnormality occurs in the SCSI controller and to obtain bus trace information. SCSI that enables transmission to the host for fault determination, visual confirmation of bus status, and SCSI bus diagnostics at all times
It is to provide a bus control device.

【0013】[0013]

【課題を解決するたの手段】本発明によるSCSIバス
制御装置は、コマンドを発行するイニシエータ機能とこ
のコマンドを実行するターゲット機能とを有する第1及
び第2のSCSIコントローラと、前記第1及び第2の
SCSIコントローラを接続するSCSIデータバス及
びSCSIコントロールバスと、前記SCSIデータバ
ス及びSCSIコントロールバスを流れる各データを順
次記憶する記憶手段と、前記SCSIコントロールバス
を流れるデータに応じてSCSIバスの状態表示をなす
バスフェーズ表示手段と、前記記憶手段からホストバス
へのダイレクトメモリアクセス制御を行うDMAコント
ローラと、を含むことを特徴とする。
A SCSI bus controller according to the present invention comprises first and second SCSI controllers having an initiator function for issuing a command and a target function for executing this command, and the first and second SCSI controllers. SCSI data bus and SCSI control bus for connecting two SCSI controllers, storage means for sequentially storing each data flowing through the SCSI data bus and SCSI control bus, and status of the SCSI bus according to data flowing through the SCSI control bus It is characterized by including bus phase display means for displaying and a DMA controller for controlling direct memory access from the storage means to the host bus.

【0014】[0014]

【実施例】次に、本発明の実施例について図面を参照し
つつ詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0015】図1は本発明の一実施例のブロック図であ
る。イニシエータ及びターゲットにもなるSCSIコン
トローラ1,2とSCSIデバイス3とはSCSIコン
トロールバス11とSCSIデータバス12とにより接
続されている。
FIG. 1 is a block diagram of an embodiment of the present invention. The SCSI controllers 1 and 2, which also serve as initiators and targets, and the SCSI device 3 are connected by a SCSI control bus 11 and a SCSI data bus 12.

【0016】ここでいうSCSIコントロールバス11
とは、図2に示すようにBUSYライン,SELECT
ライン,RESETライン,CONTROL/DATA
ライン,INPUT/OUTPUTライン,MESSA
GEライン,REQUESTライン,ACKNOWLE
DGEライン,ATTENTIONラインの9本の信号
ラインで構成され、SCSIデータバス12とは、8本
のデータラインDB0〜DB7と1本の奇数パリティラ
インDBpで構成される。
SCSI control bus 11 here
Is a BUSY line, SELECT as shown in FIG.
Line, RESET line, CONTROL / DATA
Line, INPUT / OUTPUT line, MESSA
GE line, REQUEST line, ACKNOWLE
It is composed of nine signal lines of DGE line and ATTENTION line, and the SCSI data bus 12 is composed of eight data lines DB0 to DB7 and one odd parity line DBp.

【0017】通常、SCSIコントローラ1をイニシエ
ータとして運用する。つまり、SCSIコントローラ1
によりSCSIデバイス3を制御する。もしもSCSI
コントローラ1の故障により、SCSIデバイス3が制
御できなくなった場合、予備のSCSIコントローラ2
を運用してSCSIデバイス3を制御するのである。
Normally, the SCSI controller 1 is operated as an initiator. In other words, SCSI controller 1
To control the SCSI device 3. Hello SCSI
If the SCSI device 3 cannot be controlled due to the failure of the controller 1, the spare SCSI controller 2
Is operated to control the SCSI device 3.

【0018】また、SCSIコントローラの正常,異常
の判断の際、SCSIデバイス(ターゲット)を接続し
ない状態(図3)であっても、SCSIコントローラ1
をイニシエータとし、SCSIコントローラ2をターゲ
ットとして夫々動作させることにより、SCSIバスを
使ったSCSIコントローラの診断テストを行うことが
可能となる。
Further, even when the SCSI device (target) is not connected (FIG. 3) when judging whether the SCSI controller is normal or abnormal, the SCSI controller 1
Is used as the initiator and the SCSI controller 2 is operated as the target, it is possible to perform a diagnostic test of the SCSI controller using the SCSI bus.

【0019】更に、SCSIコントローラ1をターゲッ
トとし、SCSIコントローラ2をイニシエータとして
夫々動作させることにより、SCSIコントローラ2の
イニシエータとしての動作確認も行うことが可能とな
る。
Further, by operating the SCSI controller 1 as a target and the SCSI controller 2 as an initiator, the operation of the SCSI controller 2 as an initiator can be confirmed.

【0020】更にはまた、図1に示すSCSIバストレ
ース制御部4及びアドレスコントローラ8により、SC
SIコントロールバス11及びSCSIデータバス12
を夫々流れるデータが逐次ラッチ回路6,7を介してS
CSIバストレースメモリ部10へ書込まれ、データが
更新される。尚、SCSIバストレースメモリ部10の
データはラッチ回路6,7を通ってSCSIバスに送出
されるこは全く無い。また、DMAコントローラ5によ
って、SCSIバストレースメモリ部10のデータをホ
ストバス13上へDMA転送で掃き出す。尚、ホストバ
ス13上のデータによってSCSIバストレースメモリ
部10のデータが書換わることは無い。
Furthermore, the SCSI bus trace controller 4 and the address controller 8 shown in FIG.
SI control bus 11 and SCSI data bus 12
Data sequentially flowing through the S
The data is written in the CSI bus trace memory unit 10 and the data is updated. It should be noted that the data in the SCSI bus trace memory unit 10 is never sent to the SCSI bus through the latch circuits 6 and 7. Further, the DMA controller 5 sweeps the data in the SCSI bus trace memory unit 10 onto the host bus 13 by DMA transfer. The data on the SCSI bus trace memory unit 10 is not rewritten by the data on the host bus 13.

【0021】そのうえ、運用中のSCSIバスの状態を
目視で確認できるように、バスフェーズ表示部9を備え
ている。バスフェーズ表示部9はSCSIコントロール
バス11の中のCONTROL/DATAライン,IN
PUT/OUTPUTライン,MESSAGEライン,
BUSYライン,SELECTラインの5本の信号ライ
ンが、図4に示す値に変化した時、夫々のSCSIバス
フェーズを表示する。
In addition, a bus phase display section 9 is provided so that the state of the SCSI bus in operation can be visually confirmed. The bus phase display section 9 is a CONTROL / DATA line, IN in the SCSI control bus 11.
PUT / OUTPUT line, MESSAGE line,
When the five signal lines of the BUSY line and the SELECT line change to the values shown in FIG. 4, the respective SCSI bus phases are displayed.

【0022】例えば、図4に示すバスフェーズの「バス
フリー」はバス未使用状態を表し、「アービトレーショ
ン」はバス競合状態を表し、「セレクション」はイニシ
エータがどのターゲットを選択しているかを表し、「デ
ータアウト」,「データイン」はイニシエータを基準と
してデータの入出力状態を表している。
For example, in the bus phase shown in FIG. 4, "bus free" represents a bus unused state, "arbitration" represents a bus contention state, and "selection" represents which target the initiator selects. “Data out” and “data in” represent the input / output state of data with reference to the initiator.

【0023】また、「コマンド」はイニシエータからの
コマンド送出状態を示し、「ステータス」はコマンド正
常/異常を示すものであり、これ等図4に示すバスフェ
ーズは全て上述したANSIの規定に準拠したものであ
る。
Further, "command" indicates a command transmission state from the initiator, and "status" indicates command normality / abnormality. These bus phases shown in FIG. 4 all comply with the above-mentioned ANSI regulations. It is a thing.

【0024】[0024]

【発明の効果】叙上の如く、本発明によれば、イニシエ
ータとしてもターゲットとしても動作可能なSCSIコ
ントローラを2台設けているので、1つのSCSIコン
トローラに異常が生じてもバスに接続されているターゲ
ットを他のSCSIコントローラにて運用することがで
き、またSCSIコントローラの正常異常の判断が、一
方をイニシエータとし他方をターゲットとして動作させ
ることによるバス診断テストによって行うことが可能と
なるという効果がある。
As described above, according to the present invention, since two SCSI controllers that can operate as both an initiator and a target are provided, even if one SCSI controller fails, it can be connected to the bus. Existing SCSI controller can be operated by another SCSI controller, and the normality / abnormality of the SCSI controller can be judged by the bus diagnostic test by operating one target as the initiator and the other target as the target. is there.

【0025】また、SCSIバス上のデータのトレース
情報がホストバスに伝わるので、障害判定が容易となる
と共に、運用中のSCSIバスのバスフェーズを目視で
確認できるという効果もある。
Further, since the trace information of the data on the SCSI bus is transmitted to the host bus, there is an effect that the failure determination can be facilitated and the bus phase of the operating SCSI bus can be visually confirmed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】SCSIバスを説明する図である。FIG. 2 is a diagram illustrating a SCSI bus.

【図3】ターゲットを用いないでSCSIバス診断を行
うための図である。
FIG. 3 is a diagram for performing SCSI bus diagnosis without using a target.

【図4】SCSIバスのバスフェーズ状態を示す図であ
る。
FIG. 4 is a diagram showing a bus phase state of a SCSI bus.

【図5】従来のSCSIバス制御方式を示すブロック図
である。
FIG. 5 is a block diagram showing a conventional SCSI bus control system.

【符号の説明】[Explanation of symbols]

1,2 SCSIコントローラ 3 SCSIデバイス 4 SCSIバストレース制御部 5 DMAコントローラ 6,7 ラッチ回路 8 アドレスコントローラ 9 バスフェーズ表示部 10 SCSIバストレースメモリ部 11 SCSIコントロールバス 12 SCSIデータバス 13 ホストバス 1, 2 SCSI controller 3 SCSI device 4 SCSI bus trace control unit 5 DMA controller 6, 7 latch circuit 8 address controller 9 bus phase display unit 10 SCSI bus trace memory unit 11 SCSI control bus 12 SCSI data bus 13 host bus

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 コマンドを発行するイニシエータ機能と
このコマンドを実行するターゲット機能とを有する第1
及び第2のSCSIコントローラと、 前記第1及び第2のSCSIコントローラを接続するS
CSIデータバス及びSCSIコントロールバスと、 前記SCSIデータバス及びSCSIコントロールバス
を流れる各データを順次記憶する記憶手段と、 前記SCSIコントロールバスを流れるデータに応じて
SCSIバスの状態表示をなすバスフェーズ表示手段
と、 前記記憶手段からホストバスへのダイレクトメモリアク
セス制御を行うDMAコントローラと、 を含むことを特徴とするSCSIバス制御装置。
1. A first function having an initiator function for issuing a command and a target function for executing the command
And a second SCSI controller, and S for connecting the first and second SCSI controllers
CSI data bus and SCSI control bus, storage means for sequentially storing each data flowing through the SCSI data bus and SCSI control bus, and bus phase display means for displaying the status of the SCSI bus according to the data flowing through the SCSI control bus And a DMA controller for performing direct memory access control from the storage means to the host bus.
【請求項2】 前記第1のSCSIコントローラをイニ
シエータとして動作させ、前記第2のSCSIコントロ
ーラをターゲットとして動作させるようにしたことを特
徴とする請求項1記載のSCSIバス制御装置。
2. The SCSI bus controller according to claim 1, wherein the first SCSI controller operates as an initiator and the second SCSI controller operates as a target.
【請求項3】 前記記憶手段は、前記SCSIデータバ
ス及びSCSIコントロールバスを流れる各データを夫
々順次ラッチするラッチ手段と、これ等ラッチ手段のラ
ッチ内容を格納するメモリと、これ等ラッチ手段及びメ
モリを制御する制御手段とからなることを特徴とする請
求項1または2記載のSCSIバス制御装置。
3. The storage means includes a latch means for sequentially latching each data flowing through the SCSI data bus and the SCSI control bus, a memory for storing the latch contents of these latch means, a latch means for these and a memory. 3. The SCSI bus control device according to claim 1, further comprising a control means for controlling the.
JP5284837A 1993-11-15 1993-11-15 Scsi bus controller Withdrawn JPH07141267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5284837A JPH07141267A (en) 1993-11-15 1993-11-15 Scsi bus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5284837A JPH07141267A (en) 1993-11-15 1993-11-15 Scsi bus controller

Publications (1)

Publication Number Publication Date
JPH07141267A true JPH07141267A (en) 1995-06-02

Family

ID=17683661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5284837A Withdrawn JPH07141267A (en) 1993-11-15 1993-11-15 Scsi bus controller

Country Status (1)

Country Link
JP (1) JPH07141267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096651A (en) * 1995-06-16 1997-01-10 Shikoku Nippon Denki Software Kk Scsi tracer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096651A (en) * 1995-06-16 1997-01-10 Shikoku Nippon Denki Software Kk Scsi tracer device

Similar Documents

Publication Publication Date Title
JPH0347537B2 (en)
JPH1063535A (en) Device and method for monitoring computer system
JPH07141267A (en) Scsi bus controller
JP3127943B2 (en) Distributed control device
JPH08278924A (en) Adapter diagnostic system
JPS5844523A (en) Interface adaptor device
JPS583246B2 (en) data processing system
JP3012402B2 (en) Information processing system
JPS5875203A (en) Sequence controller of double structure
JP2765659B2 (en) Self-test method for data processing equipment
JPH06250945A (en) Simulation device with protocol inspection function
JP2001109672A (en) Scsi bus controller
JPS59221131A (en) Data transmission station
JPS59123056A (en) Automatic switching system of redundant system
JP2001067274A (en) Self-diagnostic system and method for main storage device
JPH0463410B2 (en)
JPH01313772A (en) Fault diagnosis supporting device for electronic device for automobile
JPS5938607B2 (en) diagnostic expansion device
JPS61208147A (en) Abnormality monitor system for microcomputer
JPH05257828A (en) Control system and its bus monitoring method
JPH1097232A (en) Communication system for display
JPH0378791A (en) Graphic display system
JPH02245850A (en) Bus diagnostic system
JPH0619741A (en) Debugging system
JPH02244233A (en) Information processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130