Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0575136B2 - - Google Patents
[go: Go Back, main page]

JPH0575136B2 - - Google Patents

Info

Publication number
JPH0575136B2
JPH0575136B2 JP18080686A JP18080686A JPH0575136B2 JP H0575136 B2 JPH0575136 B2 JP H0575136B2 JP 18080686 A JP18080686 A JP 18080686A JP 18080686 A JP18080686 A JP 18080686A JP H0575136 B2 JPH0575136 B2 JP H0575136B2
Authority
JP
Japan
Prior art keywords
channel
status
interrupt
error
command
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.)
Expired - Fee Related
Application number
JP18080686A
Other languages
Japanese (ja)
Other versions
JPS6336460A (en
Inventor
Kazuyoshi Wakatsuki
Tsutomu Ueno
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP18080686A priority Critical patent/JPS6336460A/en
Publication of JPS6336460A publication Critical patent/JPS6336460A/en
Publication of JPH0575136B2 publication Critical patent/JPH0575136B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 〔概要〕 主記憶上にコマンドとステータスを持つチヤネ
ル制御において、ステータス格納時にエラーが発
生すると、アダプタ・ステータス・レジスタ内に
おけるステータス・ストアの無効を示すビツトを
割込み発生ビツトと共に表示してステータスの無
効を通知する方式である。
[Detailed Description of the Invention] [Summary] In channel control that has commands and status in main memory, if an error occurs during status storage, the bit indicating status store invalidity in the adapter status register is changed to an interrupt generation bit. This method is used to notify that the status is invalid by displaying it along with the status.

〔産業上の利用分野〕[Industrial application field]

本発明は、データ処理装置における主記憶上に
コマンドと終了ステータスを各I/O毎に持つチ
ヤネルが、その終了ステータスの主メモリ・スト
アにおいてエラーが発生した場合、チヤネル内の
制御レジスタを通じてその異常を表示すると共
に、通常の割込みを発生させることにより速やか
なエラー処理を可能とするチヤネル終了ステータ
ス通知方式に関するものである。
According to the present invention, when an error occurs in the main memory store of the end status of a channel that has a command and end status for each I/O in the main memory of a data processing device, the error is detected through a control register in the channel. The present invention relates to a channel termination status notification method that enables prompt error processing by displaying a message and generating a normal interrupt.

〔従来の技術〕[Conventional technology]

第9図は従来の技術を説明する図である。第9
図において、2は主記憶、3はチヤネル、ACR
はアダブタ・コントロール・レジスタをそれぞれ
示している。I/Oコマンド実行シーケンスは、
チヤネル起動、コマンド・フエツチ、データ転
送、ステータス・ストア、割込み処理と言うもの
である。チヤネル3が主記憶2にステータスをス
トアする場合、制御信号やデータ・アドレス、デ
ータ等を主記憶2に送るが、主記憶2はこれに対
して応答信号を返す。データが正常にストアでき
た場合には正常にストアできた旨の応答を返し、
バス・エラー等が検出されて正常にストア出来な
かつた場合には正常にストア出来なかつた旨の応
答を返す。チヤネルが発行したストア要求に対し
て応答が返つて来ない場合もあるが、このような
場合に備えてチヤネル3は時間監視を行つてい
る。正常にストアが出来なかつた場合又は無応答
の場合にはCPUハード異常割込みが発生する。
FIG. 9 is a diagram explaining the conventional technique. 9th
In the figure, 2 is main memory, 3 is channel, ACR
indicate adapter control registers, respectively. The I/O command execution sequence is
These include channel activation, command fetch, data transfer, status store, and interrupt processing. When the channel 3 stores status in the main memory 2, control signals, data addresses, data, etc. are sent to the main memory 2, and the main memory 2 returns a response signal in response. If the data was successfully stored, a response indicating that the data was stored successfully is returned.
If a bus error or the like is detected and the storage cannot be performed normally, a response is returned indicating that the storage could not be performed normally. Although there may be cases in which no response is returned to a store request issued by a channel, channel 3 monitors time in preparation for such a case. If the store cannot be stored normally or if there is no response, a CPU hardware abnormality interrupt will occur.

何らかの原因によりDSW(Device Status
Word)ストアが失敗すると、チヤネル3はエラ
ーの発生したI/Oの終了通知が出来ない。この
ため、そのI/Oの機番から何時までもソフトウ
エアに対して完了通知がないことになる。
For some reason, DSW (Device Status
Word) If the store fails, channel 3 cannot notify the end of the I/O in which the error occurred. Therefore, there will be no completion notification to the software for any time after that I/O machine number.

従来の技術においては、DSWストアでエラー
が発生した場合、割込みを発生しないようにし、
ソフトウエアで時間監視をしていた。また、何も
しない方法も採用されていた。更には、チヤネル
全体のエラーと見做して第9図におけるアダプ
タ・コントロール・レジスタACRの中のステー
タス・レジスタASTのAEFR(アダプタ・エラ
ー)ビツトを“1”にしてソフトウエアからのア
クセス時にエラーで通知する方法もある。
In conventional technology, when an error occurs in the DSW store, an interrupt is not generated,
The time was monitored using software. A method of doing nothing was also adopted. Furthermore, considering it to be an error in the entire channel, set the AEFR (adapter error) bit of the status register AST in the adapter control register ACR to "1" in Figure 9 to detect the error when accessing from software. There is also a way to notify.

〔解決しようとする問題点〕[Problem to be solved]

ソフトウエアで時間監視する方法では、チヤネ
ル・オペレーシヨンによりエラー原因を知ること
がたとえ出来たとしても、その機番に関しては割
込み保留原因を解除できず、チヤネル全体をクリ
アして且つエラー原因を取り除くなどの処理をし
なければ、再起動できない。
In the method of monitoring time using software, even if it is possible to know the cause of the error through channel operation, the cause of the pending interrupt cannot be released for that machine number, and the entire channel must be cleared and the cause of the error removed. You will not be able to restart unless you do the following.

一方、ソフトウエアによる時間監視ができいな
いケースにおいては何時までもエラーの発生した
機番のI/O割込みがないことになり、何故そう
なつたのか判らないことになる。上記のケースに
おいては、CPU側で何らかの異常を検出してい
るので、ハードウエア割込みになる。しかし、何
れのI/Oまたはチヤネルが動作したときのもの
か対応付けることが出来ない。このようにチヤネ
ルの中の特定の機番の割込み原因が残されたまま
になり、ソフトウエアにも積極的にその原因を通
知出来ないと言う問題があつた。
On the other hand, in a case where time monitoring by software is not possible, there will be no I/O interrupt for the machine number in which the error has occurred, and it will not be possible to determine why this occurred. In the above case, some kind of abnormality is detected on the CPU side, so it becomes a hardware interrupt. However, it is not possible to correlate which I/O or channel was activated. In this way, the cause of the interrupt for a specific machine number in the channel remains, and there is a problem in that the cause cannot be proactively notified to the software.

チヤネル全体のエラーと見做して第7図におけ
るアダプタ・コントロール・レジスタACRの中
のアダプタ・ステータス・レジスタARTの
AEFRビツトを“1”にしてソフトウエアからの
アクセス時にエラーで通知する方法もあるが、チ
ヤネル全体がエラーになつてしまうことに問題が
あつた。
Assuming that it is an error in the entire channel, the adapter status register ART in the adapter control register ACR in Figure 7 is
There is a method to set the AEFR bit to "1" and notify an error when accessing from software, but there was a problem in that the entire channel would become an error.

本発明は、この点に鑑みて創作されたものであ
つて、チヤネルがコマンドのフエツチ、データ転
送、I/Oコマンドのステータス・ストア等にお
いて、ステータス・ストアがエラー終了でも正常
終了と同じように積極的に割込みでソフトウエア
に完了通知でき且つエラー原因も通知できるよう
にし、特定のI/O機番のエラーがチヤネル全体
のエラーに波及しないようにエラーを最小限に食
い止め得るようになつたチヤネル終了ステータス
通知方式を提供することを目的としている。
The present invention was created in view of this point, and the present invention allows the channel to perform a command fetch, data transfer, I/O command status store, etc. even if the status store ends with an error, it is the same as a normal end. It is now possible to proactively notify the software of completion using an interrupt and also notify the cause of the error, making it possible to minimize errors so that errors in a specific I/O machine number do not spread to errors in the entire channel. The purpose is to provide a channel termination status notification method.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理図である。主記憶2に
は、コマンドと終了ステータスが格納される。コ
マンドと終了ステータスの組は、各I/O毎に存
在する。終了ステータスは、チヤネルの終了ステ
ータスとI/O終了ステータスから構成されてい
る。中央処理装置1がチヤネル3を起動すると、
チヤネル3は主記憶2からコマンドをフエツチ
し、該当するI/Oに送る。I/Oコマンドの終
了ステータス及びチヤネルの終了ステータスを主
記憶2にストアする際に、エラーが検出された場
合には、エラーの原因を記憶する以外は正常割込
みと同様の処理を行い、割込みのトリガとなるア
ダプタ・ステータス・レジスタASTの割込み発
生ビツトAintと共にDSWストアが無効であるこ
とを示すiDSW(Invalid DSW)ビツトをオンに
する。ソフトウエアは、割込み発生時にiDSWビ
ツトを見てエラーだと判断する。更に、ソフトウ
エア割込み応答処理を行つてチヤネル内の割込み
原因をクリアする。
FIG. 1 is a diagram showing the principle of the present invention. The main memory 2 stores commands and termination status. A command and termination status set exists for each I/O. The end status is composed of a channel end status and an I/O end status. When central processing unit 1 starts channel 3,
Channel 3 fetches commands from main memory 2 and sends them to the appropriate I/O. If an error is detected when storing the I/O command end status and channel end status in main memory 2, the same processing as a normal interrupt is performed except for storing the cause of the error, and the interrupt is Turn on the iDSW (Invalid DSW) bit, which indicates that DSW store is invalid, along with the interrupt generation bit Aint in the adapter status register AST, which is the trigger. The software looks at the iDSW bit when an interrupt occurs and determines that it is an error. Furthermore, software interrupt response processing is performed to clear the cause of the interrupt within the channel.

このように、割込み発生時に先ずチヤネルの制
御レジスタをチエツクしなければならないが、
元々割込みビツトをチエツクする必要があるの
で、何らの処理ステツプの増加や性能低下の心配
は不要であり、障害の早期通知が可能である。
In this way, when an interrupt occurs, the channel control register must be checked first.
Since it is originally necessary to check the interrupt bit, there is no need to worry about any increase in processing steps or performance deterioration, and early notification of failures is possible.

〔実施例〕〔Example〕

第2図はシステム構成例を示す図である。第2
図において、1は中央処理装置、2は主記憶、3
はチヤネル、4はバス制御部、5はデータ転送制
御部、6はバツフア、7はマイクロプロセツサ、
8はROM、9はRAM、10はI/Oコントロ
ール部、11−0ないし11−nはI/O、
ACRはアダプタ・コントロール・レジスタ、
ASTはアダプタ・ステータス・レジスタ、iDVA
は割込デバイス・アドレス・レジスタ、DVAは
デバイス・アドレス・レジスタ、AOPはアダプ
タ・オペレーシヨン・レジスタ、iCTL0とiCTL
1はインタフエース・コントロール・レジスタを
それぞれ示している。アダプタ・ステータス・レ
ジスタASTと割込デバイス・アドレスレジスタ
iDVAはコマンド終了割込み用であり、アダプ
タ・オペレーシヨン・レジスタAOPとデバイ
ス・アドレス・レジスタDVAはコマンド起動用
であり、インタフエース・コントロール・レジス
タiCTL0とiCTL1はワーク・レジスタである。
FIG. 2 is a diagram showing an example of the system configuration. Second
In the figure, 1 is the central processing unit, 2 is the main memory, and 3
is a channel, 4 is a bus control section, 5 is a data transfer control section, 6 is a buffer, 7 is a microprocessor,
8 is ROM, 9 is RAM, 10 is I/O control section, 11-0 to 11-n are I/O,
ACR is the adapter control register,
AST is Adapter Status Register, iDVA
is the interrupt device address register, DVA is the device address register, AOP is the adapter operation register, iCTL0 and iCTL
1 indicates an interface control register, respectively. Adapter Status Register AST and Interrupt Device Address Register
iDVA is for command end interrupt, adapter operation register AOP and device address register DVA are for command activation, and interface control registers iCTL0 and iCTL1 are work registers.

第3図は本発明のチヤネルのI/Oコマンド実
行シーケンスを示す。SDCR(Start DCR)と言
うコマンドが発行されると、チヤネルが起動さ
れ、ABSY(Adaptor Busy)ビツトがオンされ
る。ABSYビツトはチヤネル起動フエーズの間
だけオンとされる。チヤネルが起動されると、コ
マンド・フエツチが行われる。コマンド・フエツ
チの次にデータ転送が行われる。データ転送終了
後、ステータス・ストアが行なられる。図示の例
では、ステータ・ストア時にエラーが検出れたと
している。ステータス・ストアの次に割込み処理
が行われる。割込み処理のフエーズにおいて、
iDSWビツト(DSWストアでエラーが検出され
たので)がオンされ、AiNT(Adaptor
Interruption)ビツトがオンされる。AiNTビツ
トがオンになると、割込みが発生する。中央処理
装置1から割込み許可が送られて来ると、AiNT
ビツトはオフされ、AiNP((Adaptor
Interruption Pending)ビツトがオンされる。中
央処理装置1のソフトウエアは、ステータス・チ
エツク、即ちアダプタ・ステータス・レジスタ
ASTの内容の読取りを行い、次いでiRCV
(Interruption Receive)コマンドを発行する。
iRCVコマンドを受信すると、チヤネルはiDSW
ビツトをオフし、AiNPビツトもオフする。
FIG. 3 shows the I/O command execution sequence of the channel of the present invention. When a command called SDCR (Start DCR) is issued, the channel is started and the ABSY (Adaptor Busy) bit is turned on. The ABSY bit is only on during the channel startup phase. When a channel is activated, a command fetch is performed. Data transfer occurs after the command fetch. After data transfer is completed, status storage is performed. In the illustrated example, it is assumed that an error was detected during stator storage. After the status store, interrupt processing is performed. In the interrupt processing phase,
The iDSW bit (because an error was detected in the DSW store) is turned on and the AiNT (Adapter
Interruption) bit is turned on. When the AiNT bit is turned on, an interrupt is generated. When an interrupt permission is sent from central processing unit 1, AiNT
The bit is turned off and AiNP ((Adapter
Interruption Pending bit is turned on. The software of the central processing unit 1 performs a status check, i.e., an adapter status register.
Read the contents of AST, then iRCV
(Interruption Receive) command.
Upon receiving the iRCV command, the channel will
Turns off the bit, and also turns off the AiNP bit.

第4図はコマンドとステータスのフローを示す
図である。第4図において、DCWはデバイス・
コントロール語、CMはコマンド、Fはチエイ
ン・フラグやチエイン・データ等のフラグ、BC
はバイト・カウント、DAはデータ・アドレス、
DCBはデバイス・コントロール・ブロツク、
DCWAはDCWのアドレス、STATUSはステー
タス、DCR#0は第0番のデバイス・コントロ
ール・レジスタ、DCBAはDCBのアドレスをそ
れぞれ示している。コマンド、フラグ、バイト・
カウント及びデータ・アドレスは、チヤネルコマ
ンドを構成している。デバイス・コントロール語
DCWには、チヤネル・コマンド語などが格納さ
れる。デバイス・コントロール・ブロツクDCB
には、DCWのアドレスやステータス、残りバイ
ト・カウント等が格納される。このステータス
は、終了ステータスを意味している。この終了ス
テータスには、チヤネルの終了ステータスとI/
Oの終了ステータスから構成されている。デバイ
ス・コントロール語DCW及びデバイス・コント
ロール・ブロツクDCBは、主記憶2上に存在す
る。デバイス・コントロール・レジスタDCRは
RAM9の中に存在する。SDCRコマンドが発行
されるに先立つてチヤネルにDCBアドレスが通
知され、チヤネルは通知されたDCBアドレスを
デバイス・コントロール・レジスタDCRの中に
保持する。SDCRコマンドが発行されると、チヤ
ネルは、DCBアドレスに基づいてデバイス・コ
ントロール・ブロツクDCBを読取り、デバイ
ス・コントロール・ブロツクDCB内のDCWアド
レスに基づいてデバイス・コントロール語DCW
のチヤネル・コマンドをフエツチし、これをデバ
イス・コントロール・レジスタDCRの中に保持
する。ステータス・ストアのフエーズにおいて、
チヤネルは終了ステータスを作成し、これをデバ
イス・コントロール・ブロツクDCBの中にスト
アする。
FIG. 4 is a diagram showing the flow of commands and status. In Figure 4, DCW is the device
Control word, CM is command, F is chain flag, chain data, etc. flag, BC
is the byte count, DA is the data address,
DCB is a device control block,
DCWA indicates the address of DCW, STATUS indicates the status, DCR#0 indicates the 0th device control register, and DCBA indicates the address of DCB. commands, flags, bytes
The count and data address make up the channel command. device control word
DCW stores channel command words, etc. Device control block DCB
The DCW address, status, remaining byte count, etc. are stored in . This status means the end status. This termination status includes the channel termination status and
It consists of the exit status of O. Device control word DCW and device control block DCB exist on main memory 2. The device control register DCR is
Exists in RAM9. Before the SDCR command is issued, the channel is notified of the DCB address, and the channel holds the notified DCB address in the device control register DCR. When an SDCR command is issued, the channel reads the device control block DCB based on the DCB address and reads the device control word DCW based on the DCW address in the device control block DCB.
channel command and holds it in the device control register DCR. In the status store phase,
The channel creates an exit status and stores it in the device control block DCB.

第5図はアダプタ・コントロール・レジスタ
ACRの中のアダプタ・ステータス・レジスタ
ASTの構成を示す図である。第5図において、
各ビツトは下記のような意味を有している。
Figure 5 shows the adapter control register.
Adapter Status Register in ACR
FIG. 3 is a diagram showing the configuration of AST. In Figure 5,
Each bit has the following meaning.

ABSY(Adaptor Busy)……チヤネルがチ
ヤネル・オペレーシヨンを実行中であることを
示す。
ABSY (Adaptor Busy)...Indicates that the channel is executing a channel operation.

AiNP((Adaptor Interruption Pending)……
割込み処理状態であることを示す。ソフトウエ
アからの割込み解除のオペレーシヨンで“0”
になる。
AiNP ((Adapter Interruption Pending)...
Indicates that it is in interrupt processing state. “0” when interrupt is canceled from software
become.

AiNT(Adaptor Interruption)……割込み
の原因となるビツトであり、CPUが割込み許
可信号を送出すると、本ビツトは“0”にな
り、AiNPは“1”になる。
AiNT (Adaptor Interruption): A bit that causes an interrupt. When the CPU sends an interrupt enable signal, this bit becomes "0" and AiNP becomes "1".

iDSW(Invalid Device Status Word)……
DSWストアでエラーが検出したとき、本ビツ
トを“1”にして割込むときに用いる。AiNT
と同時に“1”にする。
iDSW (Invalid Device Status Word)...
When an error is detected in the DSW store, this bit is set to "1" and used to interrupt. AiNT
At the same time, set it to “1”.

第6図はソフトウエアの割込み手順を示す図で
ある。第3図に示すように、I/Oコマンドの終
了ステータスDSWを主記憶へストアするときに
エラーが発生すると、チヤネルはアダプタ・ステ
ータス・レジスタASTのiDSWビツトを割込み要
求の原因となるAiNTビツトと共に“1”にす
る。
FIG. 6 is a diagram showing a software interrupt procedure. As shown in Figure 3, if an error occurs when storing the completion status DSW of an I/O command to main memory, the channel stores the iDSW bit in the adapter status register AST along with the AiNT bit that caused the interrupt request. Set it to “1”.

ソフトウエアは、第6図に示すように、割込み
処理の中で正面割込みか異状割込みかを判断し、
異状であつたならばアダプタ・ステータス・レジ
スタASTのiDSWビツトを見て割込み原因の解除
を行う。なおX40は、アダプタ・ステータ
ス・レジスタASTのビツト6のみが“1”であ
り、他のビツトが“0”であることを意味してい
る。この場合、I/Oコマンドの終了ステータス
はアダプタ・コントロール・レジスタACRを経
由する以外は得られないが、エラーの発生した機
番に対応するソフトウエアに異状を通知し、ジヨ
ブを終了させることが出来る。また、ソフトウエ
アでI/Oコマンド・レベルのリトライ処理を行
うことも可能である。第7図はデータ転送時のエ
ラー検出方法を説明する図、第8図はエラーの種
類と検出方法を説明する図である。同図におい
て、1は中央処理装置、2は主記憶、3はチヤネ
ル、12と13はエラー検出部をそれぞれ示して
いる。
As shown in Figure 6, the software determines whether the interrupt is a frontal interrupt or an abnormal interrupt during interrupt processing.
If there is an abnormality, check the iDSW bit of the adapter status register AST and clear the cause of the interrupt. Note that X40 means that only bit 6 of the adapter status register AST is "1" and the other bits are "0". In this case, the completion status of the I/O command can only be obtained via the adapter control register ACR, but it is possible to notify the software corresponding to the machine number where the error occurred and terminate the job. I can do it. It is also possible to perform retry processing at the I/O command level using software. FIG. 7 is a diagram for explaining an error detection method during data transfer, and FIG. 8 is a diagram for explaining error types and detection methods. In the figure, 1 is a central processing unit, 2 is a main memory, 3 is a channel, and 12 and 13 are error detection units, respectively.

チヤネル3から主記憶2にDSWを送る際、先
ずアドレスをバス上に乗せ、次いでアドレス・ス
トローブASを上げる。アドレス・ストローブAS
が上がると、主記憶2はバス上のアドレスを取り
込み、エラー検出部12でエラー検出(パリテ
イ・チエツク)を行う。パリテイ・エラーが検出
された場合には、主記憶2は、アドレス部のエラ
ーであるため、チヤネルへは応答を返さず(無応
答)、中央処理装置1へ異状割込みを上げる。エ
ラーが検出されなかつた場合には、主記憶2はデ
ータ・シーケンスへの移行を指示する応答
(DTACK)を返す。
When sending DSW from channel 3 to main memory 2, first put the address on the bus and then raise the address strobe AS. Address strobe AS
When the value rises, the main memory 2 takes in the address on the bus, and the error detection section 12 performs error detection (parity check). If a parity error is detected, the main memory 2 does not return a response to the channel (no response) since it is an error in the address section, and raises an abnormality interrupt to the central processing unit 1. If no error is detected, the main memory 2 returns a response (DTACK) instructing a transition to the data sequence.

チヤネル3のエラー検出部13は、タイムアウ
ト(無応答)を監視しており、タイムアウトが検
出されると、ASTのAiNTとiDSWビツトをオン
する。チヤネル3は、データ・シーケンスへの移
行を指示する応答を受け取ると、バス上にデータ
としてDSWを乗せ、データ・ストローブDSを上
げる。
The error detection unit 13 of channel 3 monitors timeouts (no response), and when a timeout is detected, turns on the AiNT and iDSW bits of the AST. When channel 3 receives a response instructing the transition to the data sequence, it puts DSW on the bus as data and raises the data strobe DS.

データ・ストローブDSが上がると、主記憶2
はバス上のDSWを取り込み、エラー検出部12
でエラー検出(パリテイ・チエツク)を行う。パ
リテイ・エラーが検出された場合には、主記憶2
は、データ部のエラーであるため、応答として
BERR(異状)を返し、中央処理装置1に異状割
込みを上げる。エラーが検出されなかつた場合に
は、主記憶2はDTACK(正常)を返す。
When data strobe DS rises, main memory 2
takes in the DSW on the bus and sends it to the error detection unit 12.
Performs error detection (parity check). If a parity error is detected, main memory 2
is an error in the data part, so as a response
Returns BERR (abnormality) and raises an abnormality interrupt to the central processing unit 1. If no error is detected, the main memory 2 returns DTACK (normal).

チヤネル3はBERRを受け取ると、ASTの
AiNTとiDSWをオンにする。DTACKを受け取
ると、DSWの転送が正常終了したと認識する。
When channel 3 receives BERR, it sends the AST
Turn on AiNT and iDSW. When DTACK is received, it is recognized that the DSW transfer has completed normally.

〔発明の効果〕〔Effect of the invention〕

従来はDSWストアでエラーが発生すると、割
込みを発生しないようにしていた。本発明では、
割込みを使つて通知するので、ソフトウエアでタ
イムアウトの監視する場合に比べて異常を早く発
見でき且つソフトウエアの時間監視も不要にな
る。また、従来技術としてチヤネル全体のエラー
(AEFR)として割込む方法もあつたが、これは
前機番のI/Oコマンドが異常終了となり、エラ
ーの波及が大きな問題であつたが、本発明では、
エラーの発生した機番の処理だけ切り離すような
縮退運転も可能となり、信頼性の向上が図れる。
このように、ハードウエアの物量を増やさず、ま
たハードウエアの負担を重くすることなく性能と
信頼性の向上を期待できると言う効果を持つ。本
発明においては、コマンドやステータスをI/O
単位毎に持つため、主記憶アドレスやメモリに関
する障害やエラー及びシステム・バス上のノイズ
等による障害やエラー時に異常を速やかに検出
し、またリトライ制御も可能である。本発明は高
信頼性が要求されるシステムにおいて特に効力を
発揮する。
Previously, when an error occurred in DSW store, an interrupt was not generated. In the present invention,
Since the notification is made using an interrupt, abnormalities can be detected earlier than when timeouts are monitored by software, and software time monitoring is not required. In addition, there was a method of interrupting the entire channel as an error (AEFR) as a prior art, but this resulted in an abnormal termination of the I/O command of the previous model number, which caused a major problem in the spread of the error. ,
It is also possible to perform degenerate operation in which only the processing of the machine number where the error occurred is disconnected, improving reliability.
In this way, it is possible to expect improvements in performance and reliability without increasing the amount of hardware or increasing the burden on the hardware. In the present invention, commands and status are
Since each unit has one, it is possible to quickly detect an abnormality in the event of a failure or error related to the main memory address or memory, or a failure or error due to noise on the system bus, and it is also possible to perform retry control. The present invention is particularly effective in systems that require high reliability.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図、第2図はシステム構
成例を示す図、第3図はI/Oコマンド実行シー
ケンスを示す図、第4図はコマンドとステータス
のフローを示す図、第5図はアダプタ・ステータ
ス・レジスタの構成を示す図、第6図はソフトウ
エアの割込み処理を示す図、第7図はエラー転送
時のエラー検出方法を説明する図、第8図はエラ
ーの種類と検出方法を説明する図、第9図は従来
の技術を説明する図である。 1……中央処理装置、2……主記憶、3……チ
ヤネル、4……バス制御部、5……データ転送制
御部、6……バツフア、7……マイクロプロセツ
サ、8……ROM、9……RAM、10……I/
Oコントロール部、ACR……アダプタ・コント
ロール・レジスタ、AST……アダプタ・ステー
タス・レジスタ、iDVA……割込デバイス・アド
レス・レジスタ、DVA……デバイス・アドレ
ス・レジスタ、AOP……アダプタ・オペレーシ
ヨン・レジスタ、iCTL0とiCTL1……インタフ
エース・コントロール・レジスタ。
Fig. 1 is a diagram showing the principle of the present invention, Fig. 2 is a diagram showing an example of the system configuration, Fig. 3 is a diagram showing an I/O command execution sequence, Fig. 4 is a diagram showing the flow of commands and status, and Fig. 5 is a diagram showing the flow of commands and status. Figure 6 shows the configuration of the adapter status register, Figure 6 shows the software interrupt processing, Figure 7 explains the error detection method during error transfer, and Figure 8 shows the types of errors. A diagram explaining the detection method and FIG. 9 are diagrams explaining the conventional technique. DESCRIPTION OF SYMBOLS 1... Central processing unit, 2... Main memory, 3... Channel, 4... Bus control unit, 5... Data transfer control unit, 6... Buffer, 7... Microprocessor, 8... ROM, 9...RAM, 10...I/
O control section, ACR...adapter control register, AST...adapter status register, iDVA...interrupt device address register, DVA...device address register, AOP...adapter operation register Registers, iCTL0 and iCTL1...interface control registers.

Claims (1)

【特許請求の範囲】 1 主記憶上にI/Oに対するコマンド及びチヤ
ネルとI/Oのコマンド終了ステータスをI/O
毎に持ち、中央処理装置がチヤネルを起動した
後、チヤネルが主記憶よりコマンドをフエツチ
し、I/Oへコマンドを渡した後、I/Oの終了
ステータス及びチヤネルの終了ステータスを主記
憶へストアする方式のチヤネルにおいて、 これらステータスがデータ転送時のエラーによ
り正しくストアできないときには、チヤネル内に
持つアダプタ・ステータス・レジスタの該当ビツ
トを割込み発生ビツトと共に表示し、コマンド終
了割込みを発生させることをを特徴とするチヤネ
ル終了ステータス通知方式。
[Claims] 1. I/O commands and channel and I/O command completion statuses are stored in the main memory.
After the central processing unit starts the channel, the channel fetches the command from the main memory, passes the command to the I/O, and stores the I/O termination status and channel termination status in the main memory. When these statuses cannot be stored correctly due to an error during data transfer in a channel using a data transfer method, the corresponding bits of the adapter status register in the channel are displayed together with the interrupt generation bit, and a command end interrupt is generated. channel termination status notification method.
JP18080686A 1986-07-31 1986-07-31 Channel termination status notification method Granted JPS6336460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18080686A JPS6336460A (en) 1986-07-31 1986-07-31 Channel termination status notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18080686A JPS6336460A (en) 1986-07-31 1986-07-31 Channel termination status notification method

Publications (2)

Publication Number Publication Date
JPS6336460A JPS6336460A (en) 1988-02-17
JPH0575136B2 true JPH0575136B2 (en) 1993-10-19

Family

ID=16089673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18080686A Granted JPS6336460A (en) 1986-07-31 1986-07-31 Channel termination status notification method

Country Status (1)

Country Link
JP (1) JPS6336460A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0410097A (en) * 1990-04-27 1992-01-14 Sanyo Electric Co Ltd Food manufacturing machine

Also Published As

Publication number Publication date
JPS6336460A (en) 1988-02-17

Similar Documents

Publication Publication Date Title
US4852092A (en) Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint
JPH0423292B2 (en)
JPH06337820A (en) Mechanism and method for detection and recovery of error in multiple bus system
JPH0950424A (en) Dump collection device and dump collection method
JP2770913B2 (en) Parity replacement apparatus and method
EP0477385B1 (en) Method of resetting adapter module at failing time and computer system executing said method
US20060149866A1 (en) Method and apparatus for transferring data
JPH0575136B2 (en)
JP2855633B2 (en) Fault diagnosis device for dual port memory in multiprocessor system
JP3313667B2 (en) Failure detection method and method for redundant system
CN116136805A (en) Memory channel fault detection method and device, memory system and computer system
JP2004013723A (en) Device and method for fault recovery of information processing system adopted cluster configuration using shared memory
JP3230798B2 (en) Redundant system
JPH1139032A (en) Multi-CPU centralized monitoring device
JP3502465B2 (en) Data processing system
JPH07219796A (en) Information processor
JP3110124B2 (en) Failure detection method in multi-computer system
JP3250232B2 (en) A method for detecting the location of bus parity errors in an input/output control device
JP2814988B2 (en) Failure handling method
JPH06187184A (en) Input / output control device for dual system
JP3008646B2 (en) Failure information processing method
JP2815730B2 (en) Adapters and computer systems
JPH03233734A (en) Fault resistance control system
JPH0981465A (en) Main memory controller
JP2580311B2 (en) Mutual monitoring processing method of multiplex system

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees