JPS62257542A - Diagnostic method for computer system - Google Patents

Diagnostic method for computer system

Info

Publication number
JPS62257542A
JPS62257542A JP61100681A JP10068186A JPS62257542A JP S62257542 A JPS62257542 A JP S62257542A JP 61100681 A JP61100681 A JP 61100681A JP 10068186 A JP10068186 A JP 10068186A JP S62257542 A JPS62257542 A JP S62257542A
Authority
JP
Japan
Prior art keywords
area
diagnostic
program
main storage
diagnosis
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.)
Pending
Application number
JP61100681A
Other languages
Japanese (ja)
Inventor
Masaaki Matsui
松井 雅昭
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61100681A priority Critical patent/JPS62257542A/en
Publication of JPS62257542A publication Critical patent/JPS62257542A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To diagnose the entire areas of a main storage device while diagnosing an input-output device by one time of diagnosis so as to sharply shorten the time required for making tests, by setting a program saving area in an empty area of the main storage device. CONSTITUTION:This method is constituted in such a way that the entire areas 2-4 of a main storage device, in which programs are arranged, can be diagnosed by utilizing the idling time of diagnosis while diagnosing an input-output device in parallel. In other words, a program saving area 4 is provided in an area 3 which has conventionally been used as an empty area and diagnostic programs are saved in this area 4. Diagnostic program monitoring 1 is carried out by successively actuating diagnostic programs 2a, 2b, ..., 2n as before and, finally, all the diagnostic programs are set to an operation completion waiting state. The diagnostic program monitoring 1 diagnoses the main storage by utilizing this idling time. Therefore, the entire areas 2-4 of the main storage can be diagnosed while diagnosing the input-output device by one time of diagnosis.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムの並列動作試験における計算
機システムの診断方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for diagnosing a computer system in a parallel operation test of the computer system.

〔従来の技術〕[Conventional technology]

従来の計算機システムの並列動作試験における診断プロ
グラムの主記憶装置を第3図に示す。
FIG. 3 shows a main storage device for a diagnostic program in a conventional parallel operation test of a computer system.

第3図において、1は診断プログラム・モニタ、2は診
断プログラム・モニタの管理下で動作する診断プログラ
ム群、2a、2b、・・・・、2nは診断プログラム、
3はプログラムの格納されてない空き領域である。
In FIG. 3, 1 is a diagnostic program monitor, 2 is a group of diagnostic programs that operate under the control of the diagnostic program monitor, 2a, 2b, . . . , 2n is a diagnostic program,
3 is an empty area where no program is stored.

次に動作について説明する。診断プログラム・モニタ1
は、操作員からの指示により又は自動的に、診断プログ
ラム群2の中よりまず診断プログラム2aを起動する。
Next, the operation will be explained. Diagnostic program monitor 1
The diagnostic program 2a is started first from the diagnostic program group 2 according to an instruction from an operator or automatically.

起動された診断プログラム2aは、定められた手順に従
い、入出力装置の診断を行なうために入出力起動を行な
い、動作完了割込み待ちとなる。診断プログラム・モニ
タlでは、診断プログラム2aが待ち状態になった時点
で、診断プログラム2bを起動する。診断プログラム2
bも、診断プログラム2aと同様に、入出力起動を行な
い、動作完了待ちとなる。
The activated diagnostic program 2a performs input/output activation in order to diagnose the input/output device according to a predetermined procedure, and waits for an operation completion interrupt. The diagnostic program monitor 1 starts the diagnostic program 2b when the diagnostic program 2a enters the waiting state. Diagnostic program 2
Similarly to the diagnostic program 2a, the program b also performs input/output activation and waits for completion of the operation.

このように、順次、診断プログラムが実行され、最終的
にはすべての診断プログラムが動作完了待ちとなる。診
断プログラム・モニタlは、この空き時間を利用して、
主記憶の空き領域3の診断を行なう。
In this way, the diagnostic programs are executed one after another, and eventually all the diagnostic programs wait for completion of their operations. The diagnostic program/monitor uses this free time to
The free space 3 of the main memory is diagnosed.

このようにして、並列動作試験用診断プログラムでは、
各種の入出力装置を並列に診断しながら、CPUの空き
時間を利用して、主記憶装置の診断も行なっている。
In this way, the parallel operation test diagnostic program
While diagnosing various input/output devices in parallel, the main storage device is also diagnosed using CPU idle time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の並列動作用診断プログラムは、第3図のように構
成されているので、空き領域以外、すなわち、診断プロ
グラム・モニタ1および診断プログラム群2が格納され
ている領域の主記憶の診断が行なわれないという欠点が
あった。このため、゛主記憶の全領域の診断を行なうた
めには、別の主記憶装置用診断プログラムをロードして
診断を行なう必要があり、試験の効率が悪かった。
Since the conventional diagnostic program for parallel operation is configured as shown in FIG. 3, diagnosis of the main memory other than the free area, that is, the area where the diagnostic program monitor 1 and the diagnostic program group 2 are stored, is not performed. There was a drawback that it could not be done. Therefore, in order to diagnose the entire area of the main memory, it is necessary to load another diagnostic program for the main memory and perform the diagnosis, resulting in poor test efficiency.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、従来空き領域とされていた部分
にプログラムの退避領域を設け、そこに診断プログラム
を退避することにより、1回の診断で入出力装置の診断
と主記憶装置の全領域の診断とを行なうことができるよ
うな診断方法を提供することにある。
The present invention has been made in view of these points, and its purpose is to provide a program save area in an area that was conventionally an empty area, and save a diagnostic program there. It is an object of the present invention to provide a diagnostic method capable of diagnosing input/output devices and all areas of a main storage device in a single diagnosis.

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

