JPS61208150A - Collecting device for fault data - Google Patents

Collecting device for fault data

Info

Publication number
JPS61208150A
JPS61208150A JP60048891A JP4889185A JPS61208150A JP S61208150 A JPS61208150 A JP S61208150A JP 60048891 A JP60048891 A JP 60048891A JP 4889185 A JP4889185 A JP 4889185A JP S61208150 A JPS61208150 A JP S61208150A
Authority
JP
Japan
Prior art keywords
main memory
data
register
address
contents
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
JP60048891A
Other languages
Japanese (ja)
Inventor
Akio Sakamoto
坂本 紀生
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 JP60048891A priority Critical patent/JPS61208150A/en
Publication of JPS61208150A publication Critical patent/JPS61208150A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To collect fault information on transient software on a virtual storage system by recording the contents of a main storage write data register when a main storage write address coincides with an investigation object address. CONSTITUTION:A state flip-flop 14 which is set when the transient software is rolled in a main storage allows an AND gate 16 to control the output 38 of a comparing circuit 15 which compares the contents of a main storage address register 10 holding a write address of the main storage 12 with the contents of an investigation object address register 13 holding an investigation object address of fault occurrence. When a coincidence signal is obtained according to the set state of the flip-flip, a storage control circuit 20 is put in operation to store the contents of a data register 11 in a fault data storage circuit 21.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は障害原因を調査するための障害データ収集装置
に関し、特に障害データ収集装置によるデータ処理装置
の保守、診断に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a fault data collection device for investigating the cause of a fault, and more particularly to maintenance and diagnosis of a data processing device using the fault data collection device.

(従来の技術) 従来から、データ処理装置の障害はハードウェア自身に
具備した異常検出回路、またはソフトウェアに組込まれ
たデータの妥当性チェック手段等によって検出されてい
た。ハードウェアによシ他のハードウェアの異常を検出
した場合には障害原因の切分けは容易であるが、ハード
ウェアによってソフトウェアの異常を検出した場合、あ
るいはソフトウェアによってデータの異常を検出した場
合には障害原因の調査は容易でない。したがって、通常
は異常を検出した時点でシステムの動作を止めるか、あ
るいは問題となる業務用プログラムの実行を中断して主
記憶上のデータをラインプリンタ等の出力装置に打出し
、主記憶上に残された各種情報の痕跡から論理的に考察
して原因を追求する方式を採用していた。例えば、主記
憶上で成るデータ(プログラム自身を含む広義のデータ
)が不正であることが判明したとしても、さらにその真
の原因を調査するためにノ1−ドウエアまたはソフトウ
ェアによるチェックをするだめの道具を考えなければな
らなかった。
(Prior Art) Conventionally, failures in data processing apparatuses have been detected by an abnormality detection circuit provided in the hardware itself or a data validity check means incorporated in software. It is easy to isolate the cause of the failure when the hardware detects an abnormality in other hardware, but when the hardware detects a software abnormality or the software detects an abnormality in data, it is easy to isolate the cause of the failure. It is not easy to investigate the cause of failure. Therefore, when an abnormality is detected, the system usually stops operating or interrupts the execution of the problematic business program and outputs the data in main memory to an output device such as a line printer. They adopted a method of logically considering the various traces of information left behind to find the cause. For example, even if it turns out that the data in main memory (data in a broad sense, including the program itself) is invalid, it is still necessary to check it using hardware or software to investigate the true cause. I had to think of tools.

(発明が解決しようとする問題点) したがって、調査には長い時間がかかり、時系列的にデ
ータが不正となった時点を把握するためには何回かシス
テムを止める必要性があるため、使用者への影響が大き
いという欠点があった。
(Problem that the invention attempts to solve) Therefore, the investigation takes a long time, and it is necessary to stop the system several times in order to understand the point in time when the data becomes incorrect. The disadvantage was that it had a large impact on people.

従来、このようなデータを採取するために、主記憶上の
特定アドレスに書込むデータをトレースするためのトレ
ース機器も作られてはいるが、主記憶に常駐していない
ソフトウェアは物理アドレスが事前に確定しないため、
仮想記憶システムでは使用できないという欠点があった
Conventionally, in order to collect such data, tracing devices have been created to trace the data written to a specific address in main memory, but software that does not reside in main memory has a physical address that is set in advance. Since it is not determined that
The drawback was that it could not be used with virtual memory systems.

