JPS6314381B2 - - Google Patents

Info

Publication number
JPS6314381B2
JPS6314381B2 JP58095258A JP9525883A JPS6314381B2 JP S6314381 B2 JPS6314381 B2 JP S6314381B2 JP 58095258 A JP58095258 A JP 58095258A JP 9525883 A JP9525883 A JP 9525883A JP S6314381 B2 JPS6314381 B2 JP S6314381B2
Authority
JP
Japan
Prior art keywords
cpu
test
program
data
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP58095258A
Other languages
Japanese (ja)
Other versions
JPS59220847A (en
Inventor
Mikio Tsuchimochi
Takeshi Ibusuki
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58095258A priority Critical patent/JPS59220847A/en
Publication of JPS59220847A publication Critical patent/JPS59220847A/en
Publication of JPS6314381B2 publication Critical patent/JPS6314381B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 (イ) 発明の技術分野 本発明は電子計算機等の情報処理装置に設けら
れるRAS(Reliability Availability Service
ability)機能をテストするために電子計算機等
の中央演算処理装置(以下、CPUと略称する。)
等のホストに設定すべき設定状態の設定方式に係
り、特にその設定状態をプログラムとは独立に設
定可能にする手段を設けて成るRAS機能テスト
のための状態設定方式に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to RAS (Reliability Availability Service) provided in information processing devices such as computers.
ability) to test the central processing unit (hereinafter abbreviated as CPU) of a computer, etc.
The present invention relates to a setting method for setting a setting state to be set in a host such as a host, and particularly relates to a state setting method for a RAS function test that includes means for making the setting state independent of a program.

(ロ) 技術の背景 電子計算機等の情報処理装置において、その機
能が正常に遂行されるか否かをテストする必要性
がある。その初期テスト方式はCPUを1命令ず
つ実行させてその良否の判定を行なう如きもので
あつた。
(b) Background of the Technology There is a need to test whether or not the functions of information processing devices such as electronic computers are performed normally. The initial test method was to make the CPU execute one instruction at a time and judge whether it was good or bad.

そして、電子計算機の各種機能の向上化に伴
い、電子計算機システムもホストとサービスプロ
セツサ(以下、SVPと略称する。)とから構成さ
れるに至つて、そのシステムについての上述テス
トをソフト的に遂行しうるRAS機能が上述シス
テムに装備されるようになつた。
As the various functions of electronic computers have improved, computer systems have also come to consist of a host and a service processor (hereinafter referred to as SVP). The systems described above are now equipped with RAS functions that can be performed.

しかしながら、そのRAS機能に関するテスト
を行なう際のテスト項目(CPU等に設定されね
ばならない設定状態)の設定の仕方が柔軟性に欠
け、そのために各種の設定状態をCPUに現出さ
せるのをスピイデイに行なえ得ず、そのRAS機
能の発揮に障害となつており、これを解決しうる
技術手段の開発が要望されている。
However, when testing the RAS function, there is a lack of flexibility in how to set test items (settings that must be set on the CPU, etc.), and as a result, it is difficult to display various settings on the CPU. This is an impediment to the full performance of the RAS function, and there is a need for the development of technical means that can solve this problem.

(ハ) 従来技術と問題点 従来のRAS機能をテストするためのCPUに設
定される設定状態は、そのテストプログラムの開
発の際、ソフト化されてプログラムの中に組み入
れられていた。
(c) Prior Art and Problems Conventionally, the setting states set in the CPU for testing the RAS function were converted into software and incorporated into the program when the test program was developed.

このような設定状態は一定したものではなく、
テストプログラムの開発後においてもその変更を
なしてテストしたい場合がある。例えば、同一命
令においても、ストツプアドレス等を変え、
CPUの状態を変化させてRAS機能のテストをし
たい場合があるが、従来方式では既存のプログラ
ムにそのテスト項目を追加しなければならず、そ
の変更に煩わしさが伴うのみならず、その容易性
に欠け、RAS機能の発揮を損う要因になつてい
る。
This setting state is not constant;
Even after a test program has been developed, there may be cases where it is desired to make changes and test the program. For example, even in the same instruction, you can change the stop address, etc.
There are times when you want to test the RAS function by changing the state of the CPU, but with the conventional method, you have to add the test items to the existing program, which is not only cumbersome to change, but also difficult to do. This is a factor that impairs the performance of RAS functions.

(ニ) 発明の目的 本発明は上述したような従来方式の有する欠点
に鑑みて創案されたもので、その目的はRAS機
能プログラムのための同一テスト項目内のCPU
設定状態をプログラムとは独立に設定可能にし、
その設定状態を自由自在に設定させ、柔軟な
RAS機能を発揮せしめ得るRAS機能テストのた
めの状態設定方式を提供することにある。
(d) Purpose of the Invention The present invention was devised in view of the drawbacks of the conventional method as described above, and its purpose is to
The setting status can be set independently of the program,
The setting status can be set freely, making it flexible.
The object of the present invention is to provide a state setting method for a RAS function test that can demonstrate the RAS function.

(ホ) 発明の構成 そして、この目的は、少なくともCPUに設け
られたRAS機能をテストするためにCPUに各種
の設定状態を生じさせる方式において、少なくと
も1つのテスト項目内の各種設定状態の各々を貯
えるデータテーブルをRAS機能のためのCPU側
プログラム及びSVP側プログラムとは独立に設
け、上記いづれかのプログラムにより上記データ
テーブルを所定の順序で読み出し、読み出された
設定状態データを上記両プログラムで用いて
RAS機能テストのための設定状態をCPUに設定
することによつて、達成される。
(E) Structure of the Invention The object of the invention is to provide a method for generating various setting states in a CPU in order to test at least a RAS function provided in the CPU, in which each of the various setting states in at least one test item is A data table to be stored is provided independently from the CPU side program and SVP side program for the RAS function, the above data table is read in a predetermined order by one of the above programs, and the read setting status data is used by both of the above programs. hand
This is achieved by setting the configuration state on the CPU for RAS functional testing.

(ヘ) 発明の実施例 以下、添付図面を参照しながら、本発明の実施
例を説明する。
(F) Embodiments of the invention Examples of the invention will be described below with reference to the accompanying drawings.

第1図は本発明を実施するシステム構成を示
す。1はCPUで、これはその内部にコントロー
ルストレージ(CS)2を有し、又主記憶装置
(MSU)3に接続されると共に、チヤネルユニツ
ト(CHU)4、そして会話用バス5を介してサ
ービスプロセツサ(SVP)6へ接続される。
CHU4には、そのためのコントロールストレー
ジ(CS)7がある。1,3,4はホストを構成
する。
FIG. 1 shows a system configuration for implementing the present invention. 1 is a CPU, which has a control storage (CS) 2 therein, is connected to a main storage unit (MSU) 3, and provides services via a channel unit (CHU) 4 and a conversation bus 5. Connected to processor (SVP) 6.
The CHU 4 has a control storage (CS) 7 for this purpose. 1, 3, and 4 constitute a host.

SVP6はメモリ(MEM)8を有してSVP用ソ
フトウエアであるベーシツクプログラム
(Basic)と、後述するように所要箇所に転送さ
れてその動作の制御に供されるマイクロプログラ
ムとを格納する第1のフロツピーデイスク
(FPD)9、並びにテストプログラムを格納する
第2のフロツピーデイスク(FPD)10へ接続
されると共に、陰極線管装置(CRT)11へ接
続されるように構成されている。
The SVP 6 has a memory (MEM) 8 and stores a basic program (Basic) which is SVP software, and a microprogram that is transferred to a required location and used to control its operation as described later. It is configured to be connected to a first floppy disk (FPD) 9 and a second floppy disk (FPD) 10 that stores a test program, as well as to a cathode ray tube device (CRT) 11.

上述MEM8はSVPリングバス12を介して
CS7,2及びMSU3へ接続される。
The above MEM8 is connected via the SVP ring bus 12.
Connected to CS7,2 and MSU3.

又、上述テストプログラムは制御部、テスト部
及びパレントプログラムから成り、そのうちの制
御部及びパレントプログラムは本発明で謂う
SVP側プログラムを形成し、通常処理用のSVP
ソフトウエア(以下、Basicと略す。)と共に
MEM8に記憶される一方、テスト部及びCPU1
のためのプログラムは本発明に謂うCPU側プロ
グラムであり、SVPリングバス12を経てMSU
3に記憶されるようになつている。
Further, the above-mentioned test program consists of a control section, a test section, and a parent program, of which the control section and the parent program are referred to in the present invention.
Forms the SVP side program and SVP for normal processing
Along with the software (hereinafter abbreviated as Basic)
While stored in MEM8, test section and CPU1
The program for is a CPU side program according to the present invention, and
3 is now stored in memory.

