JPH0474243A - On-line diagnostic system for multiplex memory device - Google Patents

On-line diagnostic system for multiplex memory device

Info

Publication number
JPH0474243A
JPH0474243A JP2187245A JP18724590A JPH0474243A JP H0474243 A JPH0474243 A JP H0474243A JP 2187245 A JP2187245 A JP 2187245A JP 18724590 A JP18724590 A JP 18724590A JP H0474243 A JPH0474243 A JP H0474243A
Authority
JP
Japan
Prior art keywords
memory
cpu
memory device
access
multiplexed
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
JP2187245A
Other languages
Japanese (ja)
Other versions
JP2896206B2 (en
Inventor
Eiji Ishibashi
石橋 英次
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2187245A priority Critical patent/JP2896206B2/en
Publication of JPH0474243A publication Critical patent/JPH0474243A/en
Application granted granted Critical
Publication of JP2896206B2 publication Critical patent/JP2896206B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To enable a CPU to perform an on-line diagnosis of a multiplex memory device by giving an access to a memory unit separated from a system through a memory control means as long as a diagnostic task is shown. CONSTITUTION:A multiplex memory diagnostic program 41 is started and a test mode flag 22 is turned on. Thus an access is given only to an on-line memory unit 12 at a machine word instruction level. If an error is generated by an access given to a multiplex memory device 10 with the flag 22 kept turned on, this information is given to a CPU 20 in the same way as an error that is generated in a normal access. The CPU 20 carries out an error interruption processing routine under the control of an OS 40 in order to check the state of the flag 22. Thus it is possible to decide whether an error is generated or not at an access of the device 10 carried out based on the program 41. Therefore an error interruption processing routine can be branched into an error processing routine included in the program 41. Thus the CPU 20 can perform a proper treatment.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は、計算機システムにおける多重化されたメモ
リ装置のオンライン診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Industrial Application Field) This invention relates to an online diagnosis method for multiplexed memory devices in a computer system.

(従来の技術) 主メモリ装置や複数のCPUで共有することの可能な共
有メモリ装置などのメモリ装置は、その信頼性を向上さ
せるために、多重化されているのが一般的である。また
、これらのメモリ装置の特徴から、CPUからは機械語
命令レベルでアクセスされ、CPUからの書込みアクセ
スは、その多重化メモリ装置を構成する各メモリユニッ
トに対して行われ、各々同一のデータが書込まれる。
(Prior Art) Memory devices such as a main memory device and a shared memory device that can be shared by multiple CPUs are generally multiplexed in order to improve their reliability. Furthermore, due to the characteristics of these memory devices, the CPU accesses them at the machine language instruction level, and write accesses from the CPU are performed on each memory unit that makes up the multiplexed memory device, so that each memory unit stores the same data. written.

一方、CPUからの読出しアクセスは、マスクユニット
と呼ばれる、特定の1ユニツトのみを対象として行われ
る。もし、不良ユニットが発生した場合にはそのユニッ
トをシステムから自動的に切離し、他の正常なユニット
を以後使用することが自動的に行われる。このため、こ
の種のメモリ装置を使用するCPUからは、このメモリ
装置が多重化されていることを意識しなくても済むよう
になっている。
On the other hand, read access from the CPU is performed only on one specific unit called a mask unit. If a defective unit occurs, that unit is automatically disconnected from the system and another normal unit is automatically used thereafter. Therefore, a CPU using this type of memory device does not need to be aware that the memory device is multiplexed.

さて、障害の発生によってシステムから切り離されたメ
モリユニットに対し、システム稼動中に、診断、或いは
交換後の新ユニットの組込み前のテストなどを行う必要
が生じることがある。ところが従来は、メモリ装置が幾
つかのメモリユニットによって多重化されていることが
、上述したようにCPUからみて透過になっているため
に、障害の発生したメモリユニットを、CPUかラオン
ラインで診断、或いはテストすることは不可能であった
(正常なメモリユニットへのアクセスしかできない)。
Now, while the system is running, it may be necessary to diagnose a memory unit that has been disconnected from the system due to the occurrence of a failure, or to perform a test before installing a new unit after replacement. However, in the past, the fact that a memory device is multiplexed with several memory units was transparent to the CPU as described above, so a faulty memory unit could be diagnosed by the CPU or online. , or it was impossible to test (only access to normal memory units is possible).