このような目的を達成するために本発明は、各種の入出
力装置を持った計算機システムの診断方法において、入
出力装置を並列に診断すると共に、プログラムの配置さ
れた領域を含む主記憶装置の全領域を前記診断の空き時
間を利用して診断するようにしたものである。
In order to achieve such an object, the present invention provides a method for diagnosing a computer system having various input/output devices, in which the input/output devices are diagnosed in parallel, and the main storage including the area where the program is located is The entire area is diagnosed using the free time of the diagnosis.

〔作用〕[Effect]

本発明においては、1回の診断で、入出力装置の診断を
行ないながら主記憶の全領域を診断する。
In the present invention, in one diagnosis, the entire area of the main memory is diagnosed while diagnosing the input/output device.

〔実施例〕〔Example〕

本発明に係わる計算機システムの診断方法の一実施例を
説明するための各プログラムの主記憶配置を第1図に、
制御シーケンスを第2図に示す。
FIG. 1 shows the main memory layout of each program for explaining an embodiment of the computer system diagnostic method according to the present invention.
The control sequence is shown in FIG.

第1図において、4は空き領域である。同図において第
3図と同一部分又は相当部分には同一符号が付しである
In FIG. 1, 4 is an empty area. In this figure, the same or equivalent parts as in FIG. 3 are given the same reference numerals.

次にシステムの動作について第1図、第2図を用いて説
明する。診断プログラム・モニタlは、従来技術と同様
、順次、診断プログラム2a、2b、・・・・、2nを
起動して行き、最終的にすべての診断プログラムが動作
完了待ちの状態となる。診断プログラム・モニタ1は、
この空き時間を利用して、主記憶の診断を行なうわけで
あるが、本方法においては、このとき、以下のようにし
て主記憶装置全体の診断を行なう。このときの制御シー
ケンスを第2図に示す。
Next, the operation of the system will be explained using FIGS. 1 and 2. As in the prior art, the diagnostic program monitor 1 sequentially starts the diagnostic programs 2a, 2b, . Diagnostic program monitor 1 is
This free time is used to diagnose the main memory, and in this method, the entire main memory is diagnosed as follows. The control sequence at this time is shown in FIG.

次に第2図の制御シーケンスについて説明する。Next, the control sequence shown in FIG. 2 will be explained.

診断プログラム・モニタlは、診断する主記憶をいくつ
かのブロックに分割する(ステップ11)。
The diagnostic program monitor l divides the main memory to be diagnosed into several blocks (step 11).

診断は最初のブロックから行なう。Diagnosis starts from the first block.

まず、最初のブロックがプログラムを格納している領域
か否かを判断しくステップ12)、プログラム格納領域
であれば、その内容をプログラム退避領域4 (第2図
)に移しくステップ13)、CPUアドレス変換機構を
修正(ステップ14)した後、そのブロックの主記憶の
診断を行なう(ステップ15)。この場合、プログラム
退避領域4へ退避された診断プログラムは、CPUアド
レス変換機構の修正により、退避前と同様に入出力装置
の診断を行なうことができる。
First, it is determined whether the first block is an area storing a program (Step 12). If it is a program storage area, the contents are moved to the program save area 4 (Fig. 2) (Step 13), and the CPU After correcting the address translation mechanism (step 14), the main memory of the block is diagnosed (step 15). In this case, the diagnostic program saved to the program save area 4 can diagnose the input/output device in the same way as before saving by modifying the CPU address translation mechanism.

選択されたブロックの主記憶診断が終了したとき、退避
されていた診断プログラムは退避されていた領域から再
び元の位置に戻され(ステップ16) 、CPUアドレ
ス変換機構は復元されるので(ステップ17)、入出力
装置の診断は復元前と同様に続行される。
When the main memory diagnosis of the selected block is completed, the saved diagnostic program is returned to its original position from the saved area (step 16), and the CPU address translation mechanism is restored (step 17). ), diagnostics of the input/output device continues as before the restore.

選択されたブロックがプログラムの退避領域あるいは空
き領域であれば、そのブロックの退避は行なわれず、直
接、診断が行なわれる(ステップ18)。
If the selected block is a program save area or a free area, the block is not saved and directly diagnosed (step 18).

1つのブロックの診断が終了すると、全ブロックが終了
したか否かを判断しくステップ19)、終了していない
場合はステップ11に戻り、別のブロックの選択が行な
われ、同様の診断を行なう。
When the diagnosis of one block is completed, it is determined whether or not all blocks have been completed (step 19). If not, the process returns to step 11, another block is selected, and the same diagnosis is performed.

これを繰り返すことにより、主記憶の全領域の診断を行
なうことができる。
By repeating this, the entire area of the main memory can be diagnosed.

なお、上記実施例では、主記憶装置に退避領域を設けた
が、固定ディスクやフレキシブル・ディスクのような外
部記憶装置に退避しても良い。また、診断プログラムで
実施したが、システムのソフトウエアに適用して、オン
ラインでの主記憶装置診断を行なうこともできる。
In the above embodiment, the save area is provided in the main storage device, but the save area may be saved in an external storage device such as a fixed disk or a flexible disk. Furthermore, although this was carried out using a diagnostic program, it can also be applied to system software to perform online main storage device diagnosis.

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

以上説明したように本発明は、主記憶装置の空き領域に
プログラムの退避領域を設定することにより、1回の診
断で、入出力装置の診断を行ないながら主記憶装置の全
Sn域を診断できるので、主記憶装置診断プログラムを
別途実行する必要がなくなり、試験を大幅に短縮できる
効果がある。
As explained above, the present invention can diagnose the entire Sn area of the main memory while diagnosing the input/output device in a single diagnosis by setting a program save area in the free area of the main memory. Therefore, there is no need to separately execute a main memory diagnostic program, which has the effect of significantly shortening the test time.

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

第1図は本発明に係わる計算機システムの診断方法の一
実施例を説明するためのプログラム配置図、第2図は計
算機システムにおける並列動作試験の制御シーケンスを
示すフローチャート、第3図は従来の計算機システムの
診断方法を説明するためのプログラム配置図である。
FIG. 1 is a program layout diagram for explaining an embodiment of the computer system diagnostic method according to the present invention, FIG. 2 is a flowchart showing a control sequence for a parallel operation test in a computer system, and FIG. 3 is a conventional computer system FIG. 2 is a program layout diagram for explaining a system diagnosis method.

Claims (1)

【特許請求の範囲】[Claims] 各種の入出力装置を持った計算機システムの診断方法に
おいて、入出力装置を並列に診断すると共に、プログラ
ムの配置された領域を含む主記憶装置の全領域を前記診
断の空き時間を利用して診断することを特徴とする計算
機システムの診断方法。
In a method for diagnosing a computer system having various input/output devices, the input/output devices are diagnosed in parallel, and the entire area of the main storage device including the area where the program is located is diagnosed using the free time of the above diagnosis. A computer system diagnostic method characterized by:
JP61100681A 1986-04-30 1986-04-30 Diagnostic method for computer system Pending JPS62257542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61100681A JPS62257542A (en) 1986-04-30 1986-04-30 Diagnostic method for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61100681A JPS62257542A (en) 1986-04-30 1986-04-30 Diagnostic method for computer system

Publications (1)

Publication Number Publication Date
JPS62257542A true JPS62257542A (en) 1987-11-10

Family

ID=14280489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61100681A Pending JPS62257542A (en) 1986-04-30 1986-04-30 Diagnostic method for computer system

Country Status (1)

Country Link
JP (1) JPS62257542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236379A (en) * 1988-07-27 1990-02-06 Icom Inc Testing method for logic processing function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236379A (en) * 1988-07-27 1990-02-06 Icom Inc Testing method for logic processing function

Similar Documents

Publication Publication Date Title
JPS62257542A (en) Diagnostic method for computer system
JPS63177231A (en) Debug system for parallel program
JP2584903B2 (en) External device control method
JPS613250A (en) Diagnostic system
JPS6020771B2 (en) Micro diagnosis method
JPH04152435A (en) Maintenance diagnostic system
JP2726998B2 (en) Computer testing method
JPS63276162A (en) Processor start system for multiprocessor system
JPS61228546A (en) Executing system for memory diagnosis and program loading
JPH06250870A (en) Digital signal processor
JPH02244232A (en) Information processor
JP2000057007A (en) Device initializing/initial diagnostic system
JPH02122335A (en) Test method for ras circuit
JPH03100836A (en) Fault diagnostic processing system
JPH02232744A (en) Constitution control system for simulator
JPS62126443A (en) Test execution system based upon simulation
JPH02259842A (en) System for testing tight-coupling multiprocessor system
JPH01204158A (en) Debugging back-up system for development of cross software of microcomputer
JPS6393048A (en) Test system for input/output device
JPS63136243A (en) Diagnosing system for built-in ram of information processor
JPS63253440A (en) Micro-diagnosis monitoring system
JPH04181321A (en) Microprogram loading system
JPS6248872B2 (en)
JPH03182949A (en) Diagnostic system for main storage device in computer system
JPH0253148A (en) Debugging method for test program for input/output device