JPS6115458B2 - - Google Patents

Info

Publication number
JPS6115458B2
JPS6115458B2 JP54096604A JP9660479A JPS6115458B2 JP S6115458 B2 JPS6115458 B2 JP S6115458B2 JP 54096604 A JP54096604 A JP 54096604A JP 9660479 A JP9660479 A JP 9660479A JP S6115458 B2 JPS6115458 B2 JP S6115458B2
Authority
JP
Japan
Prior art keywords
error
diagnostic
signal
circuit
diagnosed
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
Application number
JP54096604A
Other languages
Japanese (ja)
Other versions
JPS5621254A (en
Inventor
Naoaki Kasuya
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP9660479A priority Critical patent/JPS5621254A/en
Publication of JPS5621254A publication Critical patent/JPS5621254A/en
Publication of JPS6115458B2 publication Critical patent/JPS6115458B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Retry When Errors Occur (AREA)

Description

【発明の詳細な説明】 本発明は、リトライ機能をもつシステムを診断
する場合、診断実行中にエラーが検出されてもリ
トライ動作を行わないようにした診断方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a diagnostic method that, when diagnosing a system with a retry function, does not perform a retry operation even if an error is detected during execution of the diagnosis.

第1図は入出力システム特にチヤネル制御装置
の診断を説明するものであつて、1はチヤネル制
御装置、2はチヤネル、3は記憶装置、4は診断
処理装置を示している。チヤネル制御装置1を診
断する場合、診断処理装置4はチヤネル制御装置
1に対して動作指定信号、動作クロツク数指定信
号を与え、診断起動信号を送出してチヤネル制御
装置1を起動している。チヤネル制御装置1は、
起動されると、指示された処理を指定クロツク数
だけ実行し、指定クロツク数の処理を行つた後、
状態情報をログアウトし、これを記憶装置3の固
定エリアに格納する。診断処理装置4は、ログア
ウト・データを読出し、このログアウト・データ
を予測データと比較し、不一致であるとエラーあ
りと判断する。ところで、第1図の入出力システ
ムの動作中に、チヤネル制御装置1又はチヤネル
2でエラーが検出されると、リトライが実行され
る。上記の予測データは正常動作を前提として作
成されているので、リトライが実行されると、予
測データとログアウト・データ発生以降では全て
不一致となつてしまう。
FIG. 1 explains the diagnosis of an input/output system, particularly a channel control device, and numeral 1 indicates a channel control device, 2 a channel, 3 a storage device, and 4 a diagnostic processing device. When diagnosing the channel control device 1, the diagnostic processing device 4 supplies the channel control device 1 with an operation designation signal and an operation clock number designation signal, and sends out a diagnosis activation signal to activate the channel control device 1. The channel control device 1 is
When started, it executes the specified process for the specified number of clocks, and after completing the process for the specified number of clocks,
The status information is logged out and stored in a fixed area of the storage device 3. The diagnostic processing device 4 reads the logout data, compares the logout data with the predicted data, and determines that there is an error if they do not match. By the way, if an error is detected in channel control device 1 or channel 2 during operation of the input/output system shown in FIG. 1, a retry is executed. Since the above prediction data is created on the premise of normal operation, if a retry is executed, the prediction data and the logout data after the occurrence will all be inconsistent.

また、リトライを想定して予測データを作成す
ることも考えられるがリトライの原因やリトライ
回数、リトライ実行時間は千差万別であるので、
リトライを想定して予測データを作成し、ログ・
アウトデータと一致させることは不可能である。
It is also possible to create prediction data assuming retries, but the causes of retries, number of retries, and retry execution time vary widely.
Create predictive data assuming retries, log
It is impossible to match the out data.

本発明は、上記の考察に基づくものであつて、
リトライ機能を有するシステムを連続して常に正
しく診断できるようにした診断方式を提供するこ
とを目的としている。そしてそのため、本発明の
診断方式は、リトライ機能をもつ被診断システム
もしくは被診断装置と、診断処理装置とを備え、
診断処理装置が上記被診断システムもしくは被診
断装置に動作指定情報、クロツク数、診断モード
信号および診断スタート信号を送り、上記被診断
システム又は被診断装置が診断処理装置の指示に
したがい処理を実行し、且つ状態情報をログアウ
トする診断方式において、上記診断モード信号を
受信した時に所定値のエラー無視信号を生成する
手段と、上記エラー無視信号が所定値の状態の下
ではエラーが発生してもリトライを実行せず上記
エラー無視信号が他の所定値の状態の下ではリト
ライ可能なエラーが発生した場合にはリトライを
実行する手段とを具備することを特徴とするもの
である。以下、本発明を図面を参照しつつ説明す
る。
The present invention is based on the above considerations, and includes:
The object of the present invention is to provide a diagnostic method that can continuously and correctly diagnose a system having a retry function. Therefore, the diagnostic method of the present invention includes a system or device to be diagnosed having a retry function, and a diagnostic processing device,
The diagnostic processing device sends operation designation information, a clock number, a diagnostic mode signal, and a diagnostic start signal to the system to be diagnosed or the device to be diagnosed, and the system to be diagnosed or the device to be diagnosed executes processing according to instructions from the diagnostic processing device. , and in a diagnostic method for logging out status information, means for generating an error ignore signal of a predetermined value when the diagnostic mode signal is received, and retrying even if an error occurs when the error ignore signal is at a predetermined value. The present invention is characterized by comprising means for executing a retry when an error that can be retried under a state where the error ignore signal is at another predetermined value without executing the error ignore signal is generated. Hereinafter, the present invention will be explained with reference to the drawings.

第2図は本発明で用いられるチヤネル制御装置
の1実施例のブロツク図、第3図は本発明で使用
されるチヤネルの1実施例のブロツク図である。
第2図、第3図において、5は診断データ・レジ
スタ、6はクロツク・カウンタ、7はログ・アウ
ト回路、8は診断スタート・フリツプ・フロツ
プ、9は診断モード・フリツプ・フロツプ、9a
は診断モード・フリツプ・フロツプがセツトされ
たとき開くゲート、9bは診断モード・フリツ
プ・フロツプがセツトされたとき閉じるゲート、
10はOR回路、11はエラーチエツク回路、1
2はメモリ・ストアデータ・レジスタ、13はサ
ブチヤネル・メモリ・データ・レジスタ、14は
サブチヤネル・メモリ、15はサブチヤネル・メ
モリ・アドレス・レジスタ、16はメモリ・アド
レス・レジスタ、KENEGはスイツチによるエラ
ー無視信号、17はエラーチエツク回路、18は
各種エラー・フリツプ・フロツプ、19はアクセ
ス制御回路、20は命令デコーダ、21はシーケ
ンス制御回路、22はioインタフエース制御回
路、23はステータス・レジスタ、24はデコー
ダ・レジスタ、25はアセンブル・デイスアセン
ブル回路、26はioバツフア・レジスタ、27は
チヤネル・コマンド・レジスタ、28はデータ・
アドレス・レジスタ、29はチヤネル・アドレ
ス・ワード・レジスタ、30と31はAND回
路、32はOR回路、33と34はNOT回路、
REはリトライ可能エラー、UREはリトライ不可
エラーをそれぞれ示している。
FIG. 2 is a block diagram of one embodiment of a channel control device used in the present invention, and FIG. 3 is a block diagram of one embodiment of a channel used in the present invention.
In FIGS. 2 and 3, 5 is a diagnostic data register, 6 is a clock counter, 7 is a log out circuit, 8 is a diagnostic start flip-flop, 9 is a diagnostic mode flip-flop, and 9a
9b is a gate that opens when the diagnostic mode flip-flop is set; 9b is a gate that closes when the diagnostic mode flip-flop is set;
10 is an OR circuit, 11 is an error check circuit, 1
2 is the memory store data register, 13 is the subchannel memory data register, 14 is the subchannel memory, 15 is the subchannel memory address register, 16 is the memory address register, KENEG is the error ignore signal by the switch. , 17 is an error check circuit, 18 is various error flip-flops, 19 is an access control circuit, 20 is an instruction decoder, 21 is a sequence control circuit, 22 is an IO interface control circuit, 23 is a status register, and 24 is a decoder.・Registers, 25 is an assemble/disassemble circuit, 26 is an IO buffer register, 27 is a channel command register, 28 is a data
address register, 29 is a channel address word register, 30 and 31 are AND circuits, 32 is an OR circuit, 33 and 34 are NOT circuits,
RE indicates a retryable error, and URE indicates a non-retryable error.

本発明の要点は、診断モードの場合、エラーが
検出されてもエラーを無視し、これにより、リト
ライを実行させないようにした点にある。以下、
この点について詳述する。
The gist of the present invention is that in the diagnostic mode, even if an error is detected, the error is ignored, thereby preventing a retry from being executed. below,
This point will be explained in detail.

なお、第2図、第3図の回路の大部分は従来よ
り用いられているものである。
It should be noted that most of the circuits shown in FIGS. 2 and 3 are conventional ones.

診断データ・レジスタ5には、診断処理装置4
から送られて来る診断データがセツトされる。ク
ロツク・カウンタ6には、診断処理装置4から送
られて来るクロツク数がセツトされる。診断モー
ド・フリツプ・フロツプは診断モード信号が
「1」になるとセツトされる。フリツプ・フロツ
プ9がセツトされると、ゲート9aが開きゲート
9bが閉じる。診断スタート・フリツプ・フロツ
プ8は、診断スタート信号が「1」となると、チ
ヤネル制御装置1とチヤネル2にシステム・クロ
ツクを印加し、動作状態とする。ログ・アウト回
路7は、クロツク・カウンタ6の内容が零になつ
た時、チヤネル制御装置1の状態情報を収集し、
これを記憶装置3の固定エリアに書込む。キーに
よるエラー無視信号は従来技術においても存在す
るものである。このキーによるエラー無視信号お
よびフリツプ・フロツプ9からのエラー無視信号
はチヤネル2へ送られる。エラーチエツク回路1
1はチヤネル制御装置1内のエラーを検出するも
のであり、そのエラーがチヤネルに関係するもの
についてはエラー発生およびエラー種類をチヤネ
ルへ通知する。エラーチエツク回路17はチヤネ
ル2内のエラーを検出するものである。エラー・
フリツプ・フロツプ18は、チヤネル制御装置1
およびチヤネル2に生じた各種エラーを記憶す
る。エラー・フリツプ・フロツプ18で記憶され
たエラーの内、リトライ不可エラーUREはシー
ケンス制御回路21へ通知され、リトライ可能エ
ラーはAND回路30を介してアクセス制御回路
19に通知される。また、エラーが記憶されてい
ないとき、NOT回路は論理「1」を出力する。
NOT回路33の出力する論理「1」信号はノー
エラーを示すが、この信号もシーケンス制御回路
21に入力される。エラー無視信号が「1」であ
るとき、AND回路30は論理「0」を出力す
る。AND回路30の論理「1」信号はリトライ
可を示し、論理「0」信号はリトライ不可を示
す。またエラー無視信号が論理「1」であると、
エラー・フリツプ・フロツプ18にエラーが記憶
されている場合でも、AND回路31は論理
「1」を出力し、この論理「1」信号がOR回路3
2を介してノーエラー信号としてアクセス制御回
路19およびシーケンス制御回路21へ入力され
る。アクセス制御回路19は、記憶装置3および
サブチヤネル・メモリ14などをアクセスするも
のである。このアクセス制御回路19は、アクセ
ス動作中にエラーが通知され且つリトライ可信号
が論理「1」の場合、同一のアクセスを繰返す。
シーケンス制御回路21は、ノーエラーが通知さ
れると、次に制御を進め、リトライ不可エラーが
通知されると、制御を停止する。
The diagnostic data register 5 contains the diagnostic processing device 4.
The diagnostic data sent from is set. The clock counter 6 is set with the number of clocks sent from the diagnostic processing device 4. The diagnostic mode flip-flop is set when the diagnostic mode signal goes to ``1''. When flip-flop 9 is set, gate 9a opens and gate 9b closes. When the diagnostic start signal becomes "1", the diagnostic start flip-flop 8 applies a system clock to the channel control device 1 and the channel 2, thereby bringing them into operation. The logout circuit 7 collects status information of the channel control device 1 when the content of the clock counter 6 becomes zero;
This is written in a fixed area of the storage device 3. Key-based error ignore signals also exist in the prior art. The ignore error signal from this key and the ignore error signal from flip-flop 9 are sent to channel 2. Error check circuit 1
1 detects an error within the channel control device 1, and if the error is related to a channel, it notifies the channel of the error occurrence and error type. The error check circuit 17 detects errors within the channel 2. error·
The flip-flop 18 is connected to the channel control device 1
and stores various errors occurring in channel 2. Among the errors stored in the error flip-flop 18, the non-retryable error URE is notified to the sequence control circuit 21, and the retryable error is notified to the access control circuit 19 via the AND circuit 30. Further, when no error is stored, the NOT circuit outputs a logic "1".
The logic “1” signal output from the NOT circuit 33 indicates no error, and this signal is also input to the sequence control circuit 21. When the error ignore signal is "1", the AND circuit 30 outputs logic "0". A logic "1" signal of the AND circuit 30 indicates that retry is possible, and a logic "0" signal indicates that retry is not possible. Also, if the error ignore signal is logic “1”,
Even if an error is stored in the error flip-flop 18, the AND circuit 31 outputs a logic "1", and this logic "1" signal is sent to the OR circuit 3.
2 to the access control circuit 19 and sequence control circuit 21 as a no-error signal. The access control circuit 19 accesses the storage device 3, subchannel memory 14, and the like. This access control circuit 19 repeats the same access when an error is notified during the access operation and the retry enable signal is logic "1".
When the sequence control circuit 21 is notified of no error, the sequence control circuit 21 advances the control to the next step, and when notified of the retry impossible error, it stops the control.

次に具体例としてサブチヤネル・メモリ14の
診断について述べる。サブチヤネル・メモリの診
断は、診断処理装置4が診断データ・レジスタ5
にサブチヤネル・メモリ14をアクセスすべきこ
とを指示する命令コードをセツトし、クロツク・
カウンタ6に指定クロツク長をセツトし、診断モ
ード・フリツプ・フロツプ9をセツトし、診断ス
タート・フリツプ・フロツプ8をセツトすること
によつて行われる。診断データ・レジスタ5内の
命令コードはゲート9aを介して命令デコーダ2
0に入力され、命令デコーダ20によつて解読さ
れる。命令デコーダ20の解読結果にしたがつて
シーケンス制御回路21は制御を進める。アクセ
スすべきサブチヤネル・メモリ14のアドレスは
データ・アドレス・レジスタ28にセツトされ、
このアドレス情報はサブチヤネル・メモリ・アド
レス・レジスタ15にセツトされ、そしてサブチ
ヤネル・メモリ14がアクセスされる。リードの
場合であると仮定すると、サブチヤネル・メモリ
14からのリード・データは、一旦サブチヤネ
ル・メモリ・レジスタ13にセツトされ、デー
タ・バスを介してデータ・レジスタ24にセツト
される。なお、第2図、第3図の△印および▲印
はそのバスがエラーチエツクされることを示して
いる。リード・データのエラーはエラーチエツク
回路11又は17で行われる。エラー無視信号が
論理「0」の場合には、チヤネル2はアクセス制
御回路19により再試行を行う。しかし、診断モ
ードではエラー無視信号は論理「1」であるの
で、再試行を抑止される。指定されたクロツク数
だけ処理が行われた時は、チヤネル制御装置1お
よびチヤネル2は停止し、ログアウト回路によつ
てログアウトが行われる。
Next, diagnosis of the subchannel memory 14 will be described as a specific example. Diagnosis of the subchannel memory is performed by the diagnostic processing unit 4 using the diagnostic data register 5.
Set an instruction code to instruct that subchannel memory 14 should be accessed at
This is done by setting the specified clock length in counter 6, setting diagnostic mode flip-flop 9, and setting diagnostic start flip-flop 8. The instruction code in the diagnostic data register 5 is sent to the instruction decoder 2 via the gate 9a.
0 and is decoded by the instruction decoder 20. The sequence control circuit 21 advances control according to the decoding result of the instruction decoder 20. The address of subchannel memory 14 to be accessed is set in data address register 28;
This address information is set in subchannel memory address register 15 and subchannel memory 14 is accessed. Assuming that it is a read case, the read data from subchannel memory 14 is first set in subchannel memory register 13 and then set in data register 24 via the data bus. Note that the △ and ▲ marks in FIGS. 2 and 3 indicate that the bus will be checked for errors. Errors in read data are checked by an error check circuit 11 or 17. If the error ignore signal is a logic "0", channel 2 causes the access control circuit 19 to retry. However, since the error ignore signal is logic "1" in the diagnostic mode, retrying is suppressed. When processing has been performed for the specified number of clocks, channel control device 1 and channel 2 are stopped, and logout is performed by the logout circuit.

以上の説明から明らかなように、本発明によれ
ば、リトライ機能を持つ被診断装置又はシステム
を常に正しく実行することが出来る。
As is clear from the above description, according to the present invention, a diagnosed device or system having a retry function can always be correctly executed.

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

第1図は入出力システム特にチヤネル制御装置
の診断を説明する図、第2図は本発明で使用され
るチヤネル制御装置の1実施例のブロツク図、第
3図は本発明で使用されるチヤネルの1実施例の
ブロツク図である。 1…チヤネル制御装置、2…チヤネル、3…記
憶装置、4…診断処理装置、5…診断データ・レ
ジスタ、6…クロツク・カウンタ、7…ログアウ
ト回路、8…診断スタート・フリツプ・フロツ
プ、9…診断モード・フリツプ・フロツプ、9a
…診断モード・フリツプ・フロツプがセツトされ
るとき開くゲート、9b…診断モード・フリツ
プ・フロツプがセツトされるとき閉じるゲート、
10…OR回路、11…エラーチエツク回路、1
2…メモリ・ストアデータ・レジスタ、13…サ
ブチヤネル・メモリ・データ・レジスタ、14…
サブチヤネル・メモリ、15…サブチヤネル・メ
モリ・アドレス・レジスタ、16…メモリ・アド
レス・レジスタ、KENEG…スイツチによるエラ
ー無視信号、17…エラーチエツク回路、18…
各種エラー・フリツプ・フロツプ、19…アクセ
ス制御回路、20…命令デコーダ、21…シーケ
ンス制御回路、22…ioインタフエース制御回
路、23…ステータス・レジスタ、24…デー
タ・レジスタ、25…アセンブル・デイスアセン
ブル回路、26…ioバツフア・レジスタ、27…
チヤネル・コマンド・レジスタ、28…データ・
アドレス・レジスタ、29…チヤネル・アドレ
ス・ワード・レジスタ、30と31…AND回
路、32…OR回路、33と34…NOT回路、
RE…リトライ可能エラー、URE…リトライ不可
エラー。
Fig. 1 is a diagram explaining diagnosis of the input/output system, particularly the channel control device, Fig. 2 is a block diagram of one embodiment of the channel control device used in the present invention, and Fig. 3 is a diagram showing the channel control device used in the present invention. FIG. 2 is a block diagram of one embodiment of the invention. DESCRIPTION OF SYMBOLS 1...Channel control device, 2...Channel, 3...Storage device, 4...Diagnostic processing device, 5...Diagnostic data register, 6...Clock counter, 7...Logout circuit, 8...Diagnostic start flip-flop, 9... Diagnostic mode flip-flop, 9a
...gate that opens when the diagnostic mode flip-flop is set; 9b...gate that closes when the diagnostic mode flip-flop is set;
10...OR circuit, 11...Error check circuit, 1
2...Memory store data register, 13...Subchannel memory data register, 14...
Subchannel memory, 15...Subchannel memory address register, 16...Memory address register, KENEG...Error ignore signal by switch, 17...Error check circuit, 18...
Various error flip-flops, 19...Access control circuit, 20...Instruction decoder, 21...Sequence control circuit, 22...IO interface control circuit, 23...Status register, 24...Data register, 25...Assemble/disassemble Circuit, 26...io buffer register, 27...
Channel command register, 28...data
Address register, 29...Channel address word register, 30 and 31...AND circuit, 32...OR circuit, 33 and 34...NOT circuit,
RE...Retryable error, URE...Retryable error.

Claims (1)

【特許請求の範囲】[Claims] 1 リトライ機能をもつ被診断システムもしくは
被診断装置と、診断処理装置とを備え、診断処理
装置が上記被診断システムもしくは被診断装置に
動作指定情報、クロツク数、診断モード信号およ
び診断スタート信号を送り、上記被診断システム
又は被診断装置が診断処理装置の指示にしたがい
処理を実行し、且つ状態情報をログアウトする診
断方式において、上記診断モード信号を受信した
時に所定値のエラー無視信号を生成する手段と、
上記エラー無視信号が所定値の状態の下ではエラ
ーが発生してもリトライを実行せず上記エラー無
視信号が他の所定値の状態の下ではリトライ可能
なエラーが発生した場合にはリトライを実行する
手段とを具備することを特徴とする診断方式。
1. A system to be diagnosed or a device to be diagnosed that has a retry function and a diagnostic processing device are provided, and the diagnostic processing device sends operation designation information, the number of clocks, a diagnostic mode signal, and a diagnostic start signal to the system to be diagnosed or the device to be diagnosed. , in a diagnostic method in which the system to be diagnosed or the device to be diagnosed executes processing according to instructions from a diagnostic processing device and logs out status information, means for generating an error ignore signal of a predetermined value when receiving the diagnostic mode signal; and,
If the above error ignore signal is at a predetermined value, no retry will be performed even if an error occurs; if the above error ignore signal is at another predetermined value, a retry will be performed if a retryable error occurs. A diagnostic method characterized by comprising means for:
JP9660479A 1979-07-28 1979-07-28 Diagnostic system Granted JPS5621254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9660479A JPS5621254A (en) 1979-07-28 1979-07-28 Diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9660479A JPS5621254A (en) 1979-07-28 1979-07-28 Diagnostic system

Publications (2)

Publication Number Publication Date
JPS5621254A JPS5621254A (en) 1981-02-27
JPS6115458B2 true JPS6115458B2 (en) 1986-04-24

Family

ID=14169466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9660479A Granted JPS5621254A (en) 1979-07-28 1979-07-28 Diagnostic system

Country Status (1)

Country Link
JP (1) JPS5621254A (en)

Also Published As

Publication number Publication date
JPS5621254A (en) 1981-02-27

Similar Documents

Publication Publication Date Title
US4423508A (en) Logic tracing apparatus
US5596711A (en) Computer failure recovery and alert system
US4355389A (en) Microprogrammed information processing system having self-checking function
JPS6222199B2 (en)
JPS6115458B2 (en)
JP2580558B2 (en) Interface device
JPS6146864B2 (en)
JP2513615B2 (en) Storage device with ECC circuit
JP3350069B2 (en) Bus line monitoring method
JPH0375939A (en) Information processing system
SU1312591A1 (en) Interface for linking electronic computer with peripheral unit
JPS5931800B2 (en) Control memory diagnostic method
JPS60101649A (en) Diagnosis device of electronic computer
JP2584466B2 (en) Disk controller self-diagnosis method
JPH05289946A (en) Memory control system
JPH04106647A (en) Memory diagnostic system
JPS6261974B2 (en)
JPS62192824A (en) Access system for processor
JPS5922147A (en) Checking system of retrial processing
JPH0587850B2 (en)
JPH0230060B2 (en)
JPH0476138B2 (en)
JPS58186853A (en) Initial diagnostic system
JPS6029131B2 (en) Diagnostic method
JPH0535455B2 (en)