JP2661447B2 - Testing methods for input/output devices - Google Patents
Testing methods for input/output devicesInfo
- Publication number
- JP2661447B2 JP2661447B2 JP4005366A JP536692A JP2661447B2 JP 2661447 B2 JP2661447 B2 JP 2661447B2 JP 4005366 A JP4005366 A JP 4005366A JP 536692 A JP536692 A JP 536692A JP 2661447 B2 JP2661447 B2 JP 2661447B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- test
- output device
- operating system
- job
- 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 - Lifetime
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、計算機システムの入出
力装置(I/O) の試験方法に関する。近年、計算機システ
ムはノンストップ化が要求されており、保守関連では活
性保守が要求されている。このためには、オペレイティ
ングシステム(OS)配下で一般ジョブと並行してハードウ
ェア試験を行うことが要求される。This invention relates to a method for testing input/output devices (I/O) of a computer system. In recent years, computer systems have been required to operate non-stop, and active maintenance is required for maintenance. This requires that hardware tests be performed in parallel with general jobs under the control of an operating system (OS).
【0002】[0002]
【従来の技術】図4は、従来の入出力装置の試験方法を
説明する図である。従来のRAS 試験、例えば、入出力装
置(I/O) 4 に対する試験は、試験機、例えば、サービス
プロセッサ(SVP) 3 から試験対象装置 (入出力装置(I/
O) ) 4 を試験するか,中央処理装置(CPU) 1 がスタン
ドアロンの試験プログラム 400を、テストモニタ 40 の
配下で実行して、該入出力装置(I/O) 4 の試験を行って
いた。2. Description of the Related Art Fig. 4 is a diagram for explaining a conventional method for testing an input/output device. A conventional RAS test, for example a test on an input/output device (I/O) 4, is carried out by transmitting a signal from a test machine, for example a service processor (SVP) 3 to a test target device (input/output device (I/O) 4).
In the past, a central processing unit (CPU) 1 executed a stand-alone test program 400 under the control of a test monitor 40 to test an input/output device (I/O) 4 .
【0003】[0003]
【発明が解決しようとする課題】一般に、オペレイティ
ングシステム(OS) 20 の配下で、RAS 試験を行うこと
は、一般ジョブ 21 が、試験ジョブに影響、具体的に
は、例えば、主記憶装置(MSU) 2 上の共通領域に対する
衝突が発生するとか、試験ジョブで、絶対アドレスの指
定を行うと、該領域を、一般のジョブが使用している可
能性があることから、通常、例外割込みが発生する等の
問題があり、該オペレイティングシステム(OS)20 の配
下でのRAS 試験は、いままで行っていなかった。[Problem to be solved by the invention] Generally, when performing RAS testing under an operating system (OS) 20, problems arise such as the general job 21 affecting the test job; specifically, for example, collisions occurring over a common area on the main storage unit (MSU) 2, or, if an absolute address is specified in a test job, there is a possibility that the area is being used by a general job, usually resulting in an exception interrupt. For these reasons, RAS testing under the operating system (OS) 20 has not been performed up until now.
【0004】従って、RAS 試験を実行するのに、前述の
ように、サービスプロセッサ(SVP)3 から試験対象装置
{入出力装置(I/O) }4 を試験するか,テストモニタ 4
0 の配下で、スタンドアロンの試験プログラム 400で試
験を行うのに、オペレイティングシステム(OS) 20 を一
時ストップさせて、一般ジョブ 21 の実行を止め、テス
トモニタ 40 をローディングして、該試験プログラム 4
00を実行させると、該オペレイティングシステム(OS) 2
0 のストップと、試験終了後のオペレイティングシステ
ム(OS) 20 の初期プログラムローディング(OS のIPL)に
時間がかり、オペレイティングシステム(OS) 20 配下で
の業務が一時中断されるという問題があった。Therefore, to execute the RAS test, as described above, the test subject device {input/output device (I/O)} 4 is tested from the service processor (SVP) 3, or the test monitor 4 is used.
To perform a test using a standalone test program 400 under the control of the operating system (OS) 20, the execution of a general job 21 is stopped, a test monitor 40 is loaded, and the test program 400 is started.
When you run 00, the operating system (OS) 2
There was a problem in that the stopping of the test system 0 and the initial program loading (IPL of the OS) of the operating system (OS) 20 after the test ended took time, and business under the operating system (OS) 20 was temporarily interrupted.
【0005】本発明は上記従来の欠点に鑑み、入出力装
置(I/O) を試験するのに、オペレイティングシステム(O
S)の配下で、一般ジョブと並行して、該入出力装置(I/
O) の試験を行うことができる試験方法を提供すること
を目的とするものである。In view of the above-mentioned conventional drawbacks, the present invention provides a method for testing an input/output device (I/O) using an operating system (OS).
S), in parallel with the general job, the I/O device (I/
O)
【0006】[0006]
【課題を解決するための手段】図1は、本発明の原理構
成図である。上記の問題点は下記のように構成した入出
力装置(I/O) の試験方法によって解決される。1 is a diagram showing the principle of the present invention. The above problems are solved by a test method for an input/output device (I/O) configured as follows.
【0007】(1) 計算機システムのオペレイティングシ
ステム(OS) 20 の配下に、一般のジョブ 21 と同格の試
験ジョブ 22 を置き、オペレイティングシステム(OS) 2
0 の中に、入出力装置(I/O) 4 をアクセスするデバイス
ドライバ 200とインタフェースを同じとした入出力装置
試験部 201を設け、上記試験ジョブ 22 が、上記オペレ
イティングシステム(OS) 20 の中に設けられている上記
入出力装置試験部 201に、唯一つのテスト実行指示コマ
ンドを発行し、該テスト実行指示コマンドを受信し
た入出力装置試験部 201が、上記デバイスドライバ 200
の入出力装置(I/O) 4 に対するインタフェースを介し
て、該入出力装置(I/O) 4 をアクセスして試験するよう
に構成する。(1) A test job 22 of the same rank as a normal job 21 is placed under an operating system (OS) 20 of a computer system.
In the operating system (OS) 20, an input/output device testing section 201 having the same interface as a device driver 200 that accesses an input/output device (I/O) 4 is provided, and the test job 22 issues a single test execution command to the input/output device testing section 201 provided in the operating system (OS) 20. The input/output device testing section 201 that receives the test execution command performs a test on the device driver 200.
The input/output device (I/O) 4 is configured to be accessed and tested via an interface to the input/output device (I/O) 4 of the tester.
【0008】(2) 計算機システムのオペレイティングシ
ステム(OS) 20 の配下に、一般のジョブ 21 と同格の試
験ジョブ 22 を置き、オペレイティングシステム(OS) 2
0 の中に、入出力装置(I/O) を試験する入出力装置試験
部 201a を設け、該入出力装置試験部 201a が、オペレ
イティングシステム(OS) 20 配下のデバイスドライバ20
0を起動して、入出力装置(I/O) 4 をアクセスするよう
に構成し、上記試験ジョブ 22 が、上記オペレイティン
グシステム(OS) 20 の中に設けられている入出力装置試
験部 201a に、唯一つのテスト実行指示コマンドを発
行し、該テスト実行指示コマンドを受信した入出力装
置試験部 201a が、上記デバイスドライバ 200を起動し
て、該入出力装置(I/O) 4 をアクセスして試験するよう
に構成する。(2) A test job 22 of the same rank as a normal job 21 is placed under an operating system (OS) 20 of a computer system.
0, an input/output device test section 201a for testing an input/output device (I/O) is provided, and the input/output device test section 201a tests a device driver 20 under an operating system (OS) 20.
0 and accesses the input/output device (I/O) 4, the test job 22 issues a single test execution instruction command to an input/output device testing section 201a provided in the operating system (OS) 20, and the input/output device testing section 201a receiving the test execution instruction command starts the device driver 200 and accesses and tests the input/output device (I/O) 4.
【0009】[0009]
【作用】即ち、本発明においては、1) 一般ジョブが、
試験ジョブに影響したり,試験ジョブが一般ジョブに影
響したりすることを防止し、且つ、絶対アドレス指定で
試験のジョブが動作可能であるようにするため、通常の
オペレイティングシステム(OS)配下のジョブではなく、
オペレイティングシステム(OS)のカーネル(核)自身
で、試験をするようにする。[Function] In other words, in the present invention, 1) a general job is,
In order to prevent the test job from being affected or the test job from being affected by the general job, and to enable the test job to be executed by absolute address specification, the job is executed as a normal job under the operating system (OS).
Testing should be done on the operating system kernel itself.
【0010】オペレイティングシステム(OS)のカーネル
では、複数のジョブが同時動作しないため、一般ジョブ
が試験ジョブに影響したり、試験ジョブが一般ジョブに
影響したりすることはない。In an operating system (OS) kernel, multiple jobs do not run simultaneously, so that a general job does not affect a test job, and vice versa.
【0011】又、オペレイティングシステム(OS)の中で
は、絶対アドレス指定で、オペレイティングシステム(O
S)が例外として認識しないため、絶対アドレス指定が可
能となり、試験プログラムの構築が容易となる。[0011] In addition, in the operating system (OS), absolute addresses are specified.
S) is not recognized as an exception, so absolute addressing is possible, making it easier to build test programs.
【0012】2) 具体的には、オペレイティングシステ
ム(OS)配下の試験ジョブで、オペレイティングシステム
(OS)のカーネル (核) 自身の機能、例えば、入出力装置
(I/O)を直接起動させる条件は一般に公開されていない
ために、該オペレイティングシステム(OS)の配下で入出
力装置(I/O) を直接アクセスすることはできない。2) Specifically, a test job under the control of an operating system (OS)
The functionality of the (OS) kernel itself, e.g., input/output devices
Because the conditions for directly starting an input/output device (I/O) are not publicly available, it is not possible to directly access the input/output device (I/O) under the control of the operating system (OS).
【0013】そこで、本発明においては、オペレイティ
ングシステム(OS)の配下で入出力装置(I/O) をアクセス
するデバイスドライバのインタフェース (起動条件) が
公開されていることに着目し、該デバイスドライバのイ
ンタフェースを用いて、該入出力装置(I/O) の試験を行
うように構成する。[0013] Therefore, in the present invention, taking into consideration the fact that the interface (activation conditions) of a device driver that accesses an input/output device (I/O) under the control of an operating system (OS) is made public, the present invention is configured to test the input/output device (I/O) using the interface of the device driver.
【0014】即ち、一般ジョブと同格の位置に、試験ジ
ョブを設けると共に、該オペレイティングシステム(OS)
のカーネルの中に、例えば、デバイスドライバと同格の
RAS試験用デバイスドライバ (入出力装置試験部) を設
けておき、該試験ジョブから、テスト実行指示コマンド
を、オペレイティングシステム(OS)に発行する。That is, a test job is provided at the same level as a general job, and the operating system (OS)
In the kernel, for example,
A device driver for RAS testing (input/output device testing section) is provided, and a test execution command is issued from the test job to an operating system (OS).
【0015】該テスト実行指示コマンドを受信したオ
ペレイティングシステム(OS)のカーネル中の入出力管理
機構が、一般ジョブから通常の入出力命令の実行指示を
受けたと同じようにして、上記RAS 試験用デバイスドラ
イバをコールし、該RAS 試験用デバイスドライバにより
入出力装置(I/O) の試験を行う。[0015] The input/output management mechanism in the kernel of the operating system (OS) that receives the test execution instruction command calls the RAS test device driver in the same way as when it receives an instruction to execute a normal input/output command from a general job, and tests the input/output device (I/O) using the RAS test device driver.
【0016】通常のデバイスドライバでは、複数のコマ
ンドが用意され、そのコマンドによってデバイスドライ
バが動作するが、本発明のRAS 試験用デバイスドライバ
はコマンドが1つしかなく、その1つのコマンド (テス
ト実行指示コマンド) でテストの前処理,テスト,後処
理のすべてを行うように構成する。[0016] In a normal device driver, multiple commands are prepared and the device driver operates according to those commands, but the RAS test device driver of the present invention has only one command, and is configured so that pre-processing, testing, and post-processing of the test are all performed by that one command (a test execution command).
【0017】通常のデバイスドライバと同じように、複
数個のコマンドを設けるようにすると、オペレイティン
グシステム(OS)のカーネル中の入出力管理機構が、該複
数のコマンドを受信する毎に、該RAS 試験用デバイスド
ライバを起動する動作となるため、該試験対象の入出力
装置(I/O) に対する試験が中断する恐れがある。If multiple commands were provided, as in the case of normal device drivers, the input/output management mechanism in the kernel of the operating system (OS) would start up the RAS test device driver each time it received the multiple commands, which could result in the test of the input/output device (I/O) being tested being interrupted.
【0018】そこで、本発明においては、前述のよう
に、唯一つのテスト実行指示コマンドを用意し、該テ
スト実行指示コマンドで、該RAS 試験用デバイスドラ
イバを起動することにより、後は、該RAS 試験用デバイ
スドライバが、入出力装置(I/O) に対するハードコマン
ドのパラメータとして、例えば、アドレスレジスタ(AR)
に、主記憶装置(MSU) の使用領域の先頭アドレスを書き
込み、コマンドレジスタ(CR)にハードコマンド (リー
ド, ライト, シーク等) を書き込むようにして、任意の
ハードコマンドを実行するように構成する。In the present invention, as described above, a single test execution command is prepared, and the RAS test device driver is started by the test execution command. Thereafter, the RAS test device driver inputs, as a parameter of a hardware command for an input/output device (I/O), for example, an address register (AR)
The start address of the area to be used in the main memory unit (MSU) is written to the ROM 111, and a hard command (read, write, seek, etc.) is written to the command register (CR), allowing any hard command to be executed.
【0019】尚、以下においては、上記オペレイティン
グシステム(OS)のカーネル (核) を、説明の便宜上、オ
ペレイティングシステム(OS)として表現することがあ
る。入出力装置(I/O) を試験するのに、上記のように構
成することにより、オペレイティングシステム(OS)配下
で、入出力装置(I/O) に対するRAS 試験が可能となり、
一般ジョブを止めたり、オペレイティングシステム(OS)
のストップと、試験後のオペレイティングシステム(OS)
の初期プログラムローディング(IPL) に時間がかり、オ
ペレイティングシステム(OS)配下での業務が一時中断さ
れることがなくなるという効果が得られる。In the following description, the kernel of the operating system (OS) may be referred to as the operating system (OS) for the sake of convenience. By configuring the above to test an input/output device (I/O), it becomes possible to perform RAS testing of the input/output device (I/O) under the control of the operating system (OS).
Stopping general jobs and the operating system (OS)
Stop and operating system (OS) after testing
This has the effect of eliminating the time-consuming initial program loading (IPL) and temporary interruption of operations under the operating system (OS).
【0020】[0020]
【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1は、本発明の原理構成図であり、図2,
図3は、本発明の一実施例を流れ図で示した図であり、
図2は試験ジョブの動作フローを示し、図3は、オペレ
イティングシステム(OS)中の入出力装置試験部の動作フ
ローを示している。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described in detail with reference to the accompanying drawings. FIG. 1 shows the principle of the present invention.
FIG. 3 is a flow diagram illustrating one embodiment of the present invention;
FIG. 2 shows the operation flow of a test job, and FIG. 3 shows the operation flow of an input/output device test section in an operating system (OS).
【0021】本発明においては、計算機システムのオペ
レイティングシステム(OS) 20 の配下に、一般のジョブ
21 と同格の試験ジョブ 22 を置き、オペレイティング
システム(OS) 20 の中に、入出力装置(I/O) 4 をアクセ
スするデバイスドライバ 200とインタフェースを同じと
した入出力装置試験部 201を設け、上記試験ジョブ 22
が、上記オペレイティングシステム(OS) 20 の中に設け
られている入出力装置試験部 201に、唯一つのテスト実
行指示コマンドを発行し、該テスト実行指示コマンド
を受信した入出力装置試験部 201が、上記デバイスド
ライバ 200の入出力装置(I/O) 4 に対するインタフェー
スを介して、該入出力装置(I/O) 4 をアクセスして試
験する手段, 或いは、オペレイティングシステム(OS) 2
0 の中に、入出力装置(I/O) を試験する入出力装置試験
部 201a を設け、該入出力装置試験部 201a が、オペレ
イティングシステム(OS) 20 配下のデバイスドライバ 2
00を起動して、入出力装置(I/O) 4 を試験する手段が、
本発明を実施するのに必要な手段である。尚、全図を通
して同じ符号は同じ対象物を示している。In the present invention, a general job is executed under the control of an operating system (OS) 20 of a computer system.
A test job 22 of the same level as the device driver 21 is placed, and an input/output device test section 201 having the same interface as a device driver 200 that accesses an input/output device (I/O) 4 is provided in an operating system (OS) 20.
a means for issuing a single test execution command to an input/output device testing unit 201 provided in the operating system (OS) 20, and the input/output device testing unit 201 receiving the test execution command accesses and tests the input/output device (I/O) 4 via an interface for the input/output device (I/O) 4 of the device driver 200; or
In the computer system, an input/output device test section 201a for testing an input/output device (I/O) is provided, and the input/output device test section 201a tests a device driver 20 under an operating system (OS) 20.
00 and testing the input/output device (I/O) 4
These are means necessary for carrying out the present invention. Note that the same reference numerals denote the same objects throughout the drawings.
【0022】以下、図1を参照しながら、図2,図3に
よって、本発明の入出力装置(I/O)の試験方法を説明す
る。先ず、本発明においては、図1に示したように、計
算機システムのオペレイティングシステム(OS) 20 の配
下に、一般のジョブ 21 と同格の試験ジョブ 22 を置
き、オペレイティングシステム(OS) 20 の中に、入出力
装置(I/O) 4 に対するデバイスドライバ 200とインタフ
ェースを同じとした入出力装置試験部 201を設ける。[0022] The input/output device (I/O) testing method of the present invention will be explained below with reference to Figures 2 and 3, while also referring to Figure 1. First, in the present invention, as shown in Figure 1, a test job 22 of the same rank as a general job 21 is placed under an operating system (OS) 20 of a computer system, and an input/output device testing section 201 having the same interface as a device driver 200 for an input/output device (I/O) 4 is provided within the operating system (OS) 20.
【0023】従って、該試験ジョブ 22 が、オペレイテ
ィングシステム(OS) 20 の管理の元に、起動されると、
図2に示した動作フローに従って、該試験ジョブ 22 が
動作する。Therefore, when the test job 22 is started under the control of the operating system (OS) 20,
The test job 22 operates according to the operation flow shown in FIG.
【0024】処理ステップ 100:図示されていないディ
スプレイ画面に、試験スタートのメッセージを表示す
る。処理ステップ 101:本発明の入出力装置試験部(RAS
試験用デバイスドライバ)201 をオペレイティングシス
テム(OS)のカーネル 20 内にロードする。Processing step 100: A message for starting a test is displayed on a display screen (not shown). Processing step 101: The input/output device test section (RAS) of the present invention
A test device driver 201 is loaded into the kernel 20 of an operating system (OS).
【0025】処理ステップ 102:上記入出力装置試験部
(RAS試験用デバイスドライバ) 201に、テスト実行指示
コマンドを発行する。本発明においては、該テスト実
行指示コマンドは、前述のように、唯一つしか用意さ
れていない。Processing step 102: The input/output device test section
A test execution command is issued to the (RAS test device driver) 201. In the present invention, as described above, only one test execution command is provided.
【0026】該テスト実行指示コマンドに、入出力装
置(I/O) 4 に対する試験指示を集約することにより、該
カーネル 20 の配下で、効率よく (具体的には、該カー
ネル20 からの試験指示が中断されることなく) 、該入
出力装置(I/O) 4 を試験することができるようになる。[0026] By consolidating test instructions for the input/output device (I/O) 4 in the test execution command, it becomes possible to test the input/output device (I/O) 4 efficiently under the control of the kernel 20 (specifically, without interrupting the test instructions from the kernel 20).
【0027】処理ステップ 103:上記テスト実行指示コ
マンドの復帰値(コンディションコード)が“0”か
どうかを見て、正常終了を指示する“0”の場合には、
処理ステップ 104に移るが、“0”でなければ、エラー
が検出されたことになるので処理ステップ 105に飛ぶ。Processing step 103: Check whether the return value (condition code) of the test execution command is "0". If it is "0" indicating normal termination,
The process proceeds to step 104, but if it is not "0", this means that an error has been detected, so the process jumps to step 105.
【0028】処理ステップ 104:正常終了であるので、
上記ディスプレイ画面に、試験エンドのメッセージを表
示して、当該入出力装置(I/O) 4 の試験を終了する。処
理ステップ 105,106:エラーの発生であるので、上記入
出力装置試験部 201とのインタフェース用の主記憶装置
(MSU) 2 {図4参照}の領域を読み取り、エラーメッセ
ージを編集して、上記ディスプレイ画面上に表示し、上
記処理ステップ 104に移る。Processing step 104: Since the process is completed normally,
A message indicating that the test has ended is displayed on the display screen, and the test of the input/output device (I/O) 4 is terminated. Processing steps 105 and 106: Since an error has occurred, the main memory device for interfacing with the input/output device test unit 201 is reset.
(MSU) 2 {see FIG. 4} area is read, an error message is edited, it is displayed on the display screen, and the process proceeds to the processing step 104.
【0029】以上が、一般のジョブ 21 と同格に置かれ
ている試験ジョブ 22 の動作であり、該試験ジョブ 22
から発行された、唯一つのテスト実行指示コマンドに
よって起動された、カーネル 20 配下で動作する入出力
装置試験部 201の動作を、図3によって説明する。The above is the operation of the test job 22, which is placed on the same level as the general job 21.
The operation of the I/O device test section 201 operating under the control of the kernel 20 and started by a single test execution command issued from the tester will be described with reference to FIG.
【0030】処理ステップ 300:試験対象装置、ここで
は、入出力装置(I/O) 4 の初期状態を読み取り、主記憶
装置(MSU) 2 の特定の領域に退避して保存する。 処理ステップ 301:入出力装置(I/O) 4 の各試験項目に
対応して使用する主記憶装置(MSU) 2 の領域の先頭アド
レスをコマンドパラメータとして、アドレスレジスタ(A
R)に書き込む。Processing step 300: The initial state of the device under test, here the input/output unit (I/O) 4, is read and saved in a specific area of the main storage unit (MSU) 2. Processing step 301: The top address of the area of the main storage unit (MSU) 2 used for each test item of the input/output unit (I/O) 4 is used as a command parameter and the address register (A
Write to R).
【0031】処理ステップ 302:入出力装置(I/O) 4 の
各試験項目に対応しハードコマンド(例えば、リード,
ライト,シーク等)を、コマンドパラメータとして、コ
マンドレジスタ(CR)に書き込む。Processing step 302: A hard command (e.g., read,
The command (write, seek, etc.) is written as a command parameter to the command register (CR).
【0032】該コマンドパラメータが設定されると、試
験対象装置の入出力装置(I/O) 4 に、前述の入出力装置
(I/O) 4 に対するデバイスドライバ 200が備えているイ
ンタフェースを介して、該ハードコマンドが該入出力
装置(I/O) 4 に発行され、リード, ライト等のテストが
行われ、該テストの結果はステータスレジスタ(SR)に設
定される。When the command parameters are set, the input/output device (I/O) 4 of the test target device is set to the above-mentioned input/output device
The hardware command is issued to the input/output device (I/O) 4 via an interface provided by the device driver 200 for the input/output device (I/O) 4, and tests such as read and write are performed, and the results of the tests are set in the status register (SR).
【0033】処理ステップ 303,304:上記ステータスレ
ジスタ(SR)の内容を読み、正常終了か否かを判定する。
若し、“0”であると、正常終了として、処理ステップ
305に移るが、“0”でないと、異常終了として、処理
ステップ 306に飛ぶ。Processing steps 303, 304: The contents of the status register (SR) are read to judge whether the process has ended normally or not.
If the value is "0", the process is completed normally.
The process proceeds to step 305, but if the value is not "0", it is determined that the process has ended abnormally and the process jumps to step 306.
【0034】処理ステップ 305:正常終了として、試験
対象装置{入出力装置(I/O) }4 の状態を、試験前の初
期状態に戻して、当該試験を終了する。処理ステップ 3
06:異常終了として、主記憶装置(MSU) 2 上の、前述の
試験ジョブ 22 とのインタフェース用の領域上に、該エ
ラーの詳細を書き込む。Processing step 305: Assuming that the test has ended normally, the state of the test target device {input/output device (I/O)} 4 is returned to the initial state before the test, and the test is terminated.
06: As an abnormal termination, details of the error are written to the area on the main storage unit (MSU) 2 for interfacing with the test job 22 mentioned above.
【0035】上記の実施例においては、カーネル 20 の
配下の入出力装置試験部 201を、通常のデバイスドライ
バ 200と同じインタフェースを持つように構成する
{この場合は、オペレイティングシステム(OS) 20 の設
計者と, 試験ユーザの両方で、該入出力装置試験部 201
を設計する必要がある。}ことで説明したが、元々、該
カーネル 20 の配下には、入出力装置(I/O) 4 をアクセ
スする為のデバイスドライバ 200が存在することに着目
して、該デバイスドライバ 200の入出力装置(I/O) 4 に
対するインタフェースを持たない構成の入出力装置試
験部 201a を構築し、該入出力装置試験部 201a から起
動条件が公開されているデバイスドライバ200を起動し
て、該入出力装置(I/O) 4 をテストするように構成して
もよい{この場合、該入出力装置試験部 201a は、試験
ユーザ側でのみ設計することができる}ことはいう迄も
ないことである。In the above embodiment, the I/O device test unit 201 under the kernel 20 is configured to have the same interface as a normal device driver 200 (in this case, both the designer of the operating system (OS) 20 and the test user can control the I/O device test unit 201).
It is necessary to design the I/O device 4.} However, it is possible to build an I/O device testing section 201a having no interface for the I/O device 4 of the device driver 200 by focusing on the existence of the device driver 200 for accessing the I/O device 4 under the control of the kernel 20, and to start the device driver 200 whose start conditions are made public from the I/O device testing section 201a to test the I/O device 4 {in this case, the I/O device testing section 201a can be designed only by the test user}.
【0036】このように、本発明は、入出力装置(I/O)
を試験するのに、計算機システムのオペレイティングシ
ステム(OS)の配下に、一般のジョブと同格の試験ジョブ
を置き、オペレイティングシステム(OS)の中に、入出力
装置(I/O) をアクセスするインタフェースをデバイス
ドライバと同じとした入出力装置試験部を設けるか、該
入出力装置試験部が、該オペレイティングシステム(OS)
の中のデバイスドライバを起動するように構成し、上記
試験ジョブから、上記オペレイティングシステム(OS)配
下の入出力装置試験部に、唯1つのテスト実行指示コマ
ンドを発行し、該テスト実行指示コマンドに基づい
て、該入出力装置試験部が、上記デバイスドライバのイ
ンタフェースを介して、入出力装置(I/O) をアクセス
し、該入出力装置(I/O) の試験を、一般ジョブと並行し
て行うようにした所に特徴がある。Thus, the present invention relates to an input/output device (I/O
In order to test the above, a test job of the same rank as a general job is placed under the control of an operating system (OS) of a computer system, and an input/output device test section is provided in the operating system (OS) with an interface for accessing an input/output device (I/O) that is the same as that of a device driver, or the input/output device test section is provided with an interface for accessing an input/output device (I/O) that is the same as that of a device driver.
a device driver in the test job, and a single test execution command is issued from the test job to an input/output device testing section under the control of the operating system (OS), and based on the test execution command, the input/output device testing section accesses an input/output device (I/O) through an interface of the device driver, and tests the input/output device (I/O) in parallel with a general job.
【0037】[0037]
【発明の効果】以上、詳細に説明したように、本発明の
入出力装置(I/O) の試験方法は、計算機システムのオペ
レイティングシステム(OS)の配下に、一般のジョブと同
格の試験ジョブを置き、オペレイティングシステム(OS)
の中に、入出力装置(I/O) をアクセスするインタフェー
スをデバイスドライバと同じとした入出力装置試験部
を設けるか、該入出力装置試験部が、該オペレイティン
グシステム(OS)の中のデバイスドライバを起動するよう
に構成し、上記試験ジョブから、上記オペレイティング
システム(OS)配下の入出力装置試験部に、唯1つのテス
ト実行指示コマンドを発行し、該テスト実行指示コマ
ンドに基づいて、該入出力装置試験部が、上記デバイ
スドライバのインタフェースを介して、入出力装置(I
/O) をアクセスし、該入出力装置(I/O) の試験を、一般
ジョブと並行して行うようにしたものであるので、オペ
レイティングシステム(OS)の配下で、入出力装置(I/O)
に対するRAS 試験が可能となり、該入出力装置(I/O) を
試験するのに、オペレイティングシステム(OS)を停止さ
せて、一般のジョブを止めたり、オペレイティングシス
テム(OS)の停止と、試験終了後のオペレイティングシス
テム(OS)の初期プログラムローディング(IPL) に時間が
かかり、オペレイティングシステム(OS)配下の業務が一
時中断さもることがなくなり、効率よく、該入出力装置
(I/O) を試験することができる効果がある。As described above in detail, the method for testing an input/output device (I/O) of the present invention places a test job of the same rank as a general job under the control of the operating system (OS) of a computer system,
In the above, an input/output device testing section is provided in which an interface for accessing an input/output device (I/O) is the same as that of a device driver, or the input/output device testing section is configured to start a device driver in the operating system (OS), and only one test execution command is issued from the test job to the input/output device testing section under the operating system (OS), and based on the test execution command, the input/output device testing section accesses the input/output device (I/O) through the interface of the device driver.
/O) and tests the input/output device (I/O) in parallel with general jobs.
It is now possible to perform RAS testing on input/output devices (I/O), and it is no longer necessary to stop the operating system (OS) and stop general jobs in order to test the input/output devices (I/O), or it is no longer necessary to take time to stop the operating system (OS) and perform initial program loading (IPL) of the operating system (OS) after the test is completed, which would cause temporary interruption of business under the operating system (OS). This makes it possible to efficiently test the input/output devices (I/O).
This has the effect of allowing the testing of (I/O).
【図1】本発明の原理構成図FIG. 1 is a diagram showing the principle of the present invention.
【図2】本発明の一実施例を流れ図で示した図(その
1)FIG. 2 is a flow chart showing one embodiment of the present invention (part 1).
【図3】本発明の一実施例を流れ図で示した図(その
2)FIG. 3 is a flow chart showing an embodiment of the present invention (part 2).
【図4】従来の入出力装置の試験方法を説明する図FIG. 4 is a diagram for explaining a conventional method for testing an input/output device.
1 中央処理装置(CPU) 2 主記憶装置
(MSU) 20 オペレイティングシステム(OS), 又は、カーネル 21 一般ジョブ 22 試験ジョブ 200 デバイスドライバ 201,201a 入出力装置試験部, 又は、RAS 試験用デ
バイスドライバ 3 サービスプロセッサ(SVP) 4 入出力装置
(I/O) 40 テストモニタ 400 スタンドア
ロンの試験プログラム テスト実行指示コマンド デバイスドライバの入出力装置(I/O) とのインタ
フェース 100 〜106,300 〜306 処理ステップ 1 Central Processing Unit (CPU) 2 Main Memory Unit
(MSU) 20 Operating system (OS), or kernel 21 General job 22 Test job 200 Device driver 201, 201a I/O device test section, or RAS test device driver 3 Service processor (SVP) 4 I/O device
(I/O) 40 Test monitor 400 Standalone test program Test execution command Interface with device driver's input/output device (I/O) 100 to 106, 300 to 306 Processing steps
Claims (2)
ム(OS)(20)の配下に、一般のジョブ(21)と同格の試験ジ
ョブ(22)を置き、オペレイティングシステム(OS)(20)の
中に、入出力装置(I/O)(4)をアクセスするデバイスドラ
イバ(200) とインタフェースを同じとした入出力装置試
験部(201) を設け、 上記試験ジョブ(22)が、上記オペレイティングシステム
(OS)(20)の中に設けられている上記入出力装置試験部(2
01) に、唯一つのテスト実行指示コマンド () を発行
し、該テスト実行指示コマンド () を受信した入出力
装置試験部(201) が、上記デバイスドライバ(200) の入
出力装置(I/O)(4)に対するインタフェース () を介し
て、該入出力装置(I/O) (4) をアクセスして試験するこ
とを特徴とする入出力装置の試験方法。[Claim 1] A test job (22) of the same rank as a normal job (21) is placed under an operating system (OS) (20) of a computer system, and an input/output device test section (201) having the same interface as a device driver (200) that accesses an input/output device (I/O) (4) is provided in the operating system (OS) (20), and the test job (22) is
The input/output device test unit (2) provided in the (OS) (20)
a test section (201) which receives the test execution command () accesses and tests the input/output device (I/O) (4) through an interface () for the input/output device (I/O) (4) of the device driver (200).
ム(OS)(20)の配下に、一般のジョブ(21)と同格の試験ジ
ョブ(22)を置き、オペレイティングシステム(OS)(20)の
中に、入出力装置(I/O)(4)を試験する入出力装置試験部
(201a)を設け、該入出力装置試験部(201a)が、オペレイ
ティングシステム(OS)(20)配下のデバイスドライバ(20
0) を起動して、入出力装置(I/O)(4)をアクセスするよ
うに構成し、 上記試験ジョブ(22)が、上記オペレイティングシステム
(OS)(20)の中に設けられている入出力装置試験部(201a)
に、唯一つのテスト実行指示コマンド()を発行し、
該テスト実行指示コマンド()を受信した入出力装置
試験部(201a)が、上記デバイスドライバ(200) を起動し
て、該入出力装置(I/O)(4)をアクセスして試験すること
を特徴とする入出力装置の試験方法。A test job (22) of the same rank as a normal job (21) is placed under an operating system (OS) (20) of a computer system, and an input/output device test section for testing an input/output device (I/O) (4) is included in the operating system (OS) (20).
The input/output device test unit (201a) is provided, and the input/output device test unit (201a) tests a device driver (20) under an operating system (OS) (20).
0) and configure it to access an input/output device (I/O) (4), and the test job (22) executes the test job (22) on the operating system (100).
An input/output device testing section (201a) provided in the (OS) (20)
Then, issue a single test execution command (
an input/output device testing section (201a) receiving the test execution instruction command () starts the device driver (200) and accesses and tests the input/output device (I/O) (4).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4005366A JP2661447B2 (en) | 1992-01-16 | 1992-01-16 | Testing methods for input/output devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4005366A JP2661447B2 (en) | 1992-01-16 | 1992-01-16 | Testing methods for input/output devices |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05189262A JPH05189262A (en) | 1993-07-30 |
JP2661447B2 true JP2661447B2 (en) | 1997-10-08 |
Family
ID=11609172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4005366A Expired - Lifetime JP2661447B2 (en) | 1992-01-16 | 1992-01-16 | Testing methods for input/output devices |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2661447B2 (en) |
-
1992
- 1992-01-16 JP JP4005366A patent/JP2661447B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH05189262A (en) | 1993-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3106409B2 (en) | Diagnostic system and interface for personal computer | |
US6336185B1 (en) | Use of other processors during BIOS boot sequence to minimize boot time | |
US10139876B2 (en) | Efficient reboot of an operating system executed in a virtual machine | |
JP2753500B2 (en) | An improved software debugging system and method for debugging code specifically in a multi-architecture environment | |
US6189114B1 (en) | Data processing system diagnostics | |
US7631224B2 (en) | Program, method, and mechanism for taking panic dump | |
US4520440A (en) | Test verification of processor architecture having a partial instruction set | |
US10586048B2 (en) | Efficient reboot of an operating system | |
US20030065914A1 (en) | Enabling video BIOS and display drivers to leverage system BIOS platform abstract | |
US8745364B2 (en) | Method and apparatus for enabling non-volatile content filtering | |
JP2661447B2 (en) | Testing methods for input/output devices | |
US20010049794A1 (en) | Write protection software for programmable chip | |
JPH05101697A (en) | Fault diagnostic circuit for lsi | |
JPH0962493A (en) | Software installation system | |
KR102567773B1 (en) | Log information extraction device and method in combat system system | |
JPS58181160A (en) | Controlling system of emergency operation | |
US20070265821A1 (en) | Simulation apparatus, simulation method, and computer-readable recording medium storing simulation program | |
JP2507789B2 (en) | Logical simulation processing method of virtual machine | |
JPS6116098B2 (en) | ||
JPS6013494B2 (en) | Self-diagnosis method | |
JPS6118045A (en) | Program runaway detection method | |
JPH0648453B2 (en) | Peripheral device initialization control method | |
JP2978841B2 (en) | Emulation method for in-circuit emulator | |
JP2003256239A (en) | Method for executing operation verification simulation, simulation execution device, and program | |
JPH0126103B2 (en) |
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: 19970513 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090613 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100613 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110613 Year of fee payment: 14 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120613 Year of fee payment: 15 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120613 Year of fee payment: 15 |