このため従来は、多重化メモリ装置に単体テストが行え
る特別な装置を付加し、オフラインで単体テストを行わ
なけれならなかった。
For this reason, in the past, it was necessary to add a special device to the multiplexed memory device to perform a unit test, and to perform the unit test off-line.

(発明か解決しようとする課題) 上記したように従来は、CPUからは多重化メモリ装置
の各メモリユニットが認識できす、したがって障害が発
生してシステムから切離されたメモリユニットに対して
オンライン中にテストを行うことか不可能であった。こ
のため、多重化メモリ装置に特別な診断用の装置を付加
することが必要なだけでなく、CPUからスルーした形
での診断、テストができないことから、多重化メモリ装
置単体での診断しか行えず、診断レベルが低いためにメ
モリユニット交換後のシステム組込みには不安か残ると
いう問題があった。
(Problem to be Solved by the Invention) As described above, conventionally, each memory unit of a multiplexed memory device can be recognized from the CPU, and therefore the memory unit that has been disconnected from the system due to a failure can be connected online. It was impossible to conduct any tests during the test. For this reason, not only is it necessary to add a special diagnostic device to the multiplexed memory device, but it is also impossible to perform diagnosis and testing without passing through the CPU, so it is only possible to diagnose the multiplexed memory device alone. First, there was a problem in that the diagnostic level was low, making it difficult to integrate the system into the system after replacing the memory unit.

この発明は上記事情に鑑みてなされたものでその目的は
、多重化されたメモリ装置の診断、テストか、システム
オンライン中にオンライン業務に影響を与えることなく
、しかも特別な診断用の装置を必要とせずに、CPUか
らスルーした形で行える多重化メモリ装置のオンライン
診断方式を提供することにある。
This invention was made in view of the above circumstances, and its purpose is to diagnose and test multiplexed memory devices, without affecting online operations while the system is online, and without requiring special diagnostic equipment. An object of the present invention is to provide an online diagnosis method for a multiplexed memory device that can be performed without using a CPU.

[発明の構成コ (課題を解決するための手段) この発明は、複数のメモリユニットを持つ多重化メモリ
装置を備えた計算機システムにおいて、多重化メモリ装
置をアクセスするCPUに、実行中のタスクが診断タス
クまたは一般タスク(非診断タスク)のいずれであるか
を示すテストモードフラグを含み、タスク毎に制御可能
な制御レジスタを設けると共に、多重化メモリ装置に、
CPUから命令実行によるアクセス要求があった場合に
、上記制御レジスタ中のテストモードフラグの状態に応
じて多重化メモリ装置内のメモリユニットに対するアク
セス制御を行うメモリ制御手段を設け、テストモードフ
ラグによって診断タスクが示されている場合には、上記
複数のメモリユニットのうちシステムから切離されてい
るメモリユニットがアクセスされる構成とすることによ
り、この切離されたメモリユニットをCPUからシステ
ムオンライン下で診断可能としたことを特徴とするもの
である。
[Configuration of the Invention (Means for Solving the Problems) This invention provides a computer system equipped with a multiplexed memory device having a plurality of memory units, in which a task being executed is transmitted to a CPU accessing the multiplexed memory device. A test mode flag indicating whether the task is a diagnostic task or a general task (non-diagnostic task) is provided, a control register is provided for each task, and the multiplexed memory device is provided with a control register that can be controlled for each task.
A memory control means is provided that controls access to the memory unit in the multiplexed memory device according to the state of the test mode flag in the control register when there is an access request from the CPU by executing an instruction, and diagnosis is performed using the test mode flag. When a task is indicated, by configuring the memory unit that is disconnected from the system among the plurality of memory units mentioned above to be accessed, the disconnected memory unit can be accessed from the CPU under the system online condition. It is characterized by being able to be diagnosed.

(作 用) 上記の構成によれば、多重化メモリ装置を診断、テスト
するための診断タスクの実行時には、この診断タスクか
らの要求により制御レジスタ内のテストモードフラグが
オンされる。これにより、実行中のタスクか診断タスク
であり、したがって多重化メモリ装置を診断、テストす
るためのテストモードとなっていることが示される。
(Function) According to the above configuration, when a diagnostic task for diagnosing and testing a multiplexed memory device is executed, the test mode flag in the control register is turned on in response to a request from the diagnostic task. This indicates that the task is being executed or is a diagnostic task and is therefore in test mode for diagnosing and testing the multiplexed memory device.

さて、診断タスクからの要求によりCPUから多重化メ
モリ装置をアクセスする場合、多重化メモリ装置内のメ
モリ制御手段はテストモードフラグの状態に応じてメモ
リユニットに対するアクセス制御を行い、上記のように
フラグオン(テストモード)の場合には、障害の発生等
によりシステムから切離されているメモリユニット(オ
フラインユニット)に対してのみ書込みまたは読出しア
クセスが行われるように制御する。この結果、システム
から切離されたメモリユニットの診断、テストが、シス
テムオンライン中に、CPUがらスルーした形で行うこ
とが可能となる。
Now, when the multiplexed memory device is accessed from the CPU in response to a request from the diagnostic task, the memory control means in the multiplexed memory device controls access to the memory unit according to the state of the test mode flag, and turns on the flag as described above. In the case of (test mode), write or read access is performed only to memory units (offline units) that have been disconnected from the system due to occurrence of a failure or the like. As a result, it becomes possible to diagnose and test a memory unit that has been disconnected from the system while the system is online, without using the CPU.

(実施例) 第1図はこの発明を適用する計算機システムの一実施例
を示すブロック構成図である。同図において、IOは多
重化メモリ装置である。多重化メモリ装置IOは例えば
2台のメモリユニット11.12およびメモリユニット
11.12に対するアクセスを制御するメモリ制御部1
3を備えている。このメモリ制御部13は、メモリユニ
ット11.12のいずれかに障害が発生した場合にその
障害ユニットをシステムから切離す周知の制御機能の他
に、後述するテストモードフラグ22の状態によりテス
トモードアクセスか否かを判断してアクセスするメモリ
ユニットを決定する新規な制御機能を有している。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of a computer system to which the present invention is applied. In the figure, IO is a multiplexed memory device. The multiplexed memory device IO includes, for example, two memory units 11.12 and a memory controller 1 that controls access to the memory units 11.12.
It has 3. In addition to the well-known control function of disconnecting the failed unit from the system when a failure occurs in any of the memory units 11 and 12, the memory control unit 13 also has test mode access based on the state of a test mode flag 22, which will be described later. It has a new control function that determines whether or not the memory unit is accessed.

20は機械語命令を実行し、機械語命令レベルで多重化
メモリ装置lOをアクセスするCPU、21はCPU2
0内に設けられ、タスク毎に制御可能な制御レジスタで
ある。制御レジスタ21には、実行中のタスクが多重化
メモリ装置10を診断、テストするための診断タスクで
あるか一般タスク(非診断タスク)であるか、即ち多重
化メモリ装置IOに対するアクセスがテストモードによ
るアクセス(テストモードアクセス)であるか否かを示
すためのフラグ(以下、テストモードフラグと称する)
22が含まれている。
20 is a CPU that executes machine language instructions and accesses the multiplexed memory device IO at the machine language instruction level; 21 is a CPU 2;
This is a control register that is provided in 0 and can be controlled for each task. The control register 21 indicates whether the task being executed is a diagnostic task for diagnosing and testing the multiplexed memory device 10 or a general task (non-diagnostic task), that is, whether the access to the multiplexed memory device IO is in test mode. (hereinafter referred to as the test mode flag)
Contains 22.

30は多重化メモリ装置10およびCPU20等を相互
接続し、メモリアクセスのアドレス、データの転送等に
供されるバスである。このバス30は、制御レジスタ2
1中のテストモードフラグ22の状態をメモリ制御部1
3に通知するのにも用いられる。
A bus 30 interconnects the multiplexed memory device 10, the CPU 20, etc., and is used for memory access addresses, data transfer, and the like. This bus 30 is connected to the control register 2
The state of the test mode flag 22 in memory controller 1
It is also used to notify 3.

40はタスクの実行を制御するオペレーティングシステ
ム(以下、O8と称する)であり、タスクがディスバッ
チされる毎に制御レジスタ21の内容の退避、復元を司
る。41は0840の管理下で多重化メモリ装置IOを
診断するための診断タスクを提供する多重化メモリ診断
プログラムである。この多重化メモリ診断プログラム4
1には、制御レジスタ21中のテストモードフラグ22
をオンして、テストモードを設定する(テストモードア
クセス状態とする)ための機械語命令であるテストモー
ドアクセスON命令(以下、ONTM命令と称する)4
2、およびテストモードフラグ22をオフしてテストモ
ードを解除するための機械語命令であるテストモードア
クセスOFF命令(以下、OFFTM命令と称する)4
3が設定されている。
40 is an operating system (hereinafter referred to as O8) that controls the execution of tasks, and is in charge of saving and restoring the contents of the control register 21 every time a task is dispatched. 41 is a multiplexed memory diagnostic program that provides diagnostic tasks for diagnosing multiplexed memory devices IO under the management of 0840. This multiplexed memory diagnostic program 4
1 includes the test mode flag 22 in the control register 21.
Test mode access ON instruction (hereinafter referred to as ONTM instruction) 4, which is a machine language instruction for turning on the test mode (setting the test mode access state).
2, and a test mode access OFF instruction (hereinafter referred to as OFFTM instruction) 4, which is a machine language instruction for turning off the test mode flag 22 and canceling the test mode.
3 is set.

第2図は第1図の多重化メモリ診断プログラム41の処
理手順を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining the processing procedure of the multiplexed memory diagnostic program 41 shown in FIG.

第3図は第1図のメモリ制御部13の動作を説明するた
めのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the memory control section 13 shown in FIG.

次に、第1図の構成の動作を、多重化メモリ装置10の
メモリユニット12に障害が発生し、同メモリユニット
12がシステムから切離されている状態で、同メモリユ
ニット12を診断する場合を例に、第2図および第3図
のフローチャートを参照して説明する。
Next, the operation of the configuration shown in FIG. 1 will be explained when diagnosing the memory unit 12 of the multiplexed memory device 10 when a failure occurs in the memory unit 12 and the memory unit 12 is disconnected from the system. will be described with reference to the flowcharts of FIGS. 2 and 3, taking the example of FIG.

まず、0840の管理下で、多重化メモリ診断プログラ
ム41が起動されたものとする。これによりCPU20
は、多重化メモリ診断プログラム41に従って第2図の
フローチャートに示されるように診断処理を開始する。
First, it is assumed that the multiplexed memory diagnostic program 41 is started under the control of 0840. This allows CPU20
starts diagnostic processing according to the multiplexed memory diagnostic program 41 as shown in the flowchart of FIG.

即ちCPU20は、まずONTM命令42を実行し、C
PU20に設けられた制御レジスタ21内のテストモー
ドフラグ22をオン(セット)する(第2図ステップS
 1)。これによりテストモードアクセス状態となり、
多重化メモリ装置10を対象とする診断処理が開始され
る。
That is, the CPU 20 first executes the ONTM instruction 42, and
Turn on (set) the test mode flag 22 in the control register 21 provided in the PU 20 (step S in FIG. 2).
1). This will result in a test mode access state.
A diagnostic process targeting the multiplexed memory device 10 is started.

次にCPU20は、多重化メモリ診断プログラム41に
従って通常の機械語命令を用いて多重化メモリ装置10
に対するアクセスを行う(第2図ステップS2)。この
アクセスに際しては、CPU20は制御レジスタ21の
テストモードフラグ22の状態をメモリアクセス情報(
アドレス、データなど)と−緒にハス30を介して多重
化メモリ装置10内のメモリ制御部13に送る。
Next, the CPU 20 uses normal machine language instructions to diagnose the multiplexed memory device 10 according to the multiplexed memory diagnostic program 41.
(Step S2 in FIG. 2). During this access, the CPU 20 converts the state of the test mode flag 22 of the control register 21 into memory access information (
address, data, etc.) is sent to the memory control unit 13 in the multiplexed memory device 10 via the lotus 30.

メモリ制御部13は、CPU20からのメモリアクセス
情報を受取るζ、第3図に示すようにテストモードフラ
グ22の状態を調べる(第3図ステップ511)。もし
テストモードフラグ22がオフであれば(即ちテストモ
ードアクセス状態でなければ)、メモリ制御部13は通
常のアクセス制御動作を行う(第3図ステップ512)
。即ちメモリ制細部I3は、読出し要求のときはメモリ
ユニット11゜12のうちのマスクユニットだけを対象
に読出しアクセスを行い、書込み要求のときは両メモリ
ユニット11.12に対して書込みアクセスを行うよう
に制御する。これに対してテストモードフラグ22がオ
ンであれば(即ちテストモードアクセス状態であれば)
、メモリ制御部13はメモリユニ・ソト11゜12のう
ちのオフラインユニットに対してのみ書込みアクセス、
読出しアクセスを行うように制御する(第3図ステップ
813)。
When the memory control unit 13 receives the memory access information from the CPU 20, it checks the state of the test mode flag 22 as shown in FIG. 3 (step 511 in FIG. 3). If the test mode flag 22 is off (that is, not in the test mode access state), the memory control unit 13 performs normal access control operations (step 512 in FIG. 3).
. That is, the memory control part I3 performs read access to only the mask unit of the memory units 11 and 12 in the case of a read request, and performs write access to both memory units 11 and 12 in the case of a write request. control. On the other hand, if the test mode flag 22 is on (that is, if the test mode is accessed)
, the memory control unit 13 has write access only to the offline unit of the memory units 11 and 12,
Control is performed to perform read access (step 813 in FIG. 3).

さて本実施例では、メモリユニット12がシステムから
切離されてオフラインとなっている。したがって、上記
のように多重化メモリ診断プログラム41が起動されて
テストモードフラグ22はオンされている場合には、こ
のオフラインのメモリユニット12に対してのみ機械語
命令レベルでアクセスが行われることになる。このテス
トモードフラグ22がオンの状!F3(即ちテストモー
ドアクセス状態)における多重化メモリ装置10(内の
オフラインのメモリユニット12)に対するアクセスて
エラーが発生した場合には、そのエラーが通常(テスト
モードフラグ22がオフの場合)のメモリアクセスでエ
ラーが発生した場合と同様の形(例えばエラー割込みの
形)でCPU20に通知される。
In this embodiment, the memory unit 12 is disconnected from the system and placed offline. Therefore, when the multiplexed memory diagnostic program 41 is started and the test mode flag 22 is turned on as described above, only this offline memory unit 12 is accessed at the machine language instruction level. Become. This test mode flag 22 is on! If an error occurs when accessing the multiplexed memory device 10 (the off-line memory unit 12 therein) in F3 (that is, the test mode access state), the error occurs in the normal memory (when the test mode flag 22 is off). The CPU 20 is notified in the same way as when an error occurs in access (for example, in the form of an error interrupt).

このエラー通知(エラー割込み)があると、CPU20
では、0840の管理のもとてエラー割込み処理ルーチ
ンが行われる。このエラー割込み処理ルーチンでは、制
御レジスタ21のテストモードフラグ22の状態をチエ
ツクすることにより、多重化メモリ診断プログラム41
に従う多重化メモリアクセス時のエラーであるか否かが
判別できる。したがって、多重化メモリ診断プログラム
41に従う多重化メモリアクセス時のエラーが判別され
た場合には、エラー割込み処理ルーチンから例えば多重
化メモリ診断プログラム41内のエラー処理ルーチンに
分岐することができ、CPU20はこのエラー処理ルー
チンに従って適当な処置を行うことが可能となる。
When this error notification (error interrupt) is received, the CPU 20
Then, an error interrupt processing routine is executed under the control of 0840. In this error interrupt processing routine, the multiplexed memory diagnostic program 41 checks the state of the test mode flag 22 of the control register 21.
It can be determined whether the error occurred when accessing the multiplexed memory according to the following. Therefore, when it is determined that an error occurs when accessing the multiplexed memory according to the multiplexed memory diagnostic program 41, the error interrupt processing routine can branch to, for example, an error processing routine within the multiplexed memory diagnostic program 41, and the CPU 20 Appropriate measures can be taken according to this error handling routine.

CPU20は多重化メモリ診断プログラム41による診
断終了時にOFFTM命令43を実行し、制御レジスタ
21のテストモードフラグ22をオフ(リセット)する
(jff2図ステップS3)。これによりテストモード
アクセス状態は解除され、多重化メモリ装置10を対象
とする診断処理の終了となる。
The CPU 20 executes the OFFTM instruction 43 at the end of the diagnosis by the multiplexed memory diagnosis program 41, and turns off (resets) the test mode flag 22 of the control register 21 (step S3 in the jff2 diagram). As a result, the test mode access state is released, and the diagnostic processing for the multiplexed memory device 10 ends.

なお前記実施例では、制御レジスタ21のテストモード
フラグ22の状態が、CPU20からの多重化メモリ装
置10に対するアクセス要求時に、メモリアクセス情報
と一緒に多重化メモリ装置10内のメモリ制御部13に
転送されるものとして説明したが、常時メモリ制御部1
3に転送(通知)される構成であってもよい。
In the embodiment described above, the state of the test mode flag 22 of the control register 21 is transferred to the memory control unit 13 in the multiplexed memory device 10 together with memory access information when the CPU 20 requests access to the multiplexed memory device 10. Although the explanation has been made assuming that the constant memory control unit 1
The configuration may be such that the information is transferred (notified) to the third party.

また前記実施例では、CPU20からのアクセスによる
多重化メモリ装置10(内のオフラインメモリユニット
)の診断について説明したが、本発明はチャネル装置な
ど多重化メモリ装置10を利用する他の利用装置からの
多重化メモリ装置アクセスによる診断にも応用可能であ
る。例えばチャネル装置の例であ、れば、同装置内にテ
ストモードフラグ22に相当するフラグを設け、このフ
ラグのオン操作を、同装置を起動するためにCPU20
から与えられる人出力命令中で指示することにより可能
となる。
Further, in the embodiment described above, diagnosis of the multiplexed memory device 10 (offline memory unit therein) by access from the CPU 20 has been explained, but the present invention provides diagnosis from other devices using the multiplexed memory device 10, such as a channel device. It is also applicable to diagnosis using multiplexed memory device access. For example, in the case of a channel device, a flag corresponding to the test mode flag 22 is provided in the device, and turning on of this flag is controlled by the CPU 20 in order to start the device.
This is possible by specifying in the human output command given by.

[発明の効果] 以上詳述したようにこの発明によれば、実行中のタスク
が診断タスクまたは一般タスクのいずれであるかを示す
テストモードフラグを含み、タスク毎に制御可能な制御
レジスタを設けると共に、多重化メモリ装置に、CPU
から機械語命令実行によるアクセス要求があった場合に
、上記テストモードフラグの状態に応じて多重化メモリ
装置内のメモリユニットに対するアクセス制御を行うメ
モリ制御手段を設け、テストモードフラグによって診断
タスクが示されている場合には、システムから切離され
ているメモリユニットをアクセスする構成としたので、
この切離されたメモリユニットの診断、テストを、シス
テムオンライン中にオンライン業務に影響を与えること
なく、しかも特別な診断用の装置を必要とせずに、CP
Uからスルーした形で行うことができる。このように、
多重化メモリ装置を含めたオンライン運用形態と同レベ
ルでの診断か可能となることから、メモリユニット交換
後のシステム組込みも安心して行えるようになる。
[Effects of the Invention] As detailed above, according to the present invention, a control register is provided for each task, including a test mode flag indicating whether the task being executed is a diagnostic task or a general task. together with the multiplexed memory device, the CPU
A memory control means is provided that controls access to the memory unit in the multiplexed memory device according to the state of the test mode flag when there is an access request by executing a machine language instruction from the test mode flag. If so, the configuration is configured to access a memory unit that is disconnected from the system.
Diagnosis and testing of this separated memory unit can be performed without affecting online operations while the system is online, and without requiring any special diagnostic equipment.
It can be done from U through. in this way,
Since it is possible to perform diagnosis at the same level as in an online operation mode that includes multiplexed memory devices, it is possible to install the system with confidence after replacing the memory unit.

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

第1図はこの発明を適用する計算機システムの一実施例
を示すブロック構成図、第2図は第1図の多重化メモリ
診断プログラム41の処理手順を説明するだめのフロー
チャート、第3図は第1図のメモリ制御部13の動作を
説明するためのフローチャートである。 10・・・多重化メモリ装置、11.12・・・メモリ
ユニット、13・・・メモリ制御部、20・・・CPU
、21・・・制御レジスタ、22・・・テストモードフ
ラグ、30・・・バス、40・・・O5(オペレーティ
ングシステム)、41・・・多重化メモリ診断プログラ
ム、42・・・ONTM命令(テストモードアクセスO
N命令)、43・・・OFFTM命令(テストモードア
クセスOFF命令)。 出願人代理人 弁理士 鈴江武彦 第2 図 第1
FIG. 1 is a block configuration diagram showing an embodiment of a computer system to which the present invention is applied, FIG. 2 is a flowchart explaining the processing procedure of the multiplexed memory diagnostic program 41 shown in FIG. 1, and FIG. 2 is a flowchart for explaining the operation of the memory control unit 13 in FIG. 1. FIG. 10... Multiplexed memory device, 11.12... Memory unit, 13... Memory control unit, 20... CPU
, 21... Control register, 22... Test mode flag, 30... Bus, 40... O5 (operating system), 41... Multiplexed memory diagnostic program, 42... ONTM instruction (test Mode access O
N instruction), 43...OFFTM instruction (test mode access OFF instruction). Applicant's agent Patent attorney Takehiko Suzue Figure 2

Claims (1)

【特許請求の範囲】 複数のメモリユニットを持つ多重化メモリ装置と、この
多重化メモリ装置をアクセスするCPUとを備えた計算
機システムにおいて、実行中のタスクが上記多重化メモ
リ装置を診断するための診断タスクまたは一般タスクの
いずれであるかを示すテストモードフラグを含み、タス
ク毎に制御可能な制御レジスタと、 上記CPUから上記多重化メモリ装置に対して命令実行
によるアクセス要求があった場合に、上記制御レジスタ
中の上記テストモードフラグの状態に応じて上記メモリ
ユニットに対するアクセス制御を行う、上記多重化メモ
リ装置に設けられたメモリ制御手段と、 を具備し、上記テストモードフラグが診断タスクを示し
ている場合に、上記複数のメモリユニットのうちシステ
ムから切離されているメモリユニットをアクセスするこ
とにより、この切離されたメモリユニットを上記CPU
からシステムオンライン下で診断可能としたことを特徴
とする多重化メモリ装置のオンライン診断方式。
[Claims] In a computer system including a multiplexed memory device having a plurality of memory units and a CPU that accesses the multiplexed memory device, a task being executed is for diagnosing the multiplexed memory device. A control register that includes a test mode flag indicating whether it is a diagnostic task or a general task and that can be controlled for each task, and a control register that can be controlled for each task; memory control means provided in the multiplexed memory device for controlling access to the memory unit according to the state of the test mode flag in the control register, wherein the test mode flag indicates a diagnostic task; By accessing a memory unit that is disconnected from the system among the plurality of memory units, the disconnected memory unit is transferred to the CPU.
An online diagnosis method for a multiplexed memory device, characterized in that the diagnosis can be made while the system is online.
JP2187245A 1990-07-17 1990-07-17 On-line diagnostics for multiplexed memory devices. Expired - Fee Related JP2896206B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2187245A JP2896206B2 (en) 1990-07-17 1990-07-17 On-line diagnostics for multiplexed memory devices.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2187245A JP2896206B2 (en) 1990-07-17 1990-07-17 On-line diagnostics for multiplexed memory devices.

Publications (2)

Publication Number Publication Date
JPH0474243A true JPH0474243A (en) 1992-03-09
JP2896206B2 JP2896206B2 (en) 1999-05-31

Family

ID=16202590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2187245A Expired - Fee Related JP2896206B2 (en) 1990-07-17 1990-07-17 On-line diagnostics for multiplexed memory devices.

Country Status (1)

Country Link
JP (1) JP2896206B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434728A (en) * 1977-08-24 1979-03-14 Fujitsu Ltd Input/output control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434728A (en) * 1977-08-24 1979-03-14 Fujitsu Ltd Input/output control system

Also Published As

Publication number Publication date
JP2896206B2 (en) 1999-05-31

Similar Documents

Publication Publication Date Title
US5226152A (en) Functional lockstep arrangement for redundant processors
US6763456B1 (en) Self correcting server with automatic error handling
CA2002966C (en) Method of checking test program in duplex processing apparatus
JPH0474243A (en) On-line diagnostic system for multiplex memory device
JPH0320832A (en) Information processing system
JPH0683657A (en) Service processor switching system
JP3127941B2 (en) Redundant device
JP2855633B2 (en) Fault diagnosis device for dual port memory in multiprocessor system
JPS6113626B2 (en)
JPH11120154A (en) Device and method for access control in computer system
JPH0430245A (en) Multiprocessor control system
JPH03184128A (en) Duplex computer system
JPH10247185A (en) Fault diagnostic system for processor
JP3055906B2 (en) Emergency operation method
JPS6119060B2 (en)
US20040088707A1 (en) Operating mode for a computer
JP3340284B2 (en) Redundant system
JPS5897765A (en) Common bus system for multi-processor system
JPH11242661A (en) Exclusive controller and configuration control method for file shape system
JPS6116340A (en) Emergency operation device of processor system
JPS6228841A (en) Input/output processor
JPS5822469A (en) Central monitoring controller
JPS61208156A (en) Diagnostic system for communication controller
JPS627582B2 (en)
JPH03292540A (en) Diagnostic device for abnormality of computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees