JPS6029984B2 - Main memory dump method - Google Patents

Main memory dump method

Info

Publication number
JPS6029984B2
JPS6029984B2 JP53078274A JP7827478A JPS6029984B2 JP S6029984 B2 JPS6029984 B2 JP S6029984B2 JP 53078274 A JP53078274 A JP 53078274A JP 7827478 A JP7827478 A JP 7827478A JP S6029984 B2 JPS6029984 B2 JP S6029984B2
Authority
JP
Japan
Prior art keywords
dump
program
memory
main body
processing device
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
JP53078274A
Other languages
Japanese (ja)
Other versions
JPS554677A (en
Inventor
雅明 本間
健 中谷
一夫 西田
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 JP53078274A priority Critical patent/JPS6029984B2/en
Publication of JPS554677A publication Critical patent/JPS554677A/en
Publication of JPS6029984B2 publication Critical patent/JPS6029984B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明は、本体系のデータ処理装置と、上記本体系のデ
ータ処理装置にィンタフェィスによって接続されたサー
ビス・プロセッサとを備える計算機システムにおいて、
本体系データ処理装置の主メモリ・ダンプをサービス・
プロセッサによって行い得るようにした主メモリ・ダン
プ方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a computer system comprising a data processing device of a main body system and a service processor connected to the data processing device of the main body system by an interface.
Main memory dump service for main body data processing equipment
The present invention relates to a main memory dump method that can be performed by a processor.

従来の計算機システムにおいては、メモリ・ダンプ・プ
ログラムはオベレーテイング・システムに含まれている
か、或は必要とするときオペレーティング・システムに
よって外部記憶装置から主メモリヘロードして実行され
るように構成されている。
In conventional computer systems, memory dump programs are either included in the operating system or configured to be loaded from external storage into main memory and executed by the operating system when needed. ing.

ところで、主メモ川こオペレーティング・システムがロ
ードされていない状態の下で、計算機に対して種々のテ
ストを行うことがある。このような場合、主メモリには
テスト・プログラムが格納され、テスト・プログラムの
実行によって何等かの異常が発見された時、テスト結果
をメモリの内容により調べたい場合がある。このような
場合、従来技術においては、コンソール上のキーボード
を操作してアドレスを1個ずつ指定して、メモリの内容
を調べていた。このため、従来技術ではメモリの内容を
調べるためには、非常な手数を必要とするという欠点が
あった。本発明は上記の欠点を除去するものであって、
本体系のデータ処理装置とサービス・プロセッサとを有
する計算機システムにおいて、本体系のデータ処理装置
にオペレーティング・システムがロードされていなくて
も、サービス・プロセッサによって本体系データ処理装
置のメモリ・ダンプを行い得るようになったメモリ・ダ
ンプ方式を提供することを目的としている。
By the way, there are times when we perform various tests on a computer without the operating system being loaded. In such a case, a test program is stored in the main memory, and when some abnormality is discovered by executing the test program, it may be desirable to check the test results based on the contents of the memory. In such a case, in the prior art, the contents of the memory were checked by operating the keyboard on the console and specifying addresses one by one. For this reason, the conventional technology has the disadvantage that it requires a great deal of effort to check the contents of the memory. The present invention eliminates the above-mentioned drawbacks,
In a computer system having a main body data processing device and a service processor, the memory dump of the main body data processing device is performed by the service processor even if an operating system is not loaded on the main body data processing device. The purpose is to provide a memory dump method that can be used to

そしてそのため、本発明の主メモリ・ダンプ方式は、本
体系データ処理装置と、サービス・プロセッサと、上記
本体系データ処理装置とサービス・プロセッサとの間に
設けられたデータ転送手段とを備える計算機システムに
おいて、上記サービス・プロセッサは、上記本体系デー
タ処理装置のメモリ・ダンプを行うダンプ・プログラム
と、ダンプ・プログラムを実行する際に必要な処理を行
う処理プログラムとを有し、且つ上記処理プログラムを
実行することにより、上記本体系データ処理装置の主メ
モリにおける所定のダンプ・プログラム・ローディング
領域およびレジス夕類のデータを自身のメモIJ‘こ退
避させ、上記ダンプ・プログラムを上記主メモリ上のダ
ンプ・プログラム・ローディング領域にローディングし
た後に上記本体系データ処理装置に対してダンプ・プロ
グラムの起動を指示し、上記本体系データ処理装置から
所定の命令が発行されたとき‘こは、上記本体系データ
処理装置の用意した復帰情報を参照してダンプ・アドレ
スとダンプ・プログラム・ローディング領域とが一致し
ているか否かを調べ、両者が一致している場合にはダン
プ・プログラムを上記主メモリの他の所定の領域にロー
ディングした後に上記本体系データ処理装置に対してダ
ンプ・プログラムの起動を指示し、両者が一致していな
い場合には上記サービス・プロセッサのメモリに退避さ
れているデータを復元する処理を行い、上読本体系デー
タ処理装置は、上記ダンプ・プログラムの実行により、
ダンプ・アドレスとダンプ・プログラム・ローデイング
領域とが一致しているか否かを調べ、一致している場合
にはその旨を示す復帰情報を用意して上記所定の命令を
発行し、一致していない場合にはメモリのダンプを行っ
た後にダンプ終了か否かを調べ、iダンプ終了の場合に
はその旨を示す復帰情報を用意して上記所定の命令を発
行する処理を行うことを特徴とするものである。以下、
本発明を図面を参照しつつ説明する。第1図は本発明が
適用される計算機システムの概要を示す図、第2図は本
発明の1実施例の動作を説明するフローチャート、第3
図はダンプ・プログラムのメモリ・ローディングを説明
する図である。
Therefore, the main memory dump method of the present invention provides a computer system comprising a main body data processing device, a service processor, and a data transfer means provided between the main body data processing device and the service processor. In the service processor, the service processor has a dump program that performs a memory dump of the main body data processing device, and a processing program that performs necessary processing when executing the dump program, and the processing program By executing this, a predetermined dump program loading area and register data in the main memory of the main body data processing device are saved to its own memo IJ', and the dump program is dumped in the main memory. - After loading into the program loading area, the main body system data processing device is instructed to start the dump program, and when the main body system data processing device issues a predetermined command, the main body system data It is checked whether the dump address and the dump program loading area match by referring to the return information prepared by the processing unit, and if they match, the dump program is transferred to the main memory mentioned above. after loading the data into a predetermined area of the service processor, instructs the main body data processing device to start a dump program, and if the two do not match, restores the data saved in the memory of the service processor. The above-mentioned data processing device executes the above-mentioned dump program.
Check whether the dump address and dump program loading area match or not, and if they match, prepare return information indicating that and issue the above-mentioned predetermined command, and if they do not match, In this case, after dumping the memory, it is checked whether the dump has ended or not, and if the i-dump has ended, return information indicating this is prepared and the predetermined command is issued. It is something. below,
The present invention will be explained with reference to the drawings. FIG. 1 is a diagram showing an overview of a computer system to which the present invention is applied, FIG. 2 is a flowchart explaining the operation of one embodiment of the present invention, and FIG.
The figure is a diagram illustrating memory loading of a dump program.

1はサービス・プロセッサ、2はマイクロプロセッサ、
3は制御記憶、4はディスプレイ、5はキーボード、6
はライト・ベン、7はフロッピー・ディスク装置、8は
サービス・プロセッサ連結アダプ夕、8aはサービス・
プロセッサ・リンク、9はメモリ制御装置、10は主メ
モリ、11は命令実行プロセッサ、12はラインプリン
タが接続されているチャネル、13はラインプリンタを
それぞれ示している。
1 is a service processor, 2 is a microprocessor,
3 is control memory, 4 is display, 5 is keyboard, 6
7 is the floppy disk drive, 8 is the service processor connection adapter, and 8a is the service processor.
A processor link, 9 a memory control device, 10 a main memory, 11 an instruction execution processor, 12 a channel to which a line printer is connected, and 13 a line printer.

メモリ制御装置9、主メモリ10、命令実行プロセッサ
11、ラインプリンタが接続されているチャネル12お
よびラインプリンター3などが、本体系のデータ処理装
置を構成している。サービス・プロセッサーは、コンソ
ール機能、操作パネル機能および保守パネル機能などを
有しているものである。フロッピー・ブイスク装置7の
ディスクには、ダンプ処理プログラムおよびダンプ・プ
ログラムが格納されている。ダンプ処理プログラムとは
、主メモリ10のメモリ・ダンプを行う際に必要とする
前処理、後処理を行うためのプログラムであり、ダンプ
・プログラムとは主メモリー01こロードされ、メモリ
・ダンプを行うためのプログラムである。サービス・プ
ロセッサ1と本体系データ処理装置間のデータ転送はサ
ービス・プロセッサリンク8aによって行われる。次に
、主メモリー0のメモリ・ダンプを第2図を参照しつつ
説明する。
A memory control device 9, a main memory 10, an instruction execution processor 11, a channel 12 to which a line printer is connected, a line printer 3, and the like constitute the data processing device of the main body. The service processor has a console function, an operation panel function, a maintenance panel function, etc. A dump processing program and a dump program are stored on the disk of the floppy busk device 7. The dump processing program is a program for performing pre-processing and post-processing required when performing a memory dump of the main memory 10.The dump program is a program that is loaded into the main memory 01 and performs the memory dump. This is a program for Data transfer between the service processor 1 and the main body data processing device is performed by the service processor link 8a. Next, a memory dump of main memory 0 will be explained with reference to FIG.

先ず、キーボード5を操作して、フロッピー・ディスク
装置7からダンプ処理プログラムをマイクロプロセッサ
2の制御記憶3にローディングする。これによって、メ
モリ・ダンプ・フレームがディスプレイ4に表示される
。オペレータは、そのフレームを見ながらキーボード5
を操作して、メモリ・ダンプ開始アドレスおよびダンプ
終了アドレスが入力する。ダンプ開始アドレスおよびダ
ンプ終了アドレスが入力されると、制御記憶3内のダン
プ処理プログラムが実行され、本体系データ処理装置の
テスト・モードの退避と解除が行われる。次いで、ダン
プ・プログラムを格納するために使用されるメモリ・エ
リアの退避が行われる。上記のテスト・モード、メモリ
使用エリアの内容および使用されるレジスタの内容は、
制御記憶3に一時的に保存される。上記の処理が終了す
ると、ダンプ処理プログラムにより、フロッピー・ディ
スク装置7から謙出されたダンプ・プログラムは主メモ
リ10のメモリ使用エリア10aにロードされる。つい
で、サービス・プロセッサ1から本体系データ装置へ起
動信号が与えられ、これにより、本体系のデータ処理装
置はダンプ・プログラムの実行を開始する。「ラインプ
リンタのテスト」というステップで、ラインプリンタ1
3のレディ状態のチェックとラインプリンタの型式をテ
ストし、型式に合ったコマンドによりダンプを行う。な
お、ラインプリンタの機番は可変である。もし、ライン
プリンタに対して電源投入が行われていなかった場合又
は用紙が無いような場合にはLエラー表示がディスプレ
イ4になされる。エラーが存在しなかった場合には、ダ
ンプ・データの編集を行う。このダンプ・データ編集ス
テップでは、キャラクタ・ダンプのためにデータの用意
がなされる。次のダンプ・アドレス一致検出ステップは
、ダンプ・プログラムをローデイングしたエリア10a
とダンプ・アドレスとが一致するか否かを調べるステッ
プである。両者が一致している場合には、図の左側の主
ルーチンへ復帰する。両者が一致しない場合には、メモ
リ・ダンプが行われ、次いでダンプ終了か否かがチェッ
クされる。ダンプ終了の場合は主ルーチンへ復帰し、終
了していない場合には、上述のステップが再び繰返され
る。なお、主ルーチンへ復帰するとき本体系装置は停止
状態となる。また、復帰情報は診断命令によってサービ
ス・プロセッサに通知される。ダンプ・プログラム・ル
ーチンから復帰すると、ダンプ・アドレス一致検出処理
が行われ、ダンプ・アドレスとエリア10aとが一致す
る場合には、制御記憶3に保存されている内容がエリア
10aに復元され、ダンプ・プログラムがエリア10b
‘こローディングされる。
First, by operating the keyboard 5, a dump processing program is loaded from the floppy disk device 7 into the control memory 3 of the microprocessor 2. This causes the memory dump frame to be displayed on the display 4. The operator presses the keyboard 5 while looking at the frame.
Enter the memory dump start address and dump end address by operating . When the dump start address and dump end address are input, the dump processing program in the control memory 3 is executed, and the test mode of the main body data processing device is saved and released. The memory area used to store the dump program is then saved. The above test modes, the contents of the memory usage area, and the contents of the registers used are as follows:
It is temporarily stored in the control memory 3. When the above processing is completed, the dump program extracted from the floppy disk device 7 is loaded into the memory use area 10a of the main memory 10 by the dump processing program. Then, a start signal is given from the service processor 1 to the main body data device, and the main body data processing device starts executing the dump program. In the step "Line Printer Test", line printer 1
3. Check the ready state and test the line printer model, and perform dumping using a command that matches the model. Note that the machine number of the line printer is variable. If the line printer has not been powered on or if there is no paper, an L error message will be displayed on the display 4. If there are no errors, edit the dump data. In this dump data editing step, data is prepared for character dump. The next dump address match detection step is the area 10a where the dump program is loaded.
This step is to check whether or not the dump address and the dump address match. If the two match, the process returns to the main routine on the left side of the figure. If they do not match, a memory dump is performed, and then it is checked whether the dump is complete. If the dump is completed, the process returns to the main routine; if the dump is not completed, the above-mentioned steps are repeated again. Note that when returning to the main routine, the main body system is in a stopped state. Further, the return information is notified to the service processor by a diagnostic instruction. When returning from the dump program routine, dump address matching detection processing is performed, and if the dump address and area 10a match, the contents saved in control memory 3 are restored to area 10a, and the dump・Program is area 10b
'This will be loaded.

第3図はこの動作を説明するものであって、最初にダン
プ・プログラムは主メモリ10の第50栃蚤地ないし第
89折番地にローデイングされている。ダンプ・アドレ
ス一致が「YES」の場合には第50の蚤地ないし第8
99番地の内容が復元され、そして、第100番地ない
し第49虫蚤地にダンプ・プログラムが再びローディン
グされる。しかる後に、エリア10aのメモリ・ダンプ
が行われる。この際、エリア10bの内容が制御記憶3
に退避されることは言うまでもない。ダンプ・アドレス
一致が「NO」である場合には、退避していたメモリ使
用エリアの内容およびレジスタの内容が、元の場所へ復
元され、ついで、テスト・モードの復元が行われる。こ
のステップが終了すると、ラインプリンタ13にエラー
が生じていたか否かがチェックされ、エラーが存在した
場合には、その旨がディスプレイ4に表示される。以上
の動作が行われると、主メモリ1川こ対するダンプ処理
は終了する。ダンプ処理は、オペレータの指示によって
も終了する。以上の説明から明らかなように、本発明に
よれば、オペレーティング・システムの介入なしに、サ
ービス・プロセッサによって本体系デ−タ処理装置のメ
モリ・ダンプを行うことが出釆る。
FIG. 3 explains this operation. Initially, the dump program is loaded into the main memory 10 at the 50th to 89th addresses. If the dump address match is "YES", the 50th to 8th flea
The contents of address 99 are restored, and the dump program is loaded again at addresses 100 through 49. After that, a memory dump of area 10a is performed. At this time, the contents of area 10b are
Needless to say, they were evacuated. If the dump address match is "NO", the contents of the memory use area and the contents of the registers that have been saved are restored to their original locations, and then the test mode is restored. When this step is completed, it is checked whether an error has occurred in the line printer 13, and if an error has occurred, that fact is displayed on the display 4. When the above operations are performed, the dump processing for one main memory is completed. Dump processing is also terminated by an operator's instruction. As is clear from the above description, according to the present invention, it is possible to perform a memory dump of the main body data processing device by the service processor without intervention from the operating system.

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

第1図は本発明が適用される計算機システムの概要を示
す図、第2図は本発明の1実施例の動作を説明するフロ
−チャート、第3図はダンプ・プログラムのメモリ・ロ
ーディングを説明する図である。 1…サービス・プロセッサ、2…ライン・プリンタ、3
・・・制御記憶、4・・・ディスプレイ、5・・・キー
ボード、6…ライトベン、7…フロッピー・ブイスク装
置、8・・・サービス・プロセッサ連結リンク、9・・
・メモリ制御装置、10・・・主メモリ、11・・・命
令実行プロセッサ、12・・・ラインプリンタが接続さ
れているチャネル、13・・・ラインプリンタ。 オ′図 次z図 才3図
FIG. 1 is a diagram showing an overview of a computer system to which the present invention is applied, FIG. 2 is a flowchart explaining the operation of one embodiment of the present invention, and FIG. 3 is a diagram explaining memory loading of a dump program. This is a diagram. 1...Service processor, 2...Line printer, 3
... Control memory, 4... Display, 5... Keyboard, 6... Light storage, 7... Floppy busk device, 8... Service processor connection link, 9...
-Memory control device, 10... Main memory, 11... Instruction execution processor, 12... Channel to which line printer is connected, 13... Line printer. Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1 本体系データ処理装置と、サービス・プロセツサと
、上記本体系データ処理装置とサービス・プロセツサと
の間に設けられたデータ転送手段とを備える計算機シス
テムにおいて、上記サービス・プロセツサは、上記本体
系データ処理装置のメモリ・ダンプを行うダンプ・プロ
グラムと、ダンプ・プログラムを実行する際に必要な処
理を行う処理プログラムとを有し、且つ上記処理プログ
ラムを実行することにより、上記本体系データ処理装置
の主メモリにおける所定のダンプ・プログラム・ローデ
イング領域およびレジスタ類のデータを自身のメモリに
退避させ、上記ダンプ・プログラムを上記主メモリ上の
ダンプ・プログラム・ローデイング領域にローデイング
した後に上記本体系データ処理装置に対してダンプ・プ
ログラムの起動を指示し、上記本体系データ処理装置か
ら所定の命令が発行されたときには、上記本体系データ
処理装置の用意した復帰情報を参照してダンプ・アドレ
スとダンプ・プログラム・ローデイング領域とが一致し
ているか否かを調べ、両者が一致している場合にはダン
プ・プログラムを上記主メモリの他の所定の領域にロー
デイングした後に上記本体系データ処理装置に対してダ
ンプ・プログラムの起動を指示し、両者が一致していな
い場合には上記サービス・プロセツサのメモリに退避さ
れているデータを復元する処理を行い、上記本体系デー
タ処理装置は、上記ダンプ・プログラムの実行により、
ダンプ・アドレスとダンプ・プログラム・ローデイング
領域とが一致しているか否かを調べ、一致している場合
にはその旨を示す復帰情報を用意して上記所定の命令を
発行し、一致していない場合にはメモリのダンプを行つ
た後にダンプ終了か否かを調べ、ダンプ終了の場合には
その旨を示す復帰情報を用意して上記所定の命令を発行
する処理を行うことを特徴とする主メモリ・ダンプ方式
1. In a computer system comprising a main body system data processing device, a service processor, and a data transfer means provided between the main body system data processing device and the service processor, the service processor is configured to process the main body system data. It has a dump program that dumps the memory of the processing device, and a processing program that performs necessary processing when executing the dump program, and by executing the processing program, the main body data processing device After saving a predetermined dump program loading area in the main memory and register data to its own memory, and loading the dump program to the dump program loading area in the main memory, the main body data processing device When a predetermined command is issued from the main body data processing device, the dump address and dump program are generated by referring to the return information prepared by the main body data processing device.・Check whether the loading area and the loading area match, and if they match, load the dump program to another predetermined area of the main memory, and then dump the program to the main body data processing device. - Instructs to start the program, and if the two do not match, performs processing to restore the data saved in the memory of the service processor, and the main body data processing device executes the dump program. According to
Check whether the dump address and dump program loading area match or not, and if they match, prepare return information indicating that and issue the above-mentioned predetermined command, and if they do not match, In this case, after dumping the memory, it is checked whether the dumping is completed or not, and if the dumping is completed, return information indicating this is prepared and the predetermined command is issued. Memory dump method.
JP53078274A 1978-06-28 1978-06-28 Main memory dump method Expired JPS6029984B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53078274A JPS6029984B2 (en) 1978-06-28 1978-06-28 Main memory dump method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53078274A JPS6029984B2 (en) 1978-06-28 1978-06-28 Main memory dump method

Publications (2)

Publication Number Publication Date
JPS554677A JPS554677A (en) 1980-01-14
JPS6029984B2 true JPS6029984B2 (en) 1985-07-13

Family

ID=13657392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53078274A Expired JPS6029984B2 (en) 1978-06-28 1978-06-28 Main memory dump method

Country Status (1)

Country Link
JP (1) JPS6029984B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61173894U (en) * 1985-04-19 1986-10-29
JPH03114698U (en) * 1990-01-11 1991-11-26

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56147248A (en) * 1980-04-17 1981-11-16 Mitsubishi Electric Corp Microprogram check system
JPS5837736A (en) * 1981-08-29 1983-03-05 Fujitsu Ltd Data output system
JPS58139985A (en) * 1982-02-15 1983-08-19 日立機電工業株式会社 Automatic positioning device for overhead-travelling crane
JPS5966600U (en) * 1982-10-25 1984-05-04 日立造船株式会社 Automatic positioning device for gripping tools on containers
JPH01284932A (en) * 1988-05-12 1989-11-16 Fanuc Ltd Access device to internal memory area
JPH02301839A (en) * 1989-05-17 1990-12-13 Pfu Ltd Memory dump control system
US7383471B2 (en) 2004-12-28 2008-06-03 Hewlett-Packard Development Company, L.P. Diagnostic memory dumping

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61173894U (en) * 1985-04-19 1986-10-29
JPH03114698U (en) * 1990-01-11 1991-11-26

Also Published As

Publication number Publication date
JPS554677A (en) 1980-01-14

Similar Documents

Publication Publication Date Title
JPS6029984B2 (en) Main memory dump method
US4719564A (en) Interpreter linkage system for linking extension interpreters to a basic interpreter
JPH0216647A (en) Information processor
JPS62224808A (en) Numerical controller
JP2849780B2 (en) Computer system
JPS6074063A (en) System disk loading system
JPH0410654B2 (en)
JPS6239785B2 (en)
JPS6068406A (en) Fault diagnosis device of industrial robot
JPS6113347A (en) Initial testing system of hardware
JPH02292640A (en) Memory dump extracting system
JPS63310040A (en) Data sampling system
JPS6148044A (en) Diagnosis system of processor
JPS62189545A (en) Start processor for calculator system
JPS6344372A (en) Floppy disk device diagnosing method
JPS5922147A (en) Checking system of retrial processing
JPH04243431A (en) Evaluation system for fault processing function
JPS62249242A (en) Memory dump system for computer
JPS615353A (en) Test control system
JPH05165671A (en) Program debugging device
JPS6248872B2 (en)
JPH0228854A (en) Data storage device
JPH0472257B2 (en)
JPS63250749A (en) Dumping system
JPH0664569B2 (en) Micro program loading method