JP2000172536A - System and method for fault logging and storage medium stored with program - Google Patents

System and method for fault logging and storage medium stored with program

Info

Publication number
JP2000172536A
JP2000172536A JP10350432A JP35043298A JP2000172536A JP 2000172536 A JP2000172536 A JP 2000172536A JP 10350432 A JP10350432 A JP 10350432A JP 35043298 A JP35043298 A JP 35043298A JP 2000172536 A JP2000172536 A JP 2000172536A
Authority
JP
Japan
Prior art keywords
central processing
processing unit
failure
mask
interrupt
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.)
Granted
Application number
JP10350432A
Other languages
Japanese (ja)
Other versions
JP3161444B2 (en
Inventor
Akihiro Kaneko
昭浩 金子
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP35043298A priority Critical patent/JP3161444B2/en
Publication of JP2000172536A publication Critical patent/JP2000172536A/en
Application granted granted Critical
Publication of JP3161444B2 publication Critical patent/JP3161444B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To leave a fault history even when a central processing unit enters an infinite loop and to eliminate an entry omission of data needed for fault analysis. SOLUTION: When a fault detection part 43 of a diagnostic device 4 detects a fault in the system, a diagnosis control part 40 outputs an interruption signal to the central processing unit 1 according to the mask state of a mask control part 42 which can be controlled by the central processing unit 1. The diagnosis control part 40 invalidate the mask state of the mask control part 42 and outputs a nonmaskable interruption note to the central processing unit 1 when a fault process end answer reception part 44 does not receive a fault process end signal 121 within a specific time clocked by a timer part 45 after an interruption notice is given.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、障害ロギングシス
テム、方法およびプログラムを記憶した記憶媒体に関
し、特に診断装置からのシステム内の障害発生が中央処
理装置に通知された時に、中央処理装置によって実行さ
れる障害情報のロギング方式の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure logging system, a method and a storage medium storing a program, and more particularly to a failure logging system which is executed by a central processing unit when a failure occurrence in the system is notified from a diagnostic unit to the central processing unit. And improvement of a logging method for trouble information.

【0002】[0002]

【従来の技術】従来、このような障害ロギング方式に
は、中央処理装置への割り込みレベルを変える方法によ
り行われてきた。例えば、特許第2746184号で
は、何らかの障害を診断装置が検出すると、中央処理装
置のマスク可能なマスカブル割り込み信号により通知
し、所定時間内に障害処理完了報告がこない場合は、中
央処理装置では、マスク不可能なノンマスカブル割り込
みで通知している。
2. Description of the Related Art Conventionally, such a fault logging system has been performed by a method of changing an interrupt level to a central processing unit. For example, in Japanese Patent No. 2746184, when the diagnostic apparatus detects any failure, the central processing unit notifies the failure by a maskable interrupt signal that can be masked. If the failure processing completion report is not received within a predetermined time, the central processing unit performs masking. It is notified by an impossible non-maskable interrupt.

【0003】[0003]

【発明が解決しようとする課題】ところが、従来の技術
では、障害処理といった通常処理ではない動作のため
に、一般の割り込みレベルがひとつ使われてしまい、通
常の割り込み要求に割り込み要因のデコード処理という
オーバーヘッド処理が必要になるという問題があった。
この問題を解決するために、通常の割り込みを使用せ
ず、初めからノンマスカブル割り込みを使用するという
方法もあるが、これでは、上記の特許で指摘された以下
のような問題が発生する。
However, in the prior art, one ordinary interrupt level is used for an operation other than the normal processing such as the failure processing, and the decoding of the interrupt factor is performed in the normal interrupt request. There was a problem that overhead processing was required.
To solve this problem, there is a method of using a non-maskable interrupt from the beginning instead of using a normal interrupt. However, this causes the following problem pointed out in the above patent.

【0004】即ち、中央処理装置に対してノンマスカブ
ル割り込みで障害を通知する場合、中央処理装置の走行
状態にかかわりなく、診断装置からの障害発生通知の割
り込みが行われるので、中央処理装置で処理途中での割
り込みを許容しない処理が実行されていると、診断装置
からの割り込みによる障害処理の実行後に、元の処理に
正常に復帰できなくなる可能性がある、という問題が発
生する。
That is, when a fault is notified to the central processing unit by a non-maskable interrupt, a fault occurrence notification interrupt from the diagnostic unit is performed regardless of the running state of the central processing unit. If a process that does not allow an interrupt is executed, a problem arises that the normal process may not be able to return to the original process after executing the fault process due to the interrupt from the diagnostic device.

【0005】従って、本発明の主な目的は、通常の割り
込みレベルを使用することなく、ノンマスカブル割り込
みのみで障害発生が通知される方式の持つ上記問題を解
消することにある。
Accordingly, a main object of the present invention is to solve the above-mentioned problem of a system in which a failure is notified only by a non-maskable interrupt without using a normal interrupt level.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による障害ロギングシステムにおいては、
システム内の障害の発生を中央処理装置にノンマスカブ
ル割り込みで通知する通知手段と、割り込み通知をマス
クするか否かを中央処理装置の指示に応じて制御するマ
スク制御手段と、中央処理装置による障害処理が終了し
たことを示す障害処理終了応答が所定時間内に受信され
たか否かを判定する判定手段と、判定手段が、障害処理
終了応答が所定時間内に受信されないと判定し、かつマ
スク制御手段が、中央処理装置の指示により割り込み通
知をマスクしている時、マスクを解除して強制的に割り
込み通知を中央処理装置に与えるマスク解除手段とを設
けている。
In order to achieve the above object, a fault logging system according to the present invention comprises:
Notification means for notifying the central processing unit of the occurrence of a failure in the system by a non-maskable interrupt; mask control means for controlling whether or not to interrupt the interrupt notification in accordance with an instruction from the central processing unit; failure processing by the central processing unit Means for determining whether a failure processing end response indicating that the processing has been completed has been received within a predetermined time, the determination means determining that the failure processing end response has not been received within a predetermined time, and mask control means However, when an interrupt notification is masked by an instruction from the central processing unit, a mask release means for releasing the mask and forcibly giving the interrupt notification to the central processing unit is provided.

【0007】また、本発明による障害ロギング方法にお
いては、システム内の障害発生を中央処理装置にノンマ
スカブル割り込みで通知する通知手順と、割り込み通知
をマスクするか否かを中央処理装置の指示に応じて制御
するマスク制御手順と、中央処理装置による障害処理が
終了したことを示す障害処理終了応答が所定時間内に受
信されたか否かを判定する判定手順と、判定手順によ
り、障害処理終了応答が所定時間内に受信されないと判
定され、かつマスク制御手順により、中央処理装置の指
示に応じて割り込み通知がマスクされている時、マスク
を解除して強制的に割り込み通知を中央処理装置に与え
るマスク解除手順とを設けている。
Further, in the fault logging method according to the present invention, a notification procedure for notifying the central processing unit of the occurrence of a fault in the system by a non-maskable interrupt, and whether or not to interrupt the interrupt notification are determined according to an instruction from the central processing unit. A mask control procedure for controlling, a determination procedure for determining whether a failure processing end response indicating that the failure processing by the central processing unit has been completed is received within a predetermined time, and a failure processing end response is determined by the determination procedure. When it is determined that the interrupt notification is not received within the time and the interrupt notification is masked according to the instruction of the central processing unit by the mask control procedure, the mask is released and the interrupt notification is forcibly given to the central processing unit by the interrupt notification. Procedures are provided.

【0008】また、本発明による記憶媒体においては、
システム内の障害発生を中央処理装置にノンマスカブル
割り込みで通知する通知処理と、割り込み通知をマスク
するか否かを中央処理装置の指示に応じて制御するマス
ク制御処理と、中央処理装置による障害処理が終了した
ことを示す障害処理終了応答が所定時間内に受信された
か否かを判定する判定処理と、判定処理により、障害処
理終了応答が所定時間内に受信されないと判定され、か
つマスク制御処理により、中央処理装置の指示に応じて
割り込み通知がマスクされている時、マスクを解除して
強制的に割り込み通知を中央処理装置に与えるマスク解
除処理とを実行するためのプログラムを記憶している。
[0008] In the storage medium according to the present invention,
Notification processing for notifying the central processing unit of the occurrence of a failure in the system by a non-maskable interrupt, mask control processing for controlling whether or not to interrupt the interrupt notification according to the instruction of the central processing unit, and failure processing by the central processing unit are included. A determination process of determining whether a failure processing end response indicating that the processing has been completed is received within a predetermined time, and a determination process determines that the failure processing end response is not received within a predetermined time, and the mask control processing When the interrupt notification is masked in accordance with an instruction from the central processing unit, a program for canceling the mask and forcibly giving the interrupt notification to the central processing unit and executing a mask release process is stored.

【0009】また、上記障害ロギングシステム、方法お
よび記憶媒体において、中央処理装置が割り込みマスク
状態で無限ループに陥っている場合に、障害履歴を保存
するようにしてよい。さらに、上記障害ロギングシステ
ムにおいて、マスク制御手段の出力端子が中央処理装置
のノンマスカブル割り込み端子に接続されていてよい。
In the above-described fault logging system, method, and storage medium, when the central processing unit is in an infinite loop in an interrupt mask state, a fault history may be stored. Further, in the fault logging system, an output terminal of the mask control means may be connected to a non-maskable interrupt terminal of the central processing unit.

【0010】<作用>システム内の障害の発生を中央処
理装置で制御可能なマスク制御手段によるマスク状態を
有効として、中央処理装置にノンマスカブル割り込みで
通知し、この割り込みに応答した中央処理装置による障
害処理が終了したことを示す障害処理終了応答が所定時
間内に受信されない時に、中央処理装置によりマスクさ
れた内容を無視して、中央処理装置のマスカブル割り込
みにより通知する。
<Operation> A mask state by mask control means which can control the occurrence of a failure in the system by the central processing unit is made valid, the central processing unit is notified by a non-maskable interrupt, and the central processing unit responds to this interrupt. When a failure processing end response indicating that the processing has been completed is not received within a predetermined time, the content masked by the central processing unit is ignored and a notification is given by a maskable interrupt of the central processing unit.

【0011】これによって、中央処理装置が割り込みを
許容しない処理に入る前に、診断装置内のマスク制御手
段により、ノンマスカブル割り込みによる障害発生通知
をマスクしてしまえば、もし、その時点で何らかの障害
が発生した場合でも、障害通知の割り込みにより処理が
中断されることがなく、割り込みを許容できる状態にな
って、マスクを開いた時に、障害処理が実行されるた
め、障害ロギング処理の後、正常に復帰することが可能
となる。
[0011] With this, if the failure notification due to the non-maskable interrupt is masked by the mask control means in the diagnostic apparatus before the central processing unit enters the processing in which the interrupt is not permitted, if any failure occurs at that time. Even if a failure occurs, the processing is not interrupted by the interruption of the failure notification, the interruption is allowed, and when the mask is opened, the failure processing is executed. It is possible to return.

【0012】さらに、不幸にして中央処理装置が障害発
生通知をマスクしたままで、無限ループに至っている場
合でも、所定時間後、中央処理装置が行ったマスクを無
視して強制的にノンマスカブル割り込みにより通知され
るので、障害履歴を残すことが可能となり、障害解析に
必要なデータの記載漏れを無くして、障害解析の向上が
図れる。
Furthermore, even if the central processing unit unfortunately masks the failure occurrence notification and enters an infinite loop, after a predetermined time, the central processing unit ignores the mask performed and forcibly issues a non-maskable interrupt. Since the notification is made, a failure history can be left, and omission of data necessary for failure analysis is eliminated, thereby improving failure analysis.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
と共に説明する。図1は本発明の実施の形態による障害
ロギングシステムの構成を示すブロック図である。図1
において、診断装置(DGU)4は、システムバス10
0を介して中央処理装置(CPU)1と主記憶装置(M
EM)2と周辺制御装置(PCU)3とに接続されると
共に、診断バス101〜103を介して中央処理装置1
と主記憶装置2と周辺制御装置3とに各々個別に接続さ
れている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a fault logging system according to an embodiment of the present invention. FIG.
The diagnostic device (DGU) 4 includes a system bus 10
0 and a central processing unit (CPU) 1 and a main storage device (M
EM) 2 and a peripheral control unit (PCU) 3 and a central processing unit 1 via diagnostic buses 101 to 103.
, The main storage device 2 and the peripheral control device 3 respectively.

【0014】診断装置4は、診断制御部40と、障害の
発生を通知する割り込み通知部41と、中央処理装置1
の指示により障害通知をマスクするか否かを制御可能な
マスク制御部42と、診断バス101〜103を通じて
中央処理装置1と主記憶装置2と周辺制御装置3とにお
ける障害の発生を検出する障害検出部43と、中央処理
装置1からの障害処理終了信号121を受信する障害処
理終了応答受信部44と、タイマ部45とから構成され
ている。
The diagnostic device 4 includes a diagnostic control unit 40, an interrupt notifying unit 41 for notifying the occurrence of a fault, and the central processing unit 1
And a failure detecting a failure in the central processing unit 1, the main storage device 2, and the peripheral control device 3 through the diagnostic buses 101 to 103. It comprises a detection unit 43, a failure processing end response receiving unit 44 that receives a failure processing end signal 121 from the central processing unit 1, and a timer unit 45.

【0015】中央処理装置1は、診断装置4の割り込み
通知部41からの割り込みを、ノンマスカブル割り込み
として受け付ける割り込み受付部10と、割り込み受付
部10が診断装置4からの割り込みを受け付けたときに
実行される障害処理の終了を通知する障害処理終了信号
制御部11と、診断装置4からの障害発生を通知する割
り込みを許容しない処理の前に、その割り込みをマスク
する診断装置4内のマスク制御部42を制御するマスク
操作部12とを有している。
The central processing unit 1 executes an interrupt receiving unit 10 that receives an interrupt from the interrupt notifying unit 41 of the diagnostic device 4 as a non-maskable interrupt, and is executed when the interrupt receiving unit 10 receives an interrupt from the diagnostic device 4. A failure processing end signal control unit 11 for notifying the end of the failure processing to be performed, and a mask control unit 42 in the diagnosis apparatus 4 for masking the interruption before notifying the interruption from the diagnosis apparatus 4 for notifying the occurrence of the failure. And a mask operation unit 12 for controlling the

【0016】なお、図1ではシステムバス100に1つ
の周辺制御装置3を接続しているが、本来、システムバ
ス100には複数の周辺制御装置3が接続されているも
のとする。
Although one peripheral controller 3 is connected to the system bus 100 in FIG. 1, it is assumed that a plurality of peripheral controllers 3 are originally connected to the system bus 100.

【0017】次に、図1および図2のフローチャートを
用いて本実施の形態の動作について説明する。システム
内に何らかの異常が発生すると、診断バス101〜10
3を通じてシステム全体の監視を行っている診断装置4
の障害検出部43が、その障害を検出する。診断制御部
40は、障害検出部43からの通知に応答して割り込み
通知部41を起動し、割り込み通知部41からマスク制
御部42の状態に応じて障害発生通知信号111を中央
処理装置1に出力して障害の発生を通知する。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS. When any abnormality occurs in the system, the diagnostic buses 101 to 10
Diagnostic device 4 that monitors the entire system through 3
The failure detection unit 43 detects the failure. The diagnosis control unit 40 activates the interrupt notification unit 41 in response to the notification from the failure detection unit 43, and sends a failure occurrence notification signal 111 from the interrupt notification unit 41 to the central processing unit 1 according to the state of the mask control unit 42. Output to notify occurrence of failure.

【0018】もし、ここで中央処理装置1がマスク制御
部42をアクセスしてマスク状態にしてあるとすると、
マスク制御部42においてマスクが働き、障害発生通知
信号111は中央処理装置1には出力されない。中央処
理装置1がマスクを開けた時に初めて中央処理装置1に
障害発生通知信号111が出力される。
If it is assumed that the central processing unit 1 accesses the mask control unit 42 and sets the mask control unit 42 to a mask state,
The mask operates in the mask control unit 42, and the failure occurrence notification signal 111 is not output to the central processing unit 1. The failure notification signal 111 is output to the central processing unit 1 only when the central processing unit 1 opens the mask.

【0019】図2では、中央処理装置1が障害通知割り
込みのマスクを行った状態で、無限ループに陥ってしま
った場合を示している。この状態では、中央処理装置1
には障害発生通知信号111は出力されないので、障害
処理は行われない。
FIG. 2 shows a case where the central processing unit 1 has fallen into an infinite loop while masking the failure notification interrupt. In this state, the central processing unit 1
Does not output the failure occurrence notification signal 111, no failure processing is performed.

【0020】診断制御部40は、タイマ部45が計時す
る所定時間内に中央処理装置1の障害処理終了信号制御
部11から障害処理終了信号121による障害処理終了
応答を、障害処理終了応答受信部44が受信しなけれ
ば、つまり、中央処理装置1が、障害通知割り込みのマ
スクを行った状態で無限ループに陥ってしまって、中央
処理装置1の割り込み受付部10に障害発生通知が出力
されなければ、タイマ部45からの通知によってタイム
アウトを検出する。
The diagnosis control unit 40 receives a failure processing end response from the failure processing end signal 121 from the failure processing end signal control unit 11 of the central processing unit 1 within a predetermined time counted by the timer unit 45, and receives a failure processing end response receiving unit. If the central processing unit 1 does not receive, that is, the central processing unit 1 falls into an infinite loop while masking the failure notification interrupt, and a failure occurrence notification must be output to the interrupt receiving unit 10 of the central processing unit 1. For example, a timeout is detected based on the notification from the timer unit 45.

【0021】診断制御部40は、中央処理装置1からの
障害処理終了応答に対するタイムアウトを検出すると、
マスク制御部42をアクセスして、中央処理装置1によ
ってなされたマスクを強制的に解除する。これによっ
て、割り込み通知部41から出力された信号は障害発生
通知信号111として、中央処理装置1の割り込み受付
部10に出力される。
Upon detecting a timeout with respect to the failure processing end response from the central processing unit 1, the diagnosis control unit 40
The mask control unit 42 is accessed to forcibly release the mask made by the central processing unit 1. Thus, the signal output from the interrupt notification unit 41 is output to the interrupt reception unit 10 of the central processing unit 1 as the failure notification signal 111.

【0022】中央処理装置1は、割り込み受付部10が
ノンマスカブル割り込みを受信すると、ノンマスカブル
割り込み処理を起動して割り込み条件を調査し、それが
診断装置4からの障害発生報告か否かを判定する。割り
込みが診断装置4からの障害発生報告ではないと判定す
ると、別処理に移行する。
When the interrupt accepting unit 10 receives the non-maskable interrupt, the central processing unit 1 starts the non-maskable interrupt process, checks the interrupt condition, and determines whether or not the interrupt condition is a failure report from the diagnostic device 4. If it is determined that the interruption is not a failure occurrence report from the diagnostic device 4, the process shifts to another process.

【0023】また、中央処理装置1は、割り込みが診断
装置4からの障害発生報告であると判定すると、障害内
容を調査して障害情報を収集し、その障害情報を障害ロ
グエリアに記録し保存する。
When the central processing unit 1 determines that the interrupt is a failure report from the diagnostic device 4, the central processing unit 1 investigates the contents of the failure, collects the failure information, records the failure information in a failure log area, and saves it. I do.

【0024】中央処理装置1は障害ロギング処理が終了
すると、障害処理終了信号制御部11から障害処理終了
信号121を出力させて、診断装置4に障害処理終了応
答を行い、障害ロギング処理を終了する。
When the failure logging processing is completed, the central processing unit 1 outputs a failure processing end signal 121 from the failure processing end signal control unit 11 and sends a failure processing end response to the diagnostic apparatus 4 to end the failure logging processing. .

【0025】診断装置4の診断制御部40は、中央処理
装置1の障害処理終了信号制御部11からの障害処理終
了信号121による障害処理終了応答がくると、障害ロ
ギング処理を終了する。
The diagnostic control unit 40 of the diagnostic device 4 terminates the failure logging process upon receiving a failure process end response from the failure process end signal control unit 11 of the central processing unit 1.

【0026】また、マスク制御部42のマスク状態に関
わりなく障害発生通知信号が出力されると、中央処理装
置1の走行状態に関わりなくノンマスカブル割り込みが
起動されるので、障害処理実行後に元の処理に正常に復
帰できない可能性があるが、中央処理装置1において
は、既に割り込みマスク状態で無限ループに陥ってお
り、障害処理終了後に元の処理に復帰することなく、中
央処理装置1自身の障害処理が行われる。
When a failure occurrence notification signal is output irrespective of the mask state of the mask control unit 42, a non-maskable interrupt is activated regardless of the running state of the central processing unit 1, so that the original processing is performed after the failure processing is executed. May not be able to return to normal, but the central processing unit 1 is already in an infinite loop in the interrupt mask state, and does not return to the original processing after the completion of the failure processing. Processing is performed.

【0027】このように、本実施の形態によれば、シス
テム内の障害の発生をノンマスカブル割り込みのみで通
知するようにしても、診断装置4内に中央処理装置1が
制御可能なマスク制御部42を設けることによって、中
央処理装置1が無限ループに陥っていない場合は、障害
ロギング処理実行後に元の処理に正常に復帰することが
できる。
As described above, according to the present embodiment, even when the occurrence of a failure in the system is notified only by the non-maskable interrupt, the mask control unit 42 that can be controlled by the central processing unit 1 in the diagnostic device 4. When the central processing unit 1 does not fall into an infinite loop, it is possible to return to the original processing normally after the execution of the failure logging processing.

【0028】また、中央処理装置1が割り込みマスク状
態で無限ループに陥っている場合であっても、障害履歴
を保存手段により残すことができ、障害解析に必要なデ
ータの記載漏れを無くすることができる。これによっ
て、障害解析の効果を向上させることができる。なお、
本発明は上記実施の形態に限定されず、本発明の技術思
想の範囲内において、上記実施の形態は適宜変更され得
ることは明らかである。
Further, even when the central processing unit 1 is in an infinite loop in the interrupt mask state, the failure history can be stored by the storage means, and the omission of data necessary for failure analysis can be eliminated. Can be. Thereby, the effect of the failure analysis can be improved. In addition,
It is obvious that the present invention is not limited to the above-described embodiment, and that the above-described embodiment can be appropriately modified within the scope of the technical idea of the present invention.

【0029】また、本発明をCPUとメモリとで構成さ
れるコンピュータシステムで実現する場合、上記メモリ
は本発明による記憶媒体を構成する。この記憶媒体に
は、前述した図2のフローチャートによる処理を実行す
るためのプログラムが格納される。また、この記憶媒体
としては、半導体記憶装置、光ディスク、光磁気ディス
ク、磁気媒体等を用いることができる。
When the present invention is realized by a computer system including a CPU and a memory, the memory constitutes a storage medium according to the present invention. The storage medium stores a program for executing the processing according to the flowchart of FIG. 2 described above. As the storage medium, a semiconductor storage device, an optical disk, a magneto-optical disk, a magnetic medium, or the like can be used.

【0030】[0030]

【発明の効果】以上説明したように、本発明によれば、
診断装置がシステム内の障害を検出した時に、その障害
の発生を中央処理装置が制御可能なマスク制御部のマス
ク状態に従って通知し、この通知に応答して行われる中
央処理装置による障害処理が終了したことを示す障害処
理終了応答が、予め設定された所定時間内に受信されな
い時に、障害の発生をマスク制御部のマスク状態を無視
して強制的にノンマスカブル割り込みで通知するように
したことにより、中央処理装置1が無限ループに陥って
いない場合は、障害ロギング処理実行後に元の処理に正
常に復帰することができる。また、中央処理装置が無限
ループに陥っている場合でも、障害履歴を保存すること
ができ、障害解析に必要なデータの記載漏れを無くする
ことができるという効果がある。
As described above, according to the present invention,
When the diagnostic apparatus detects a failure in the system, the occurrence of the failure is notified according to the mask state of the mask control unit which can be controlled by the central processing unit, and the failure processing by the central processing unit performed in response to the notification is completed. When the failure processing end response indicating that the failure has not been received within the predetermined time set in advance, by notifying the occurrence of the failure by ignoring the mask state of the mask control unit and forcibly notifying the non-maskable interrupt, When the central processing unit 1 does not fall into an infinite loop, it is possible to normally return to the original processing after executing the failure logging processing. Further, even when the central processing unit is in an infinite loop, it is possible to save the failure history and to eliminate the omission of the data required for the failure analysis.

【0031】さらに、中央処理装置内の割り込み受付部
は、障害処理のためにノンマスカブル割り込み端子のみ
を割り当てるので、マスカブル割り込み端子を一般の処
理に使うことが可能となるという効果がある。
Further, since the interrupt accepting section in the central processing unit allocates only the non-maskable interrupt terminal for the purpose of fault processing, there is an effect that the maskable interrupt terminal can be used for general processing.

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

【図1】本発明の実施の形態による障害ロギングシステ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a fault logging system according to an embodiment of the present invention.

【図2】本発明の実施の形態の動作を示すフローチャー
トである。
FIG. 2 is a flowchart showing the operation of the embodiment of the present invention.

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

1 中央処理装置 2 主記憶装置 3 周辺制御装置 4 診断装置 10 割り込み受付部 11 障害処理終了信号制御部 12 マスク操作部 40 診断制御部 41 割り込み通知部 42 マスク制御部 43 障害検出部 44 障害処理終了応答受信部 45 タイマ部 111 障害発生通知信号 121 障害処理終了信号 DESCRIPTION OF SYMBOLS 1 Central processing unit 2 Main storage device 3 Peripheral control device 4 Diagnostic device 10 Interrupt accepting unit 11 Failure processing end signal control unit 12 Mask operation unit 40 Diagnosis control unit 41 Interrupt notification unit 42 Mask control unit 43 Failure detection unit 44 Failure processing end Response receiving unit 45 Timer unit 111 Failure occurrence notification signal 121 Failure processing end signal

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 診断装置がシステム内の障害を検出した
時に中央処理装置の制御によりその障害情報を収集する
障害ロギングシステムにおいて、 前記障害発生を前記中央処理装置にノンマスカブル割り
込みで通知する通知手段と、 前記割り込み通知をマスクするか否かを前記中央処理装
置の指示に応じて制御するマスク制御手段と、 前記中央処理装置による障害処理が終了したことを示す
障害処理終了応答が所定時間内に受信されたか否かを判
定する判定手段と、 前記判定手段が、前記障害処理終了応答が前記所定時間
内に受信されないと判定し、かつ前記マスク制御手段
が、前記中央処理装置の指示により前記割り込み通知を
マスクしている時、前記マスクを解除して強制的に前記
割り込み通知を前記中央処理装置に与えるマスク解除手
段とを有することを特徴とする障害ロギングシステム。
1. A fault logging system for collecting fault information under control of a central processing unit when a diagnostic device detects a fault in a system, comprising: a notifying unit for notifying the fault occurrence to the central processing unit by a non-maskable interrupt; Mask control means for controlling whether or not to mask the interrupt notification in accordance with an instruction from the central processing unit; and receiving a failure processing end response indicating that the failure processing by the central processing unit has been completed within a predetermined time. Determining means for determining whether or not the failure processing end response is received within the predetermined time, and wherein the mask control means determines whether or not the interrupt notification has been issued according to an instruction from the central processing unit. Masking means for canceling the mask and forcibly giving the interrupt notification to the central processing unit when masking Fault logging system characterized by having and.
【請求項2】 前記中央処理装置が割り込みマスク状態
で無限ループに陥っている場合に、障害履歴を保存する
ための保存手段を設けたことを特徴とする請求項1記載
の障害ロギングシステム。
2. The fault logging system according to claim 1, further comprising a storage unit for storing a fault history when the central processing unit is in an infinite loop in an interrupt mask state.
【請求項3】 前記マスク制御手段の出力端子が前記中
央処理装置のノンマスカブル割り込み端子に接続されて
いることを特徴とする請求項1記載の障害ロギングシス
テム。
3. The fault logging system according to claim 1, wherein an output terminal of said mask control means is connected to a non-maskable interrupt terminal of said central processing unit.
【請求項4】 診断装置がシステム内の障害を検出した
時に中央処理装置の制御によりその障害情報を収集する
障害ロギング方法において、 前記障害発生を前記中央処理装置にノンマスカブル割り
込みで通知する通知手順と、 前記割り込み通知をマスクするか否かを前記中央処理装
置の指示に応じて制御するマスク制御手順と、 前記中央処理装置による障害処理が終了したことを示す
障害処理終了応答が所定時間内に受信されたか否かを判
定する判定手順と、 前記判定手順により、前記障害処理終了応答が前記所定
時間内に受信されないと判定され、かつ前記マスク制御
手順により、前記中央処理装置の指示に応じて前記割り
込み通知がマスクされている時、前記マスクを解除して
強制的に前記割り込み通知を前記中央処理装置に与える
マスク解除手順とを有することを特徴とする障害ロギン
グ方法。
4. A fault logging method for collecting fault information under control of a central processing unit when a diagnostic device detects a fault in a system, comprising: a notifying procedure for notifying the occurrence of the fault to the central processing unit by a non-maskable interrupt; A mask control procedure for controlling whether or not to mask the interrupt notification according to an instruction of the central processing unit; and a failure processing end response indicating that the failure processing by the central processing unit has been completed is received within a predetermined time. A determination procedure for determining whether or not the failure processing end response is received within the predetermined time by the determination procedure, and the mask control procedure determines that the failure processing end response is not received in response to an instruction from the central processing unit. When the interrupt notification is masked, the mask is released and the interrupt notification is forcibly given to the central processing unit. Failure Logging method characterized by having a click release procedure.
【請求項5】 前記中央処理装置が割り込みマスク状態
で無限ループに陥っている場合に、障害履歴を保存する
ための保存手順を設けたことを特徴とする請求項4記載
の障害ロギング方法。
5. The fault logging method according to claim 4, further comprising a storing procedure for storing a fault history when said central processing unit is in an infinite loop in an interrupt mask state.
【請求項6】 システム内の障害発生を中央処理装置に
ノンマスカブル割り込みで通知する通知処理と、 前記割り込み通知をマスクするか否かを前記中央処理装
置の指示に応じて制御するマスク制御処理と、 前記中央処理装置による障害処理が終了したことを示す
障害処理終了応答が所定時間内に受信されたか否かを判
定する判定処理と、 前記判定処理により、前記障害処理終了応答が前記所定
時間内に受信されないと判定され、かつ前記マスク制御
処理により、前記中央処理装置の指示に応じて前記割り
込み通知がマスクされている時、前記マスクを解除して
強制的に前記割り込み通知を前記中央処理装置に与える
マスク解除処理とを実行するためのプログラムを記憶し
た記憶媒体。
6. A notifying process for notifying a central processing unit of a failure occurrence in the system by a non-maskable interrupt, a mask control process for controlling whether or not to mask the interrupt notification according to an instruction of the central processing unit, A determination process for determining whether a failure processing end response indicating that the failure processing by the central processing unit has been completed has been received within a predetermined time; and the determination processing determines that the failure processing end response has been received within the predetermined time. When it is determined that the interrupt notification has not been received and the mask control process has masked the interrupt notification according to the instruction of the central processing unit, the mask is released and the interrupt notification is forcibly sent to the central processing unit. And a storage medium storing a program for executing the given mask release processing.
【請求項7】 前記中央処理装置が割り込みマスク状態
で無限ループに陥っている場合に、障害履歴を保存する
ための保存処理を実行するためのプログラムを記憶した
請求項6記載のプログラムを記憶した記憶媒体。
7. The program according to claim 6, wherein a program for executing a saving process for saving a failure history is stored when said central processing unit is in an infinite loop in an interrupt mask state. Storage medium.
JP35043298A 1998-12-09 1998-12-09 Fault logging system, method, and storage medium storing program Expired - Fee Related JP3161444B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35043298A JP3161444B2 (en) 1998-12-09 1998-12-09 Fault logging system, method, and storage medium storing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35043298A JP3161444B2 (en) 1998-12-09 1998-12-09 Fault logging system, method, and storage medium storing program

Publications (2)

Publication Number Publication Date
JP2000172536A true JP2000172536A (en) 2000-06-23
JP3161444B2 JP3161444B2 (en) 2001-04-25

Family

ID=18410466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35043298A Expired - Fee Related JP3161444B2 (en) 1998-12-09 1998-12-09 Fault logging system, method, and storage medium storing program

Country Status (1)

Country Link
JP (1) JP3161444B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7400996B2 (en) 2003-06-26 2008-07-15 Benjamin Thomas Percer Use of I2C-based potentiometers to enable voltage rail variation under BMC control
US7437258B2 (en) 2003-06-26 2008-10-14 Hewlett-Packard Development Company, L.P. Use of I2C programmable clock generator to enable frequency variation under BMC control
US7493226B2 (en) 2003-06-26 2009-02-17 Hewlett-Packard Development Company, L.P. Method and construct for enabling programmable, integrated system margin testing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7400996B2 (en) 2003-06-26 2008-07-15 Benjamin Thomas Percer Use of I2C-based potentiometers to enable voltage rail variation under BMC control
US7437258B2 (en) 2003-06-26 2008-10-14 Hewlett-Packard Development Company, L.P. Use of I2C programmable clock generator to enable frequency variation under BMC control
US7493226B2 (en) 2003-06-26 2009-02-17 Hewlett-Packard Development Company, L.P. Method and construct for enabling programmable, integrated system margin testing

Also Published As

Publication number Publication date
JP3161444B2 (en) 2001-04-25

Similar Documents

Publication Publication Date Title
US6922741B2 (en) Method and system for monitoring DMA status
JPS59123058A (en) Machine check processing system
JP3161444B2 (en) Fault logging system, method, and storage medium storing program
JPH07210472A (en) I/o interface control method and computer system
JPH02294739A (en) Fault detecting system
JPH0814797B2 (en) Checking method in redundant processing equipment
JPS6155748A (en) Electronic computer system
JPS6146543A (en) Fault processing system of transfer device
JP2746184B2 (en) Fault logging system
JP2814988B2 (en) Failure handling method
CN116932270A (en) Diagnosis method and device for long-term off interruption
JPS58195915A (en) Error processing system of channel device
CN114356636A (en) Method and circuit for preventing CPU debugging from being out of control
JP3008851B2 (en) Inter-system monitoring method for multi-computer systems
JPH09282291A (en) System and method for canceling lock flag of common storage device
JPH01134637A (en) Supervising system for information in stall processing system
JPS61224056A (en) Processing system for detecting trouble of channel
JP2004054685A (en) Information processing device
JPH0646093A (en) Long time storage supervisory system for memory resource
JP2004118412A (en) Interruption management device, interruption management method, program development support device, and program development support method
JPH01279355A (en) Access processing system for direct memory access controller
JPS62266636A (en) Information processor
JPS61166654A (en) Memory patrol diagnosis system
JPH04182835A (en) Bus monitor device for multiprocessor system
JPH02242342A (en) Error avoiding method for data

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010123

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees