JPH08171520A - Faulty package detection system - Google Patents

Faulty package detection system

Info

Publication number
JPH08171520A
JPH08171520A JP6316209A JP31620994A JPH08171520A JP H08171520 A JPH08171520 A JP H08171520A JP 6316209 A JP6316209 A JP 6316209A JP 31620994 A JP31620994 A JP 31620994A JP H08171520 A JPH08171520 A JP H08171520A
Authority
JP
Japan
Prior art keywords
package
memory
application program
fault
index table
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
JP6316209A
Other languages
Japanese (ja)
Inventor
Shuji Sakata
修次 坂田
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 JP6316209A priority Critical patent/JPH08171520A/en
Publication of JPH08171520A publication Critical patent/JPH08171520A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a faulty package detection system which can detects the number of a faulty package immediately from an address where a fault occurs in case of fault occurrence by providing a subroutine of an application program with a fault index table wherein addresses indicating memories or I/O devices and the package numbers of the memories or I/O devices are made to correspond to each other. CONSTITUTION: A common subroutine (step S3) stores parameter information including a memory or I/O device, or its address passed from the application program (step A1) in the fault index table (step A8), and actuates a function for accessing the memory or I/O device to access the corresponding I/O device or memory. If the accessed I/O device or memory becomes faulty to cause a non-maskable interrupt, the corresponding package number stored in the fault index table (step A8) is detected in the fault index table (step A8) and passed to the application program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は故障パッケージ検出方式
に関し、特にはXack Time OutによるNMI(Non Maska
ble Interrupt)発生時にファームウェアプログラムを
用いることにより、故障パッケージの特定を行なう故障
パッケージ検出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure package detection method, and more particularly to NMI (Non Maska) by Xack Time Out.
The present invention relates to a fault package detection method for identifying a fault package by using a firmware program when a ble interrupt occurs.

【0002】[0002]

【従来の技術】図3は従来の故障パッケージ検出方式を
示すフローチャートである。ソフトウェアプログラムが
ファームウェアプログラムを介して、あるいは直接に周
期的に、制御パッケージとその配下パッケージとからな
るユニットに対し障害状態の監視を行なう。もし障害が
あれば、ファームウェアプログラムを介して、あるいは
直接にソフトウェアプログラムに通知される。保守者は
その障害内容に基づいて解読を行ない故障パッケージの
特定を行なう。
2. Description of the Related Art FIG. 3 is a flowchart showing a conventional fault package detection method. A software program monitors a failure state for a unit consisting of a control package and its subordinate packages via a firmware program or directly periodically. If there is a failure, the software program is notified via the firmware program or directly. The maintenance person performs decoding based on the content of the failure and identifies the faulty package.

【0003】このように、従来の故障パッケージ検出方
式では、故障パッケージを制御する制御パッケージが、
故障パッケージ、制御パッケージ、故障パッケージ以外
のパッケージを含むユニットを単位として、ユニットが
故障中であること、およびその障害内容をファームウェ
アプログラムによってソフトウェアプログラムに通知し
ていた。
As described above, in the conventional fault package detection method, the control package for controlling the fault package is
In a unit of a unit including a fault package, a control package, and a package other than the fault package, the fact that the unit is out of order and the details of the fault are notified to the software program by the firmware program.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の故障パ
ッケージ検出方式においては、制御パッケージが、ユニ
ットを単位として、ユニットが故障中であること、およ
びその障害内容をファームウェアプログラムによってソ
フトプログラムに通知していたために、故障パッケージ
を特定するのが難しく、故障内容から故障パッケージを
推測するしかなかった。
In the above-mentioned conventional failure package detection method, the control package notifies the software program by the firmware program that the unit is in failure and the failure content is in units of the unit. Therefore, it is difficult to identify the faulty package, and there is no choice but to guess the faulty package from the fault content.

【0005】本発明は上記問題点に鑑み、アドレスとパ
ッケージ番号とを対応させた障害索引テーブルを設け
て、障害発生時には、障害発生のアドレスから即座に障
害のあるパッケージ番号を検出できる故障パッケージ検
出方式を提供することを目的とする。
In view of the above problems, the present invention provides a fault index table in which addresses and package numbers are associated with each other, and when a fault occurs, a faulty package number can be immediately detected from the faulty address. The purpose is to provide a scheme.

【0006】[0006]

【課題を解決するための手段】本発明の故障パッケージ
検出方式は、CPUが駆動するアプリケーションプログ
ラムが、与えられたアドレスに基づいて、前記アドレス
に対応するパッケージ番号のパッケージにアクセスする
際に、前記アプリケーションプログラムが未実装あるい
は故障状態のメモリまたはI/O装置にアクセスし、レ
ディ信号が戻ってこない場合に強制的にレディ信号を発
生させ、ノン・マスカブル・インタラプト、すなわちN
MI(Non Maskable Interrupt)を発生させるエクザッ
ク・タイム・アウト、すなわちXack Time Outが発生し
たときの故障パッケージ検出方式であって、前記アプリ
ケーションプログラムに、前記メモリまたはI/O装置
にアクセスを行なう関数と、与えられるI/Oまたはメ
モリのための各パッケージ番号と、前記各パッケージ番
号に割り付けられたアドレスとを対応させて格納できる
障害索引テーブルとを有する共通サブルーチンを設け、
前記アプリケーションプログラムがメモリまたはI/O
装置にアクセスするときは、前記アプリケーションプロ
グラムはアクセスするメモリまたはI/O装置およびそ
のアドレスをパラメータ情報として共通サブルーチンに
引き渡し、共通サブルーチンは、引き渡されたパラメー
タ情報を障害索引テーブルに格納して、関数を起動し該
当するI/O装置またはメモリにアクセスし、ノン・マ
スカブル・インターラプトが発生したときは、該当する
パッケージ番号を障害索引テーブルから検出し、アプリ
ケーションプログラムに引き渡す。
According to the fault package detection method of the present invention, when an application program driven by a CPU accesses a package having a package number corresponding to the given address based on the given address, When an application program accesses a memory or an I / O device that is not mounted or is in a failed state and the ready signal does not return, the ready signal is forcibly generated, and non-maskable interrupt, that is, N
A failure package detection method when an Exakk Time Out that causes MI (Non Maskable Interrupt), that is, an Xack Time Out occurs, wherein the application program includes a function for accessing the memory or the I / O device. , A common subroutine having a failure index table capable of storing each package number for a given I / O or memory and the address assigned to each package number in association with each other,
The application program is a memory or I / O
When accessing the device, the application program passes the memory or I / O device to be accessed and its address to the common subroutine as parameter information, and the common subroutine stores the passed parameter information in the fault index table and executes the function. When a non-maskable interrupt occurs, the corresponding package number is detected from the fault index table and passed to the application program.

【0007】[0007]

【作用】共通サブルーチンは、アプリケーションプログ
ラムから引き渡されたパラメータ情報を障害索引テーブ
ルに格納して、アクセスのための関数を起動し該当する
I/O装置またはメモリにアクセスする。アクセスした
I/O装置またはメモリに障害が発生し、ノン・マスカ
ブル・インタラプトが発生したときは、障害索引テーブ
ルに記憶しておいた該当するパッケージ番号を、障害索
引テーブルから検出しアプリケーションプログラムに引
き渡す。この引き渡しは障害索引テーブルを検索するこ
とのみで実行できるので即時に可能である。
The common subroutine stores the parameter information delivered from the application program in the fault index table, activates the access function, and accesses the corresponding I / O device or memory. When a failure occurs in the accessed I / O device or memory and a non-maskable interrupt occurs, the corresponding package number stored in the failure index table is detected from the failure index table and passed to the application program. . This delivery can be executed immediately because it can be executed only by searching the fault index table.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の故障パッケージ検出方式の
一実施例を示すフローチャート、図2はI/O装置また
はメモリの各パッケージ番号と、各パッケージ番号が対
応するアドレスとが共通サブルーチンに記憶されている
障害索引テーブルの記憶内容を示す図である。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a flow chart showing an embodiment of the fault package detection method of the present invention, and FIG. 2 is a fault in which each package number of an I / O device or memory and an address corresponding to each package number are stored in a common subroutine. It is a figure which shows the memory content of an index table.

【0009】制御パッケージのROM(Read Only Memo
ry)に格納されているアプリケーションプログラムは起
動され(ステップA1)、I/O装置であるかメモリで
あるか、あるいはどのアドレスに対応するパッケージ番
号のI/O装置またはメモリであるかを示したパラメー
タを用意し(ステップA2)、共通サブルーチンに引き
渡す(ステップA3)。共通サブルーチンは、引き渡さ
れたパラメータを障害索引テーブルに格納するととも
に、I/O装置やメモリに対してアクセスを行なう関数
を起動する(ステップA4)。関数は、該当するI/O
装置あるいはメモリに対してアクセスをしに行く(ステ
ップA5)が、アクセスしたパッケージに障害があった
とすると、NMI(Non Maskable Interrupt)を発生さ
せるXack Time Outが発生する(ステップA6)。
Control package ROM (Read Only Memo)
The application program stored in ry) is started (step A1) and indicates whether it is an I / O device or a memory, or which address of the package number corresponds to the I / O device or the memory. The parameters are prepared (step A2) and passed to the common subroutine (step A3). The common subroutine stores the delivered parameters in the fault index table and activates a function for accessing the I / O device and the memory (step A4). Function is the corresponding I / O
If an access is made to the device or the memory (step A5), but there is a failure in the accessed package, Xack Time Out that causes NMI (Non Maskable Interrupt) occurs (step A6).

【0010】Xack Time Outが発生すると、共通サブル
ーチンは、これを検知し(ステップA7)、共通サブル
ーチン内に保持されていた障害索引テーブルを検索し
(ステップA8)、Xack Time Outが起こった時のアク
セス先のアドレスから、対応するパッケージ番号を検出
し、検出したパッケージ番号をパラメータ情報として共
通サブルーチンコールし(ステップA9)、アプリケー
ション・プログラムに引き渡す。
When the Xack Time Out occurs, the common subroutine detects it (step A7), searches the fault index table held in the common subroutine (step A8), and detects when the Xack Time Out occurs. The corresponding package number is detected from the address of the access destination, the detected package number is called as a common subroutine as parameter information (step A9), and is delivered to the application program.

【0011】[0011]

【発明の効果】以上説明したように本発明は、共通サブ
ルーチンを用いることにより、アプリケーションプログ
ラムから、パラメータ情報を共通サブルーチンに引き渡
して保存しておくとともに、メモリやI/O装置のアド
レスとパッケージ番号を対応づけた障害索引テーブルを
用意し、共通サブルーチンからI/O装置やメモリのア
ドレスにアクセスする関数によって、障害発生時のアド
レスからパッケージ番号が即座に検出でき、したがって
故障パッケージを容易に確認できるという効果がある。
As described above, according to the present invention, by using the common subroutine, the parameter information is passed from the application program to the common subroutine for storage, and the address and package number of the memory or I / O device are stored. A fault index table that associates with the above is prepared, and the package number can be immediately detected from the address at the time of the fault by the function that accesses the address of the I / O device or the memory from the common subroutine. There is an effect.

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

【図1】本発明の故障パッケージ検出方式の一実施例を
示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of a fault package detection method of the present invention.

【図2】図1の実施例における共通サブルーチンに記憶
されている障害索引テーブルの記憶内容を示す図であ
る。
FIG. 2 is a diagram showing stored contents of a failure index table stored in a common subroutine in the embodiment of FIG.

【図3】従来の故障パッケージ検出方式を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a conventional fault package detection method.

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