そして、これらCPU側プログラム及びSVP側
プログラムとは独立に、CPUの各種設定状態デ
ータを格納するデータテーブルが上述システム内
の適宜な格納手段に格納されている。このデータ
テーブルが本発明の特徴部分をなしている。上記
データテーブルはFPD9,10、MEM8、又は
MSU3のいづれかに格納されてもよいが、説明
の都合上格納手段をMSU3とする場合について
説明する。データテーブルの内容の詳細は第3図
に示す。第3図において、テスト番号はホストプ
ログラムのテスト番号、フラグは比較データの種
類、エントリはそのデータ群の大きさ、テスト実
行PSWはホストプログラムのテスト実行アドレ
ス、CSストツプアドレスはコントロールストレ
ージのストツプアドレス、コレクトデータは実行
結果の期待データ、アクチヤルデータは実行結果
の実際のデータである。
And, independent of these CPU side programs and SVP side programs, a data table storing various setting state data of the CPU is stored in an appropriate storage means in the above-mentioned system. This data table constitutes a characteristic part of the present invention. The above data table is for FPD9, 10, MEM8, or
Although the information may be stored in any of the MSUs 3, for convenience of explanation, a case where the storage means is the MSU 3 will be described. Details of the contents of the data table are shown in FIG. In Figure 3, the test number is the test number of the host program, the flag is the type of comparison data, the entry is the size of the data group, the test execution PSW is the test execution address of the host program, and the CS stop address is the control storage stop address. The top address and collect data are the expected data of the execution results, and the actual data are the actual data of the execution results.

システムの動作開始に当つて、その電源が投入
されると、FPD9のBasicがSVP6のMEM8に
書き込まれ、そのBasicに制御が移る。そして、
そのBasicの制御の下にFPD9のマイクロプログ
ラムがSVPリングバス12を介してCHU4のCS
7及びCPU1のCS2に書き込まれてシステムを
使用可能状態にすると共に、又、RAS機能をテ
ストするためのプログラムであるSVP側プログ
ラム及びCPU側プログラムが夫々、MSU3及び
MEM8へ読み込まれているものとする。
When the system starts operating, when the power is turned on, the Basic of the FPD 9 is written to the MEM 8 of the SVP 6, and control is transferred to that Basic. and,
Under the control of Basic, the microprogram of FPD9 connects CS of CHU4 via SVP ring bus 12.
7 and CS2 of CPU1 to make the system usable, and the SVP side program and CPU side program, which are programs for testing the RAS function, are written to MSU3 and CS2, respectively.
Assume that it has been loaded into MEM8.

そして、第2図に示すように、CPU側プログ
ラムが開始されると(ステツプS1)、データテー
ブルの最終テーブルになつたか否かがステツプ
S2で調べられる。もし肯定Yであるならば、次
のテストへ進む(ステツプS3)が、その判定が
否定Nであるならば、ステツプS4へ進む。この
ステツプS4は図面を明瞭にするために、データ
テーブルDT内のテスト1に所要のデータ群、即
ち上述した設定状態のためのデータの各々がある
か否かの判定について図示するが、データテーブ
ルDTに含まれる同一のテスト項目、例えばテス
ト1の範疇に属し、しかも異なる設定状態を確立
するためのデータ、例えば異なるタイミングにお
ける所望の設定状態を確立するためのデータがあ
るか否かをテスト1に属するすべてのデータにつ
いて行なうように構成されたプログラム部分であ
る。これにより、各種の環境をソフトウエアの変
更を要することなく、CPUに設定可能にするも
のである。
Then, as shown in Figure 2, when the CPU side program is started (step S1), a step is performed to determine whether the data table has reached the final table.
You can check it in S2. If the determination is positive (Y), the process proceeds to the next test (step S3), but if the determination is negative (N), the process proceeds to step S4. In order to clarify the drawing, this step S4 illustrates the determination of whether or not test 1 in the data table DT has the required data group, that is, each of the data for the setting state described above. Test 1 determines whether there is data for establishing a different setting state, for example, data for establishing a desired setting state at different timings, that belong to the category of the same test item included in DT, for example Test 1. This is the part of the program that is configured to perform the following operations on all data belonging to the . This allows various environments to be set on the CPU without requiring changes to the software.

その設定状態に伴うRAS機能のテスト例をデ
ータテーブルDTからそのテスト1についてのデ
ータ群を読み出した場合につき、以下に説明す
る。
An example of a test of the RAS function according to the setting state will be described below in the case where a data group for the test 1 is read from the data table DT.

データテーブルDTのテスト1にデータがある
ことが分かつた(ステツプS4のY)ならば、そ
のデータ群の先頭アドレスを確保する(ステツプ
S5)。そのデータ群に基づいてCPU1のテスト環
境を設定して制御をSVP側プログラムに渡し、
且つその先頭アドレスも知らせてCPUは止まる
(ステツプS6)。
If it is found that there is data in test 1 of the data table DT (Y in step S4), secure the start address of that data group (step S4).
S5). Based on that data group, set up a test environment for CPU1 and pass control to the SVP side program,
Moreover, the CPU stops after notifying the start address (step S6).

こうして、SVP側プログラムが動き出す(ス
テツプS7)と、先ず、データ群先頭アドレスか
らデータ群の内容を読み込み(ステツプS8)、そ
の読み込んだデータによつて指定されるアドレ
ス、例えばCSアドレス(このアドレスはデータ
群中に予め設定されている。)でCPUの動作を停
止するようにCPUをストツプモードに設定し
(ステツプS9)、CPUの命令を実行させるために
データ群中のテスト実行PSWのデータをCPU1
のPSWに設定してCPU1に起動させて(ステツ
プS10)CPU1に所定プログラムの先頭(第2図
の命令実行IEの先頭)から命令の実行を開始す
る。
In this way, when the SVP side program starts running (step S7), it first reads the contents of the data group from the first address of the data group (step S8), and then selects the address specified by the read data, such as the CS address (this address is The CPU is set to stop mode so as to stop the CPU operation (preset in the data group) (step S9), and the data of the test execution PSW in the data group is set to
PSW is set to start the CPU 1 (step S10), and the CPU 1 starts executing instructions from the beginning of the predetermined program (the beginning of the instruction execution IE in FIG. 2).

この実行により、CPU1がストツプしたか否
かの絶えざるチエツクをSVP側プログラムのス
テツプS11で行なう。
As a result of this execution, a constant check is made as to whether or not the CPU 1 has stopped in step S11 of the SVP side program.

そのチエツク中に上述のCSアドレス(ストツ
プアドレス)でCPU1がストツプしたことを確
認したならば(ステツプS11のY)、次にデータ
群の中のエラー手順番号を参照してそのエラー番
号の処理ルーチンを選択し、CPUをエラーが発
生する状態に設定して(ステツプS12、S13)、
CPU1のクロツクを正常に発生せしめ、SVP側
プログラムの監視プログラムに制御を渡す(ステ
ツプS14)。
If it is confirmed that CPU 1 has stopped at the CS address (stop address) mentioned above during the check (Y in step S11), then the error procedure number in the data group is referred to and the error number is processed. Select a routine, set the CPU to a state where an error occurs (steps S12 and S13),
The CPU 1 clock is normally generated and control is passed to the monitoring program of the SVP side program (step S14).

監視プログラムではCPU1の状態を絶えずチ
エツクし、異常発生に応答してログデータの収集
等をしてCPU1のPSWをエラー処理EPの先頭ア
ドレスに設定し、制御をCPU側プログラムに渡
す(ステツプS15)。
The monitoring program constantly checks the status of CPU1, collects log data in response to the occurrence of an abnormality, sets the PSW of CPU1 to the start address of the error processing EP, and passes control to the CPU side program (step S15). .

CPU側プログラムではエラー処理EPを遂行
し、命令実行が正常に終了したか等をチエツクし
た(ステツプS16、S17)後、ステツプS2へ戻り、
同一テスト項目についての異なる設定状態データ
があれば上記同種の処理を繰り返す。
After the CPU side program executes the error handling EP and checks whether the instruction execution has been completed normally (steps S16 and S17), the process returns to step S2.
If there is different setting state data for the same test item, the same type of processing described above is repeated.

このように、本発明では、CPUに設定したい
設定状態(テスト項目)はCPU側プログラム及
びSVP側プログラムとは独立となつたデータテ
ーブルにある。従つて、データテーブルにない、
同一テスト項目に属する設定状態をCPUに設定
したい場合が生じた場合には、CPU側プログラ
ム及びSVP側プログラムに何んらの変更を加え
ることなく、データテーブルの内容を入れ替える
だけで、意図する設定状態をCPUに設定して
RAS機能をテストしうる。
In this way, in the present invention, the setting state (test item) desired to be set for the CPU is in a data table that is independent of the CPU side program and the SVP side program. Therefore, it is not in the data table,
If you want to set a setting state that belongs to the same test item on the CPU, you can set the intended setting by simply replacing the contents of the data table without making any changes to the CPU side program or SVP side program. Set the state to CPU
You can test RAS functionality.

なお、上記実施例においては、予めデータテー
ブルをセツトしておく場合について説明したが、
システム内に生起する状態によつてデータテーブ
ルの内容を変更するようにすれば、本発明の意図
するテストに与え得る柔軟性を遺憾なく発揮して
RAS機能をテストすることが出来る。
In addition, in the above embodiment, the case where the data table is set in advance has been explained, but
By changing the contents of the data table depending on the conditions occurring in the system, the flexibility that can be provided to the test intended by the present invention can be fully utilized.
You can test RAS functionality.

(ト) 発明の効果 以上述べたように、本発明によれば、 同一テスト項目に属する任意の設定状態を、
RAS機能テストのためのプログラムの変更を
要することなく、自由自在に設定し得、 これにより、RAS機能のテストに柔軟性を
与え得ることになる。
(g) Effects of the invention As described above, according to the present invention, any setting state belonging to the same test item can be
It can be set freely without changing the program for RAS functional testing, which provides flexibility in testing RAS functionality.

又、その設定変更は容易になし得る等の効果
が得られる。
Further, effects such as being able to easily change the settings can be obtained.

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

第1図は本発明を実施するシステム構成を示す
図、第2図は第1図システムの動作を説明するた
めのフローチヤート、第3図はデータテーブルの
内容を詳細に図解する図である。 図中、1は中央演算処理装置、2,7はコント
ロールストレージ、3は主記憶装置、4はチヤネ
ルユニツト、6はサービスプロセツサ、9,10
はフロツピーデイスク、12はSVPリンクバス、
DTはデータテーブルである。
FIG. 1 is a diagram showing a system configuration for implementing the present invention, FIG. 2 is a flowchart for explaining the operation of the system shown in FIG. 1, and FIG. 3 is a diagram illustrating the contents of a data table in detail. In the figure, 1 is a central processing unit, 2 and 7 are control storages, 3 is a main storage device, 4 is a channel unit, 6 is a service processor, 9 and 10
is a floppy disk, 12 is an SVP link bus,
DT is a data table.

Claims (1)

【特許請求の範囲】[Claims] 1 CPUに設けられたRAS機能をテストするた
めにCPUに各種の設定状態を生じさせる方式に
おいて、少なくとも1つのテスト項目内の各種設
定状態の各々を格納するデータテーブルをRAS
機能のためのCPU側プログラム及びSVP側プロ
グラムとは独立に設け、上記プログラムにより上
記データテーブルを所定の順序で読み出し、読み
出された設定状態データを上記両プログラムで用
いてRAS機能テストのための設定状態を上記
CPUに設定することを特徴とするRAS機能テス
トのための状態設定方式。
1 In a method of generating various setting states in the CPU in order to test the RAS function provided in the CPU, a data table storing each of the various setting states in at least one test item is
It is provided independently from the CPU side program and SVP side program for the function, and the above program reads the above data table in a predetermined order, and the read setting status data is used by both of the above programs to perform a RAS function test. Setting status as above
A state setting method for RAS function testing characterized by setting in the CPU.
JP58095258A 1983-05-30 1983-05-30 State setting system for ras function test Granted JPS59220847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58095258A JPS59220847A (en) 1983-05-30 1983-05-30 State setting system for ras function test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58095258A JPS59220847A (en) 1983-05-30 1983-05-30 State setting system for ras function test

Publications (2)

Publication Number Publication Date
JPS59220847A JPS59220847A (en) 1984-12-12
JPS6314381B2 true JPS6314381B2 (en) 1988-03-30

Family

ID=14132734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58095258A Granted JPS59220847A (en) 1983-05-30 1983-05-30 State setting system for ras function test

Country Status (1)

Country Link
JP (1) JPS59220847A (en)

Also Published As

Publication number Publication date
JPS59220847A (en) 1984-12-12

Similar Documents

Publication Publication Date Title
US4852092A (en) Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint
JPH02294739A (en) Fault detecting system
US6141635A (en) Method of diagnosing faults in an emulated computer system via a heterogeneous diagnostic program
JPS6314381B2 (en)
JP2970082B2 (en) Virtual intercluster communication processor
JPH0588933A (en) Parallel processing system with debugging function
JP3339708B2 (en) Event recording method
JPS58181160A (en) Controlling system of emergency operation
JPS6211745B2 (en)
JPS5829053A (en) Program correction controlling method with interruption
JPS6111855A (en) Function diagnosing method of data processor
JP2006185365A (en) Semiconductor device and debugging method
JPS6155748A (en) Electronic computer system
JPS62278642A (en) Retrial control system
JPS6116098B2 (en)
JPH0411890B2 (en)
JP3190694B2 (en) Diagnostic method for local memory
JPH0341528A (en) Diagnostic device in computer
JPS6270947A (en) Control system for debug interruption
JPH0149975B2 (en)
JPH011041A (en) Early failure detection method
JPS6130296B2 (en)
JPS60181929A (en) Retrying system of microprogram control type information processing device
JPH076103A (en) Fault processing system for input/output channel
JPS6143739B2 (en)