JPS6029983B2 - Failure diagnosis method for computer systems - Google Patents
Failure diagnosis method for computer systemsInfo
- Publication number
- JPS6029983B2 JPS6029983B2 JP53094411A JP9441178A JPS6029983B2 JP S6029983 B2 JPS6029983 B2 JP S6029983B2 JP 53094411 A JP53094411 A JP 53094411A JP 9441178 A JP9441178 A JP 9441178A JP S6029983 B2 JPS6029983 B2 JP S6029983B2
- Authority
- JP
- Japan
- Prior art keywords
- central processing
- module
- processing unit
- diagnostic program
- devices
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
本発明は、電子計算機システムにおける故障診断方式に
関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a fault diagnosis method in an electronic computer system.
一般に電子計算機システムは中央処理装置(CPU)に
複数台のデータ転送装置(CH)が接続されているが、
この種のデータ転送装置はシステムによってその実装数
及び物理的実装位置が異.つている。Generally, a computer system has multiple data transfer devices (CH) connected to a central processing unit (CPU).
The number and physical location of this type of data transfer device differs depending on the system. It's on.
従って、電子計算機システムの診断において、データ転
送装置が全て実装された状態である最大構成のシステム
を対象とした診断プログラムを用いて診断を実行すると
、あるデータ転送装置が未実装の場合には診断データの
スキャンィン/スキャンアウト動作が正しく実行されず
、診断支障をきたす。一方、中央処理装置だけを診断対
象とした診断プログラムを用いての診断では、診断範囲
が中央処理装置内に限定され、中央処理装置に接続され
たデータ転送装置内部の故障を検出することはできない
。Therefore, when diagnosing a computer system using a diagnostic program that targets a system with the maximum configuration in which all data transfer devices are installed, if a certain data transfer device is not installed, the diagnosis Data scan-in/scan-out operations are not performed correctly, causing diagnostic problems. On the other hand, in diagnosis using a diagnostic program that targets only the central processing unit, the scope of diagnosis is limited to the central processing unit, and failures inside the data transfer device connected to the central processing unit cannot be detected. .
これらの欠点に対処する方法として、システムにおける
データ転送装置の実装数、実装位置に対応して、中央処
理装置と該中央処理装置に実際に接続されるデータ転送
装置だけを診断対象とする診断プログラムをシステム単
位に用意する方式がある。しかし、この方式には、シス
テム毎に行なわれる診断プログラムのシステム・ジェネ
レーションに要する人手工数と、各システムにおけるデ
ータ転送装置の増設や廃棄によって生じる診断プログラ
ムの修正に要する人手工数とが必要となり、更に各シス
テムの管理上の煩雑さが問題となる。本発明は上記の如
き従来技術の問題点を解消するものであり、一つの診断
プログラムで以つてデータ転送装置のいかなる実装状態
のシステムにも適用でき、故障検出率の低下あるいは診
断の失敗(故障の誤指摘等)を防止し、管理上の煩雑さ
を低減せしめるという効果を有する診断方式を提供する
ものである。As a method to deal with these shortcomings, a diagnostic program that diagnoses only the central processing unit and the data transfer devices actually connected to the central processing unit is available, depending on the number and mounting positions of data transfer devices in the system. There is a method to prepare for each system. However, this method requires man-hours for system generation of the diagnostic program performed for each system, and man-hours required for modifying the diagnostic program caused by adding or discarding data transfer devices in each system. Furthermore, the complexity of managing each system becomes a problem. The present invention solves the problems of the prior art as described above, and can be applied to any implementation state of the data transfer device with a single diagnostic program. The present invention provides a diagnostic method that has the effect of preventing errors (such as incorrect indications, etc.) and reducing management complexity.
簡単に云えば、本発明は診断プログラムを中央処理装置
と該中央処理装置に接続することが可能な各種の装置を
それぞれ診断対象とする複数個のプログラムモジュール
により構成するとともに、各診断対象装置が各実装位置
に実際に実装されているか未実装であるかを表示する装
置実装状態語を導入し、診断プログラムの各モジュール
が診断に先だち上記の装置実装状態語を参照し、該装置
実装状態語が該プログラムモジュールの診断対象である
装置が未実装であることを表示している場合、該モジュ
ールは診断の実行をスキップし、次のモジュールの実行
に移ることを特徴とするものである。Simply put, the present invention configures a diagnostic program by a plurality of program modules each diagnosing a central processing unit and various devices that can be connected to the central processing unit. A device mounting status word is introduced to indicate whether each mounting position is actually mounted or not, and each module of the diagnostic program refers to the device mounting status word above before diagnosis. If the program module indicates that the device to be diagnosed by the program module is not installed, the module skips execution of the diagnosis and moves on to execution of the next module.
次に、本発明の一実施例につき図面を用いて説明する。Next, one embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の診断方式を実現する概略構成を示した
ものである。図において、10。〜107 は中央処理
装置20‘こ接続されるデータ転送装置等の診断対象装
置であり、このうち実線で示す10o,10,,105
,107が中央処理装置2川こ実装されている装置、一
点鎖線で示す102,103,104 ,106が未実
装の装置である。便宜上、第1図では中央処理装置20
1こ接続可能な装置は最大8台としたが、勿論、これは
単なる一例である。21は装置10。FIG. 1 shows a schematic configuration for realizing the diagnostic method of the present invention. In the figure, 10. ~107 are diagnostic target devices such as data transfer devices connected to the central processing unit 20';
, 107 are devices in which two central processing units are installed, and devices 102, 103, 104, and 106, indicated by dashed lines, are not installed. For convenience, the central processing unit 20 is shown in FIG.
The maximum number of devices that can be connected is eight, but of course this is just an example. 21 is the device 10;
〜107 の実装・未実装の状態態を示す装置実装状態
語レジスタで、該レジスタの各ビットは各装置と1対1
に対応しており、ある装置に対応するビットは該当装置
が実装されている時に論理値“1”を示し、未実装の場
合は論理値“0”を示す。これは例えば装置実装状態語
レジスタ21における各ビットと対応する装置との間に
それぞれ1本ずつの信号線を用意し、装置が実装されて
いる場合に装置側で“−1”固定値とし、装置が未実装
である場合には該当信号線が“0”固定値となるように
、信号線の性格づけを行えばよい。又、実装上の余裕が
なく、信号線を設定することが不可能な場合は既存のデ
ータ・バス等を用いるようにすればよい。第2図は、装
置10。〜107が第1図の実装状態をとる場合のこれ
ら装置と装置実装状態語レジスタ21との関係を示した
ものである。30は診断プログラム格納媒体で、これに
装置10。~107 This is a device implementation status word register that indicates the installed/unimplemented status of the device. Each bit of this register has a one-to-one relationship with each device.
A bit corresponding to a certain device shows a logic value "1" when the device is installed, and shows a logic value "0" when the device is not installed. For example, one signal line is prepared between each bit in the device implementation status word register 21 and the corresponding device, and when the device is installed, the value is fixed to "-1" on the device side. If the device is not installed, the signal line may be characterized so that the corresponding signal line has a fixed value of "0". Furthermore, if there is no space for mounting and it is impossible to set up a signal line, an existing data bus or the like may be used. FIG. 2 shows the device 10. 107 shows the relationship between these devices and the device mounting state word register 21 when the devices are in the mounting state shown in FIG. 30 is a diagnostic program storage medium, and the device 10 is attached to this medium.
〜107の診断プログラムが各装置をそれぞれ診断対象
とする8個のプログラムモジュール#0〜#7に分割さ
れて格納されている。同様に、中央処理装置20の診断
プログラムもモジュール構成で用意されるが、第1図で
は省略してある。診断プログラムの各モジュール#0〜
#7には、それぞれ当該プログラムモジュールがどの装
置に対応するかを示す情報が例えば装置実装状態語に対
するマスクパターンとして与えられる。第3図は第1図
あるいは第2図の装置10oを診断対象とするプログラ
ムモジュールに予め与えたマスクパターンを示すもので
、装置10oに対応するビットを“0”、それ以外のビ
ットを“1”としたものである。さて、システムに障害
等が発生し、診断が起動されると、中央処理装置2川ま
診断プログラム格納媒体30より診断プログラムを例え
ばモジュール#0〜#7の順に読み出し診断対象とする
装置10。~107 diagnostic programs are stored divided into eight program modules #0 to #7, each of which targets each device for diagnosis. Similarly, a diagnostic program for the central processing unit 20 is also prepared in a modular configuration, but is omitted in FIG. Each module #0 of the diagnostic program
Information indicating which device each program module corresponds to is given to #7, for example, as a mask pattern for the device mounting status word. FIG. 3 shows a mask pattern given in advance to a program module that diagnoses the device 10o in FIG. ”. Now, when a failure or the like occurs in the system and diagnosis is started, the apparatus 10 reads the diagnostic program from the diagnostic program storage medium 30 in the order of, for example, modules #0 to #7 from the central processing unit 2 and makes the device 10 the object of diagnosis.
〜107の診断を実行する。この時、診断プログラムの
各モジュールは診断の実行に先だって装置実装状態レジ
スタ21を参照し、装置実装状態語が該当モジュールの
診断対象である装置が未実装であることを示している場
合、対象とする装置の診断実行をスキップし、次のモジ
ュールの実行に移るようにする。第4図は各プログラム
モジュールが装置実装状態語を参照して、対応する装置
の診断を実行すべきか否かを判別するフロ−チャートを
示したものである。すなわち、各プログラムモジュール
は、装置実装状態語と予め与えられている各モジュール
固有のマスクパターンとの論理和をとり、その結果、全
てのビットが“1”をとる場合、対応する装置が実装さ
れているとして、該当装置の診断を実行するのである。
例えば、装置実装状態語レジスタ21の内容が第2図に
示す通りであり、又、プログラムモジュール#川こ与え
られているマスクパターンが第3図に示す通りである場
合、両者の論理和の結果は全てのビットが“1”となり
、該モジュール#0は対応する装置10。 が実装され
ていると判別するのである。一方、10。が装置102
,103,104,106とともに実装されていない場
合はしジス夕21の内容は“0100010rとなるは
ずで、この場合、第3図に示すマスクパターンとの論理
和は“01111111”となり、プログラムモジュー
ル#0は対応する装置10oが実装されていないとして
、次のモジュール#1へ処理を移す。以上の通り、本発
明によれば、未実装の装置の診断するために用意された
診断プログラムを実行することによって生じる診断の不
成功を防止することができるし、また、システムを構成
する装置全体を診断対象とし診断率の低下を防ぐことが
できる。さらに診断プログラムは禾実装の装置の診断を
自動的にスキップするので、最大構成のシステムに対応
して1種類だけを用意しておけば良く、管理上の人手工
数が軽減される。- Execute the diagnosis of 107. At this time, each module of the diagnostic program refers to the device implementation status register 21 before executing the diagnosis, and if the device implementation status word indicates that the device to be diagnosed by the corresponding module is not installed, the module is the target. Skips the diagnostic execution of the device and moves on to execution of the next module. FIG. 4 shows a flowchart in which each program module refers to the device implementation status word and determines whether or not to diagnose the corresponding device. In other words, each program module performs a logical OR between the device implementation status word and a mask pattern unique to each module given in advance, and if all bits are "1" as a result, the corresponding device is installed. The device is then diagnosed.
For example, if the contents of the device implementation status word register 21 are as shown in FIG. 2, and the mask pattern given to the program module # is as shown in FIG. 3, the result of the logical sum of the two is All bits are "1", and the module #0 corresponds to the corresponding device 10. It is determined that it is implemented. On the other hand, 10. is the device 102
, 103, 104, and 106, the contents of the program module 21 should be "0100010r. In this case, the logical sum with the mask pattern shown in FIG. 3 is "01111111," and the program module # 0 assumes that the corresponding device 10o is not installed, and moves the process to the next module #1.As described above, according to the present invention, a diagnostic program prepared for diagnosing an uninstalled device is executed. It is possible to prevent failures in diagnosis caused by this, and it is also possible to prevent a decrease in the diagnostic rate by targeting the entire device that makes up the system.Furthermore, the diagnostic program can automatically diagnose the installed device. Since the system skips to the next step, it is only necessary to prepare one type for the maximum configuration of the system, which reduces the amount of manpower required for management.
第1図は本発明の一実施例の全体構成図、第2図は第1
図における診断対象装置と装置実装状態諾しジスタとの
関係を示す詳細図、第3図は診断プログラムの各モジュ
ールに与えられるマスクパターンの一例を示す図、第4
図は診断プログラムの動作フロ−の一例を示す図である
。
10。
〜107・・・診断対象装置、20・・・中央処理装置
、30・・・診断プログラム格納媒体、#0〜#7・・
・診断プログラムモジュール。第1図
第3図
第2図
第4図FIG. 1 is an overall configuration diagram of an embodiment of the present invention, and FIG.
FIG. 3 is a detailed diagram showing the relationship between the device to be diagnosed and the device mounting status register in the figure; FIG. 3 is a diagram showing an example of a mask pattern given to each module of the diagnostic program;
The figure is a diagram showing an example of the operation flow of a diagnostic program. 10. ~107...Diagnosis target device, 20...Central processing unit, 30...Diagnostic program storage medium, #0 to #7...
・Diagnostic program module. Figure 1 Figure 3 Figure 2 Figure 4
Claims (1)
接続されている電子計算機システムにおいて、前記中央
処理装置に最大数接続することが可能な装置をそれぞれ
診断対象とする複数個の診断プログラムモジユールを設
けるとともに、各診断対象装置が実際に実装されている
か未実装であるかを示す情報を前記中央処理装置内の特
定レジスタに格納しておき、ある診断プログラムモジユ
ールが対応する装置の診断を実行するのに先だち、前記
特定レジスタを参照し、その内容が該当プログラムモジ
ユールの診断対象である装置が未実装であることを示し
ている場合は次の診断プログラムモジユールに処理をス
キツプせしめることを特徴とする故障診断方式。1. In a computer system in which a plurality of devices such as data transfer devices are connected to a central processing unit, a plurality of diagnostic program modules each target a maximum number of devices that can be connected to the central processing unit. In addition to providing a module, information indicating whether each device to be diagnosed is actually installed or not is stored in a specific register in the central processing unit, and a certain diagnostic program module diagnoses the corresponding device. Before executing, the specific register is referred to, and if the contents indicate that the device to be diagnosed by the corresponding program module is not installed, the process is skipped to the next diagnostic program module. A fault diagnosis method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53094411A JPS6029983B2 (en) | 1978-08-02 | 1978-08-02 | Failure diagnosis method for computer systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53094411A JPS6029983B2 (en) | 1978-08-02 | 1978-08-02 | Failure diagnosis method for computer systems |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5523523A JPS5523523A (en) | 1980-02-20 |
| JPS6029983B2 true JPS6029983B2 (en) | 1985-07-13 |
Family
ID=14109494
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53094411A Expired JPS6029983B2 (en) | 1978-08-02 | 1978-08-02 | Failure diagnosis method for computer systems |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6029983B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6151787U (en) * | 1984-09-07 | 1986-04-07 |
-
1978
- 1978-08-02 JP JP53094411A patent/JPS6029983B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6151787U (en) * | 1984-09-07 | 1986-04-07 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5523523A (en) | 1980-02-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5410545A (en) | Long-term storage of controller performance | |
| CN111414268B (en) | Fault processing method and device and server | |
| EP0479230B1 (en) | Recovery method and apparatus for a pipelined processing unit of a multiprocessor system | |
| US6012148A (en) | Programmable error detect/mask utilizing bus history stack | |
| JPS5851292B2 (en) | Diagnosis/debug calculation system | |
| CN112650612B (en) | A memory fault location method and device | |
| JPS5833576B2 (en) | Computer system failure diagnosis device | |
| US3916178A (en) | Apparatus and method for two controller diagnostic and verification procedures in a data processing unit | |
| US6643796B1 (en) | Method and apparatus for providing cooperative fault recovery between a processor and a service processor | |
| US4761783A (en) | Apparatus and method for reporting occurrences of errors in signals stored in a data processor | |
| JPS58225453A (en) | Error detecting system of diagnosing circuit | |
| JPS5868165A (en) | Additional function unit in microprocessor and operation thereof | |
| JPS6029983B2 (en) | Failure diagnosis method for computer systems | |
| JP3381756B2 (en) | Parallel processor system | |
| US20250298682A1 (en) | Field device and diagnosis method | |
| KR950012495B1 (en) | Memory Diagnostic Device and Method | |
| US5418794A (en) | Error determination scan tree apparatus and method | |
| JPS592585Y2 (en) | data processing equipment | |
| JPH0255816B2 (en) | ||
| JP2806799B2 (en) | Information processing system | |
| JP3156249B2 (en) | Diagnosis method of fault detection circuit | |
| JPS62226353A (en) | Storage device with ras circuit | |
| JPH02168335A (en) | Data processing system | |
| JPS63174141A (en) | Diagnosing system for test of information processor | |
| JPS61235956A (en) | Event recording method |