さらに、仮想記憶システムでは、物理アドレスによって
ではなく論理アドレスによって書込みデータをトレース
する手段を含む装置もあるが、周辺装置からチャネルを
経由して行う主記憶アクセスカ物理アドレスで行われる
ため、周辺装置からの入力データが正しくない場合には
障害原因を検出することができないという欠点があった
Furthermore, although some virtual memory systems include means for tracing write data by logical addresses rather than by physical addresses, main memory accesses made from peripherals via channels are done by physical addresses; The problem is that the cause of the failure cannot be detected if the input data from the system is incorrect.

本発明の目的は、仮想記憶システムにおいて非常駐ソフ
トウェアが主記憶上に存在する場合に限って任意の物理
アドレスに書込まれるデータを時系列的に記憶すること
によシ上記欠点を除去し、システムを止めることなく障
害調査を容易に行うことができるように構成した適用範
囲の広い障害データ収集装置を提供することKある。
An object of the present invention is to eliminate the above-mentioned drawbacks by chronologically storing data that is written to any physical address only when non-resident software exists in the main memory in a virtual memory system. It is an object of the present invention to provide a fault data collection device having a wide range of applicability and configured so that fault investigation can be easily conducted without stopping the system.

(問題点を解決するための手段) 本発明による障害データ収集装置は、状態フリップフロ
ップと、調査対象アドレスレジスタと、比較回路と、障
害データ記憶回路とを具備して構成したもゆである。
(Means for Solving the Problems) A fault data collection device according to the present invention is configured to include a state flip-flop, an address register to be investigated, a comparison circuit, and a fault data storage circuit.

状態フリラグフロッグは、対象とするデータが主記憶上
に存在するか否かを示すためのものである。
The status flag frog is used to indicate whether or not the target data exists on the main memory.

調査対象アドレスレジスタは、対象とするデータの存在
する主記憶アドレスを記憶するためのものである。
The investigation target address register is for storing the main memory address where the target data exists.

比較回路は、主記憶に含まれた主記憶アドレスレジスタ
の内容と調査対象アドレスレジスタの内容とを比較する
ためのものである。
The comparison circuit is for comparing the contents of the main memory address register included in the main memory and the contents of the address register to be investigated.

障害データ記憶回路は、主記憶にデータを書込む際に状
態フリップフロップがセットされていて、比較の結果か
ら一致が得られている時に、主記憶に含まれた主記憶書
込みデータレジスタの内容を記憶することができるもの
である。
The faulty data storage circuit stores the contents of the main memory write data register included in the main memory when the state flip-flop is set when writing data to the main memory and a match is obtained from the comparison result. It is something that can be memorized.

(実施例) 次に、本発明の実施例について図面を参照して詳細に説
明する。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings.

第1図は、本発明による障害データ収集装置の一実施例
を示すブロック図である。第1図において、10は主記
憶アドレスレジスタ、11は主記憶書込みデータレジス
タ、12は主記憶素子マトリクス、13は調査対象アド
レスレジスタ、14は状態フリラグフロッグ、15は比
較回路、16はANDゲート、17は命令アドレスレジ
スタ、18は入出力チャネルレジスタ、19は選択回路
、20は記憶制御回路、21は障害データ記憶回路であ
る。
FIG. 1 is a block diagram showing an embodiment of a failure data collection device according to the present invention. In FIG. 1, 10 is a main memory address register, 11 is a main memory write data register, 12 is a main memory element matrix, 13 is an address register to be investigated, 14 is a status flag flag, 15 is a comparison circuit, and 16 is an AND gate. , 17 is an instruction address register, 18 is an input/output channel register, 19 is a selection circuit, 20 is a storage control circuit, and 21 is a fault data storage circuit.

本発明による障害データ収集装置の一実施例を示す第1
図において、主記憶は当業者にとって既知であるが、こ
れは主記憶アドレスレジスタ10、主記憶書込みデータ
レジスタ11、主記憶素子マトリクス12、および制御
回路(図示してない)から構成されている。主記憶にお
いて、主記憶アドレスレジスタ10から主記憶素子マト
リクス12に入力されるアドレス選択信号線32によっ
て指示されたアドレスに、主記憶書込みデータレジスタ
11から入力された書込みデータ信号線30上のデータ
が書込まれる。上記アドレスから読出されるデータは、
読出しデータ信号線31に出力される。
A first example showing an embodiment of the failure data collection device according to the present invention.
In the figure, main memory, as known to those skilled in the art, is comprised of a main memory address register 10, a main memory write data register 11, a main memory element matrix 12, and control circuitry (not shown). In the main memory, the data on the write data signal line 30 input from the main memory write data register 11 is input to the address specified by the address selection signal line 32 input from the main memory address register 10 to the main memory element matrix 12. written. The data read from the above address is
It is output to the read data signal line 31.

本発明において、データ調査の対象となるアドレスを格
納するための調査対象アドレスレジスタ13の内容と、
主記憶上にデータが存在するか否かを示す状態フリップ
フロップ14の状態情報とは制御回路(図示していない
)からアドレス信号線55およびデータ信号線36によ
シそれぞれソフトウェア命令によって与えられている。
In the present invention, the contents of the investigation target address register 13 for storing addresses to be data investigated;
Status information of the status flip-flop 14 indicating whether or not data exists on the main memory is given by a software command from a control circuit (not shown) through an address signal line 55 and a data signal line 36, respectively. There is.

仮想記憶システムにおいて非常駐ソフトウェアが必要に
なった時には、最初に仮想記憶管理ソフトウェアにより
主記憶上の論理アドレスと物理アドレスとの間で対応付
けが行われる。続いて、磁気ディスク装置の外部補助記
憶装置から主記憶上に非常駐ンフトウエアがロールイン
されて実行され、また仮想記憶管理ソフトウェアにより
必要に応じて主記憶から外部補助記憶装置へ非常駐ソフ
トウェアがロールアウトされる。
When non-resident software is needed in a virtual storage system, first, the virtual storage management software creates a correspondence between logical addresses and physical addresses on the main memory. Next, the non-resident software is rolled into the main memory from the external auxiliary storage of the magnetic disk device and executed, and the virtual memory management software rolls out the non-resident software from the main memory to the external auxiliary storage as necessary. Ru.

非常駐ソフトウェアの論理アドレスと物理アドレスとの
対応付けを行う時、仮想記憶管理ソフトウェアを含むオ
ペレーティングシステムではデータ収集の対象とするア
ドレスを調査対象アドレスレジスタ13にセットする。
When correlating the logical address and physical address of non-resident software, the operating system including the virtual memory management software sets the address to be data collected in the investigation target address register 13.

次に、対象とする非常駐ソフトウェアを外部補助記憶装
置から主記憶上にロールインするための入出力命令を実
行する前に、状態フリップフロップ14をセットする。
Next, the state flip-flop 14 is set before executing an input/output command for rolling the target non-resident software from the external auxiliary storage device onto the main memory.

また、ロールアウトする時には状態フリップフロップ1
4をリセットする。
Also, when rolling out, state flip-flop 1
Reset 4.

主記憶アドレスレジスタ10の内容と調査対象アドレス
レジスタ13の内容とはそれぞれ信号線55.54によ
り比較回路15に入力され、比較回路15の出力に一致
が得られれば出力信号線38がセットされる。このセッ
ト出力信号はANDゲート16に入力される。もし、状
態フリツプフロツプ14がセットされていれば信号線3
7上の出力信号がANDゲート16の他方の入力端子に
加えられるので、ANDゲート16の出力信号線39の
状態が論理%11となる。主記憶書込み時には選択回路
19の出力信号線45上の情報と主記憶書込みレジスタ
11の出力信号線44上の情報とを制御信号線40を介
して記憶制御回路20によって障害データ記憶回路21
に書込む。
The contents of the main memory address register 10 and the contents of the investigation target address register 13 are input to the comparison circuit 15 through signal lines 55 and 54, respectively, and if a match is obtained in the output of the comparison circuit 15, the output signal line 38 is set. . This set output signal is input to AND gate 16. If state flip-flop 14 is set, signal line 3
Since the output signal on 7 is applied to the other input terminal of AND gate 16, the state of output signal line 39 of AND gate 16 becomes logic %11. During main memory writing, the information on the output signal line 45 of the selection circuit 19 and the information on the output signal line 44 of the main memory write register 11 are sent to the fault data storage circuit 21 by the storage control circuit 20 via the control signal line 40.
write to.

状態フリップフロップ14がセットされていなければA
NDゲート16は動作せず、障害データ記憶回路21へ
の書込みは行われない。常駐ソフトウェアを調査の対象
とする場合にはレジスタ13には対象とするアドレスが
セットされるが、状態フリップフロップ14は常にセッ
トされたままになるようにオペレーティングシステムに
よ多制御され、アドレスの一致が検出されるごとに障害
データ記憶回路21に書込みが行われることになる。
A if state flip-flop 14 is not set.
The ND gate 16 does not operate, and writing to the fault data storage circuit 21 is not performed. When resident software is to be investigated, the target address is set in the register 13, but the state flip-flop 14 is controlled by the operating system so that it always remains set. Writing is performed in the fault data storage circuit 21 every time a fault is detected.

主記憶への書込みはソフトウェア命令によって行われる
ほか、周辺装置とのデータ転送時にハードウェアによっ
ても行われる。データ処理装置において通常設けられて
いるような命令アドレスレジスタ17とデータ転送用の
チャンネル番号レジスタ18とが本実施例においても設
けられ、それぞれのレジスタの出力はデータ信号*42
.41によシ選択回路19に入力されている。選択回路
19は、制御回路(図示してない)の出力信号線43の
値によ多制御される。ソフトウェア命令による主記憶書
込みの場合には入力信号線42上の情報を出力信号?s
46に出力し、周辺装置との間でデータを転送している
時の主記憶書込みの場合には、入力信号#!41上の情
報を出力信号@45に送出するので、いずれかの情報が
障害データ記憶回路21に記憶されることになる。
Writing to main memory is performed by software instructions, as well as by hardware during data transfer with peripheral devices. An instruction address register 17 and a channel number register 18 for data transfer, which are normally provided in a data processing device, are also provided in this embodiment, and the output of each register is a data signal *42.
.. 41 is input to the selection circuit 19. The selection circuit 19 is controlled by the value of an output signal line 43 of a control circuit (not shown). In the case of main memory writing by software commands, the information on the input signal line 42 is converted into an output signal? s
46, and in the case of writing to main memory while transferring data to and from a peripheral device, the input signal #! Since the information on 41 is sent to the output signal @45, any of the information will be stored in the fault data storage circuit 21.

以上の実施例は、調査対象アドレスが単一の場合につい
て説明したが、連想記憶を使用して複数のアドレスを対
象とするように構成することも容易である。障害データ
記憶回路21に記憶された情報は、公知の技術に従いソ
フトウェア命令によって外部に読出す構成とすることも
容易である。
Although the above embodiments have been described with reference to a single address to be investigated, it is also easy to construct a structure in which a plurality of addresses are investigated using associative memory. The information stored in the failure data storage circuit 21 can also be easily configured to be read out to the outside by software instructions according to known techniques.

(発明の効果) 本発明は以上説明したように、アドレスの一致を検出し
、書込みデータと誉込み動作を行ったソフトウェア命令
、または入出力動作の要求者情報を記憶させることによ
り、不正な動作を直接的に指摘し得るようにデータを収
集し、障害を早期に除去し、データ処理システムの稼動
性を向上させることができるという効果がある。
(Effects of the Invention) As described above, the present invention detects a match between addresses and stores the write data and the software instruction that performed the write operation, or the requester information of the input/output operation, thereby preventing unauthorized operation. This has the advantage of being able to collect data in such a way that it can directly point out problems, remove faults early, and improve the operability of the data processing system.

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

第1図は、本発明による障害データ収集装置の一実施例
を示すブロック図である。 10・・・主記憶アドレスレジスタ 11拳・・主記憶書込みデータレジスタ12・・・主記
憶素子群マトリクス 1B・・・調査対象アドレスレジスタ 14・・・フリツプフロツプ 15・・・比較回路 16壷・・ANDゲート 17・・・命令アドレスレジスタ 18・・・入出力チャネルレジスタ 19・・・選択回路 20・・・記憶制御回路 21・・・記憶回路
FIG. 1 is a block diagram showing an embodiment of a failure data collection device according to the present invention. 10... Main memory address register 11... Main memory write data register 12... Main memory element group matrix 1B... Address register to be investigated 14... Flip-flop 15... Comparison circuit 16... AND Gate 17...Instruction address register 18...I/O channel register 19...Selection circuit 20...Storage control circuit 21...Storage circuit

Claims (1)

【特許請求の範囲】[Claims] 対象とするデータが主記憶上に存在するか否かを示す状
態フリップフロップと、前記対象とするデータの存在す
る主記憶アドレスを記憶するための調査対象アドレスレ
ジスタと、前記主記憶に含まれた主記憶アドレスレジス
タの内容と前記調査対象アドレスレジスタの内容とを比
較するための比較回路と、前記主記憶にデータを書込む
際に前記状態フリップフロップがセットされていて、前
記比較の結果から一致が得られている時に、前記主記憶
に含まれた主記憶書込みデータレジスタの内容を記憶す
ることができる障害データ記憶回路とを具備して構成し
たことを特徴とする障害データ収集装置。
a state flip-flop indicating whether or not the target data exists in the main memory; an investigation target address register for storing the main memory address where the target data exists; a comparison circuit for comparing the contents of the main memory address register with the contents of the address register to be investigated; and the state flip-flop is set when writing data to the main memory, and a match is found from the result of the comparison. 1. A fault data collection device comprising: a fault data storage circuit capable of storing the contents of a main memory write data register included in the main memory when the main memory write data register is obtained.
JP60048891A 1985-03-12 1985-03-12 Collecting device for fault data Pending JPS61208150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60048891A JPS61208150A (en) 1985-03-12 1985-03-12 Collecting device for fault data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60048891A JPS61208150A (en) 1985-03-12 1985-03-12 Collecting device for fault data

Publications (1)

Publication Number Publication Date
JPS61208150A true JPS61208150A (en) 1986-09-16

Family

ID=12815891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60048891A Pending JPS61208150A (en) 1985-03-12 1985-03-12 Collecting device for fault data

Country Status (1)

Country Link
JP (1) JPS61208150A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02219133A (en) * 1989-02-20 1990-08-31 Fuji Photo Film Co Ltd Supporting device for radiograph information processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02219133A (en) * 1989-02-20 1990-08-31 Fuji Photo Film Co Ltd Supporting device for radiograph information processing system

Similar Documents

Publication Publication Date Title
CN107357666A (en) A kind of multi-core parallel concurrent system processing method based on hardware protection
JPS61208150A (en) Collecting device for fault data
JPS6148186B2 (en)
JP2640139B2 (en) Memory card
JPS6129070Y2 (en)
JPH0535455B2 (en)
SU1124314A1 (en) Device for restoring information when occuring faults in computer blocks
JPS60225941A (en) Microprogram control device
JPS581467B2 (en) File access quick access door
JPH0324640A (en) Debugging system for information processor
JPS62166449A (en) History storage device for logical unit
JPS609300B2 (en) information processing equipment
JPS60222944A (en) Memory parity error processing system
JPH05165658A (en) Information processing system
JPH10143444A (en) Fault processing system
JPH08123734A (en) Methods for checking occurrence of data destruction in data storing area and program runaway and methods for searching causes of data destruction occurrence and program runaway
JPH0443422A (en) Electronic disk sub-system
JPH04359326A (en) History information recording system
JPH0731618B2 (en) Information processing equipment
JPS63111548A (en) Address comparator
JPS61131051A (en) Traced data storing system
JPH0553929A (en) Central processing unit with fault information preserving function
JPS6282448A (en) Input/output controller
JPH02206864A (en) Program debugging system
JPS6227421B2 (en)