A1〜A9 ステップ A1-A9 steps

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPUが駆動するアプリケーションプロ
グラムが、与えられたアドレスに基づいて、前記アドレ
スに対応するパッケージ番号のパッケージにアクセスす
る際に、前記アプリケーションプログラムが未実装ある
いは故障状態のメモリまたはI/O装置にアクセスし、
レディ信号が戻ってこない場合に強制的にレディ信号を
発生させ、ノン・マスカブル・インタラプトを発生させ
るエクザック・タイム・アウトが発生したときの故障パ
ッケージ検出方式において、 前記アプリケーションプログラムに、前記メモリまたは
I/O装置にアクセスを行なう関数と、与えられるI/
Oまたはメモリのための各パッケージ番号と、前記各パ
ッケージ番号に割り付けられたアドレスとを対応させて
格納できる障害索引テーブルとを有する共通サブルーチ
ンを設け、 前記アプリケーションプログラムがメモリまたはI/O
装置にアクセスするときは、前記アプリケーションプロ
グラムはアクセスするメモリまたはI/O装置およびそ
のアドレスをパラメータ情報として共通サブルーチンに
引き渡し、共通サブルーチンは、引き渡されたパラメー
タ情報を障害索引テーブルに格納して、関数を起動し該
当するI/Oまたはメモリにアクセスし、 ノン・マスカブル・インテーラプトが発生したときは、
該当するパッケージ番号を障害索引テーブルから検出
し、アプリケーションプログラムに引き渡すことを特徴
とする故障パッケージ検出方式。
1. When an application program driven by a CPU accesses a package having a package number corresponding to the given address on the basis of a given address, the application program is not mounted or has a faulty memory or I / O. Access the O device,
In a failure package detection method when an exaac time-out occurs, in which a ready signal is forcibly generated when a ready signal is not returned and a non-maskable interrupt is generated, the application program includes the memory or I / O function and the I / O provided
There is provided a common subroutine having a package index number for O or a memory and a failure index table capable of storing the address assigned to the package number in association with each other, and the application program stores the memory or the I / O.
When accessing the device, the application program passes the memory or I / O device to be accessed and its address to the common subroutine as parameter information, and the common subroutine stores the passed parameter information in the fault index table and executes the function. Is started, the corresponding I / O or memory is accessed, and when a non-maskable interrupt occurs,
A failure package detection method that detects the corresponding package number from the failure index table and passes it to the application program.
【請求項2】 前記アプリケーションプログラムは、フ
ァームウェアプログラムとなっている請求項1記載の故
障パッケージ検出方式。
2. The fault package detection method according to claim 1, wherein the application program is a firmware program.
【請求項3】 前記障害索引テーブルは、メモリとI/
O装置とに関するパラメータ情報をそれぞれ区分して格
納可能にされている請求項1記載の故障パッケージ検出
方式。
3. The fault index table comprises memory and I / O.
The fault package detection method according to claim 1, wherein the parameter information relating to the O device can be stored separately.
JP6316209A 1994-12-20 1994-12-20 Faulty package detection system Pending JPH08171520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6316209A JPH08171520A (en) 1994-12-20 1994-12-20 Faulty package detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6316209A JPH08171520A (en) 1994-12-20 1994-12-20 Faulty package detection system

Publications (1)

Publication Number Publication Date
JPH08171520A true JPH08171520A (en) 1996-07-02

Family

ID=18074521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6316209A Pending JPH08171520A (en) 1994-12-20 1994-12-20 Faulty package detection system

Country Status (1)

Country Link
JP (1) JPH08171520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009110069A1 (en) * 2008-03-04 2009-09-11 富士通株式会社 Controller and control program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06216999A (en) * 1993-01-13 1994-08-05 Fujitsu Ltd Memory fault retrieval method in electronic exchange

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06216999A (en) * 1993-01-13 1994-08-05 Fujitsu Ltd Memory fault retrieval method in electronic exchange

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009110069A1 (en) * 2008-03-04 2009-09-11 富士通株式会社 Controller and control program
US8001431B2 (en) 2008-03-04 2011-08-16 Fujitsu Limited Control apparatus

Similar Documents

Publication Publication Date Title
EP0730230B1 (en) Method for prioritizing and handling errors in a computer system
EP0431467A1 (en) Multiprocessor system having distributed shared resources and dynamic global data replication
JP3882321B2 (en) Computer with operating system module program
CN101192192A (en) Task abnormity diagnosis method and system for real-time operating system
JPH08171520A (en) Faulty package detection system
EP0117930B1 (en) Interactive work station with auxiliary microprocessor for storage protection
JPH11134204A (en) Stack protecting device
JPS58197557A (en) Message control system
JPH02297237A (en) Automatic restarting device for electronic computer system
JPH064409A (en) Memory fault processing system
JP2635777B2 (en) Programmable controller
JPH0217550A (en) Trouble processing system for multiprocessor system
JPH05204771A (en) Memory control system
JPH06188909A (en) Abnormal packet processing system
JPS59220849A (en) Image comparison control system
JP2004213178A (en) Computer system
JPH0635749A (en) Data processing system
JP2718676B2 (en) Virtual memory dump processing method
JPH07152574A (en) Program loading system
JPH0644145A (en) Memory error saving system
JP3013517B2 (en) Write buffer error address detection circuit
JP2583403B2 (en) Backing store management method
JPS63123140A (en) History information storage device
JPH0236014B2 (en)
JPH04155552A (en) Cache memory fault deciding system