JP2011018162A - Computer system, and hot-line extraction and insertion method therefor - Google Patents

Computer system, and hot-line extraction and insertion method therefor Download PDF

Info

Publication number
JP2011018162A
JP2011018162A JP2009161700A JP2009161700A JP2011018162A JP 2011018162 A JP2011018162 A JP 2011018162A JP 2009161700 A JP2009161700 A JP 2009161700A JP 2009161700 A JP2009161700 A JP 2009161700A JP 2011018162 A JP2011018162 A JP 2011018162A
Authority
JP
Japan
Prior art keywords
slot
notification signal
diagnosis
control unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009161700A
Other languages
Japanese (ja)
Inventor
Masaki Kobayashi
正樹 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2009161700A priority Critical patent/JP2011018162A/en
Publication of JP2011018162A publication Critical patent/JP2011018162A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a computer system, and an extraction and insertion method which can extract an expansion card without intervention of an OS and a hot-plug management software, when occurring a failure in the expansion card, when mounting the expansion card.SOLUTION: The computer system 10 is constituted of a slot 1, a hot-plug control part 2, a reception control part 3, a transmission control part 4, a connection diagnostic part 5, a host bridge 6, a CPU 7, a display part 8, and an insertion detecting part 9. The computer system 10 is constituted to connect the expansion card 20.

Description

本発明は、コンピュータシステムおよびコンピュータシステムの活線抜差方法に関する。   The present invention relates to a computer system and a hot swapping method for a computer system.

コンピュータシステムに周辺機器を接続する場合、PCI(Peripheral Component Interconnect)規格に基づく拡張カードが広く利用されている。このPCI規格には、コンピュータシステムの電源を入れたまま、拡張カードの抜き差しが行えるPCIホット・プラグ規格1.0(1997年10月6日改定)およびPCI Express規格等がある。コンピュータシステムで、このようなホット・プラグに基づく拡張カードの抜き差しを行う場合、新たに挿入された拡張カードに不具合があると、データの損失、あるいはPCIバスを占有したり、バス・プロトコルがハングアップすることもある。   When connecting peripheral devices to a computer system, an expansion card based on the PCI (Peripheral Component Interconnect) standard is widely used. The PCI standard includes a PCI hot plug standard 1.0 (revised on October 6, 1997) and a PCI Express standard that allow an expansion card to be inserted and removed while the computer system is turned on. When inserting or removing an expansion card based on such hot plug in a computer system, if a newly inserted expansion card is defective, data loss, PCI bus occupation, or bus protocol hangs Sometimes up.

このため従来のコンピュータシステムにおいては、特許文献1の図3のように、拡張カードを挿入する場合、コンピュータシステムのOSの制御により、ホット・プラグ管理ソフトウェアが組み込まれ、さらに拡張カードの組み込み処理が行われる。組み込みに際して、ホット・プラグ・コントローラが、隔離部を制御して、拡張カードを診断用のローカルPCIバスに接続し、拡張カードの診断を行う。拡張カードの診断結果が合格だった場合は、ホット・プラグ・コントローラが隔離部を制御して拡張カードを診断用のローカルPCIバスから通常送受信用のPCIバスに接続を切り替える。一方、拡張カードの診断結果が不合格だった場合は、ホット・プラグ・コントローラが隔離部を制御して拡張カードを隔離する。   Therefore, in the conventional computer system, as shown in FIG. 3 of Patent Document 1, when an expansion card is inserted, hot plug management software is incorporated under the control of the OS of the computer system, and further, the expansion card is incorporated. Done. At the time of installation, the hot plug controller controls the isolation unit, connects the expansion card to the local PCI bus for diagnosis, and diagnoses the expansion card. If the diagnostic result of the expansion card is passed, the hot plug controller controls the isolation unit to switch the connection of the expansion card from the local PCI bus for diagnosis to the PCI bus for normal transmission / reception. On the other hand, if the diagnostic result of the expansion card fails, the hot plug controller controls the isolation unit to isolate the expansion card.

特開2000−305678号公報JP 2000-305678 A

しかしながら、従来技術では、CPUがホスト・ブリッジ経由でホット・プラグ・コントローラを制御して、拡張カードの診断を診断用のローカルPCIバスに接続して行い、診断結果が合格の場合に拡張カードをPCIバスに接続していた。このため、拡張カードがスロットに挿入された時点で、スロットに設けられている機械的検出部により拡張カードが挿入されたことが検出され、拡張カードが挿入されたことを示す通知信号がホット・プラグ・コントローラに送信される。ホット・プラグ・コントローラは通知信号を受信し、受信した通知信号をホスト・ブリッジ経由でCPUに送る。CPUは通知信号を受信し、ホット・プラグ管理ソフトウェアの組み込み、拡張カードの組み込み処理を開始する。このため、拡張カードの診断結果が不合格の場合、拡張カードを抜き取るために、隔離部により電気的に拡張カードが隔離されていてもOSおよびホット・プラグ管理ソフトウェア上で拡張カードの隔離手続きを行う必要があるという課題があった。   However, in the prior art, the CPU controls the hot plug controller via the host bridge to connect the expansion card to the local PCI bus for diagnosis, and if the diagnosis result passes, the expansion card is It was connected to the PCI bus. For this reason, when the expansion card is inserted into the slot, the mechanical detection unit provided in the slot detects that the expansion card has been inserted, and a notification signal indicating that the expansion card has been inserted is a hot signal. Sent to the plug controller. The hot plug controller receives the notification signal and sends the received notification signal to the CPU via the host bridge. The CPU receives the notification signal and starts incorporating hot plug management software and an expansion card. For this reason, if the diagnostic result of the expansion card fails, the expansion card isolation procedure is performed on the OS and hot plug management software even if the expansion card is electrically isolated by the isolation unit in order to remove the expansion card. There was a problem that it was necessary to do.

本発明は、上記の問題点に鑑みてなされたものであって、拡張カードの装着時に、拡張カードに不具合があった場合、OSおよびホット・プラグ管理ソフトウェアの介入なしで、拡張カードの抜き取りが行えるコンピュータシステムおよびコンピュータシステムの活線抜差方法を提供することを目的としている。   The present invention has been made in view of the above problems, and when an expansion card has a problem when the expansion card is installed, the expansion card can be removed without intervention of the OS and hot plug management software. It is an object of the present invention to provide a computer system and a hot swapping method for a computer system.

本発明は、主制御装置が、スロットに挿入され第1のバスに接続された拡張機器を利用して動作するコンピュータシステムにおいて、
前記拡張機器の診断を行う診断部と、
前記拡張機器を前記第1のバスに接続する制御を行う接続制御部と、
を備え、
前記接続制御部は、
前記拡張機器が前記スロットに挿入されたことを通知する通知信号を受信した後、前記拡張機器を、前記診断部が接続されかつ前記主制御装置が接続されていない第2のバスに接続し、前記診断部に前記拡張機器の診断を行わせ、
前記診断部による診断の結果、前記拡張機器が正常の場合は、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を前記主制御装置へ送信し、前記通知信号への応答である前記主制御装置からのスロット電源投入信号に基づいて前記拡張機器に電源を供給して、前記拡張機器を前記第1のバスに接続し、
前記診断部による診断の結果、前記拡張機器が異常の場合は、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を前記主制御装置へ送信しないように制御する
ことを特徴とする。
The present invention provides a computer system in which a main control device operates using an expansion device inserted into a slot and connected to a first bus.
A diagnostic unit for diagnosing the expansion device;
A connection control unit that performs control for connecting the extension device to the first bus;
With
The connection control unit
After receiving a notification signal notifying that the expansion device has been inserted into the slot, the expansion device is connected to a second bus to which the diagnostic unit is connected and the main control device is not connected, Let the diagnostic unit diagnose the expansion device;
If the expansion device is normal as a result of diagnosis by the diagnosis unit, a notification signal notifying that the expansion device has been inserted into the slot is transmitted to the main control device, and is a response to the notification signal. Supplying power to the extension device based on a slot power on signal from the main control device, connecting the extension device to the first bus,
As a result of the diagnosis by the diagnosis unit, when the expansion device is abnormal, control is performed so that a notification signal notifying that the expansion device has been inserted into the slot is not transmitted to the main control device. .

また、本発明は、スロットに挿入される拡張機器の診断を行う診断部と前記拡張機器を第1のバスに接続する制御を行う接続制御部とを備え、主制御装置が前記拡張機器を前期第1のバスに接続して利用するコンピュータシステムの活線抜差方法において、
前記スロットが、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を送信する通知信号送信工程と、
前記接続制御部が、前記通知信号の前記主制御装置への送信を、前記診断部で前記拡張機器が正常と診断されるまで待機させる通知信号待機工程と、
前記通知信号を受信した後、前記接続制御部が、前記拡張機器を、前記診断部が接続されかつ前記主制御装置が接続されていない第2のバスに接続する接続工程と、
前記第2のバスを介して前記診断部が前記拡張機器の診断を行う診断工程と、
前記診断工程での診断の結果、前記拡張機器が正常の場合は、前記接続制御部が、前記通知信号待機工程で待機させていた前記通知信号を前記主制御装置へ送信する通知信号待機解除工程と、
前記通知信号待機解除工程により前記主制御装置へ前記通知信号が送信された後、前記接続制御部が、前記通知信号への応答である前記主制御装置からのスロット電源投入信号に基づいて前記拡張機器に電源を供給する電源供給工程と、
前記診断工程での診断の結果、前記拡張機器が異常の場合は、前記接続制御部が、前記通知信号待機工程で待機させていた前記通知信号を前記主制御装置へ送信しないように制御する通知信号制御工程と、
を備えることを特徴とする。
The present invention also includes a diagnostic unit that diagnoses an expansion device inserted into a slot, and a connection control unit that performs control to connect the expansion device to a first bus, and the main control device connects the expansion device to the previous period. In the hot plugging method of a computer system used by connecting to the first bus,
A notification signal transmitting step for transmitting a notification signal for notifying that the slot is inserted into the slot;
A notification signal standby step in which the connection control unit waits for the transmission of the notification signal to the main control unit until the diagnostic device diagnoses that the expansion device is normal;
After receiving the notification signal, the connection control unit connects the extension device to a second bus to which the diagnosis unit is connected and the main control device is not connected;
A diagnostic step in which the diagnostic unit diagnoses the expansion device via the second bus;
If the extension device is normal as a result of the diagnosis in the diagnosis step, the connection control unit transmits the notification signal that has been waiting in the notification signal standby step to the main control device. When,
After the notification signal is transmitted to the main control device by the notification signal standby release step, the connection control unit performs the extension based on a slot power-on signal from the main control device that is a response to the notification signal. A power supply process for supplying power to the device;
If the extension device is abnormal as a result of the diagnosis in the diagnosis step, the connection control unit performs control so as not to transmit the notification signal that has been waiting in the notification signal standby step to the main control device A signal control process;
It is characterized by providing.

本発明によれば、拡張カードがコンピュータシステムに挿入された場合、ホット・プラグ・コントローラが、ホスト・ブリッジには接続せず診断用のバスに接続するように制御する。さらに、拡張カードが挿入された時、拡張カードがスロットを介してホット・プラグ・コントローラに送信した通知信号をホスト・ブリッジおよびCPUに送信せずに待機させる。診断部での拡張カードの診断結果が合格の場合のみ、ホスト・ブリッジおよびCPUに待機させていた通知信号を送信するようにした。これにより、診断結果が不合格の場合には、ホット・プラグ管理ソフトウェアの処理が開始されていないので、ホット・プラグ管理ソフトウェアによる隔離手続きを行わずに拡張カードの隔離が可能になる。   According to the present invention, when the expansion card is inserted into the computer system, the hot plug controller controls not to connect to the host bridge but to connect to the diagnostic bus. Further, when the expansion card is inserted, the notification signal transmitted from the expansion card to the hot plug controller via the slot is made to wait without being transmitted to the host bridge and the CPU. Only when the diagnostic result of the expansion card in the diagnostic unit is acceptable, the notification signal that was waiting for the host bridge and the CPU is transmitted. As a result, when the diagnosis result is unacceptable, the processing of the hot plug management software is not started, so that the expansion card can be isolated without performing the isolation procedure by the hot plug management software.

本発明の実施形態に係るコンピュータシステムのブロック図である。1 is a block diagram of a computer system according to an embodiment of the present invention. 同実施形態に係る拡張カードが挿入されたときの診断手順を示す図である。It is a figure which shows the diagnostic procedure when the expansion card concerning the embodiment is inserted. 同実施形態に係る拡張カードが挿入されたときの診断手順を示す図である。It is a figure which shows the diagnostic procedure when the expansion card concerning the embodiment is inserted.

以下、図1〜3を用いて本発明の実施形態について詳細に説明する。なお、本発明は係る実施形態に限定されず、その技術思想の範囲内で種々の変更が可能である。   Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. In addition, this invention is not limited to the embodiment which concerns, A various change is possible within the range of the technical thought.

図1は、本実施形態におけるコンピュータシステムのブロック図である。コンピュータシステム10は、スロット1と、ホット・プラグ制御部2と、受信制御部3と、送信制御部4と、接続診断部5と、ホスト・ブリッジ6と、CPU7と、表示部8と、挿入検出部9から構成されている。また、コンピュータシステム10は、PCI Express規格の拡張カード(以下、拡張カード)20との接続を行う。   FIG. 1 is a block diagram of a computer system according to this embodiment. The computer system 10 includes a slot 1, a hot plug control unit 2, a reception control unit 3, a transmission control unit 4, a connection diagnosis unit 5, a host bridge 6, a CPU 7, a display unit 8, and an insertion It comprises a detector 9. The computer system 10 is also connected to an expansion card (hereinafter referred to as an expansion card) 20 conforming to the PCI Express standard.

スロット1は、拡張カード20との電気的な接続を行う。また、スロット1の端子は、ホット・プラグ制御部2と、受信制御部3と、送信制御部4とに接続されている。また、スロット1には、拡張カード20の挿入を機械的に検出する挿入検出部9が設けられている。   The slot 1 is electrically connected to the expansion card 20. The terminal of the slot 1 is connected to the hot plug control unit 2, the reception control unit 3, and the transmission control unit 4. The slot 1 is provided with an insertion detection unit 9 that mechanically detects the insertion of the expansion card 20.

ホット・プラグ制御部(接続制御部)2は、拡張カード20をスロット1へ接続診断部5の診断結果に基づき、もしくはホスト・ブリッジ6を介したCPU7からの指示に基づき電気的に接続または解除する。すなわち、ホット・プラグ制御部2は、接続診断部5の診断結果が合格の場合に拡張カード20をスロット1へ電気的に接続し、接続診断部5の診断結果が不合格の場合に拡張カード20をスロット1へ電気的に接続を解除する。また、ホット・プラグ制御部2は、拡張カードがスロット1に挿入されることにより、スロット1に設けられている挿入検出部9が送信するスロット・イベント信号(通知信号)を受け取る。また、ホット・プラグ制御部2は、受け取ったスロット・イベント信号のホスト・ブリッジ6への送信を、接続診断部5による診断結果のリンクアップ信号を受信するまで待機させる。
また、ホット・プラグ制御部2は、スロット・イベント信号を受け取った後、拡張カードの診断を行うために、診断中にスロット1に電源を供給する。また、ホット・プラグ制御部2は、拡張カードの診断を行うために、受信制御部3の出力を切り替える診断処理中フラグを送る。また、ホット・プラグ制御部2は、拡張カードの診断を行うために、送信制御部4の入力を切り替える診断処理中フラグを送る。また、ホット・プラグ制御部2は、診断処理中フラグを受信制御部4および送信制御部4に送った後、接続診断部5に診断開始指示を送り、診断終了後に接続診断部5から診断終了信号と診断結果信号を受け取る。
診断結果信号が合格の場合、ホット・プラグ制御部2は、診断結果信号としてリンクアップ信号を受け取る。
また、ホット・プラグ制御部2は、リンクアップ信号を受け取った後、スロット1にスロット・リセット信号を送り、診断用に供給していた電源をOFFにする。また、ホット・プラグ制御部2は、電源をOFFにした後、待機させていたスロット・イベント信号(通知信号)をホスト・ブリッジ6に送る。また、ホット・プラグ制御部2は、ホスト・ブリッジ6からスロット・イベント信号の応答としてスロット電源ON信号を受け取った後、スロット1に送信していたスロット・リセット信号を解除し、さらにスロット1にスロット電源を供給する(電源制御)。また、ホット・プラグ制御部2は、スロット1に電源を供給した後、スロット1を介して拡張カード20とリンク確立処理を行い、コンピュータシステム10への拡張カード20の組み込みを行う。
また、診断結果信号が不合格の場合、ホット・プラグ制御部2は、診断結果信号としてリンクフェイル信号を受け取り、受け取ったリンクフェイル信号に基づき表示部8にエラー表示を行う。
The hot plug control unit (connection control unit) 2 electrically connects or disconnects the expansion card 20 to the slot 1 based on the diagnosis result of the connection diagnosis unit 5 or based on an instruction from the CPU 7 via the host bridge 6. To do. That is, the hot plug control unit 2 electrically connects the expansion card 20 to the slot 1 when the diagnosis result of the connection diagnosis unit 5 is passed, and expands the card when the diagnosis result of the connection diagnosis unit 5 fails. 20 is electrically disconnected from slot 1. The hot plug control unit 2 receives a slot event signal (notification signal) transmitted from the insertion detection unit 9 provided in the slot 1 when the expansion card is inserted into the slot 1. The hot plug control unit 2 also waits for the transmission of the received slot event signal to the host bridge 6 until a link up signal as a result of diagnosis by the connection diagnosis unit 5 is received.
Further, after receiving the slot event signal, the hot plug control unit 2 supplies power to the slot 1 during diagnosis in order to diagnose the expansion card. Further, the hot plug control unit 2 sends a diagnostic processing flag for switching the output of the reception control unit 3 in order to diagnose the expansion card. Further, the hot plug control unit 2 sends a diagnostic processing flag for switching the input of the transmission control unit 4 in order to diagnose the expansion card. Further, the hot plug control unit 2 sends a diagnosis processing flag to the reception control unit 4 and the transmission control unit 4, then sends a diagnosis start instruction to the connection diagnosis unit 5, and completes the diagnosis from the connection diagnosis unit 5 after completion of the diagnosis. Receive signals and diagnostic result signals.
When the diagnosis result signal is acceptable, the hot plug control unit 2 receives the link up signal as the diagnosis result signal.
Further, after receiving the link up signal, the hot plug control unit 2 sends a slot reset signal to the slot 1 to turn off the power supplied for diagnosis. In addition, the hot plug control unit 2 sends the standby slot event signal (notification signal) to the host bridge 6 after turning off the power. The hot plug control unit 2 receives the slot power ON signal from the host bridge 6 as a response to the slot event signal, then cancels the slot reset signal transmitted to the slot 1, and further enters the slot 1. Supply slot power (power control). Further, after supplying power to the slot 1, the hot plug control unit 2 performs a link establishment process with the expansion card 20 via the slot 1 and incorporates the expansion card 20 into the computer system 10.
When the diagnosis result signal fails, the hot plug control unit 2 receives a link fail signal as the diagnosis result signal and displays an error on the display unit 8 based on the received link fail signal.

受信制御部3は、スロット1を介して拡張カード20からの出力データを受け取る。また、受信制御部3は、拡張カード20から受け取った出力データをホット・プラグ制御部2の制御信号により出力先を切り替えて、通常受信データの経路11であるホスト・ブリッジ6、または、診断受信データの経路12である接続診断部5に出力する。   The reception control unit 3 receives output data from the expansion card 20 via the slot 1. Also, the reception control unit 3 switches the output destination of the output data received from the expansion card 20 by the control signal of the hot plug control unit 2, and the host bridge 6 that is the path 11 of the normal reception data or the diagnosis reception The data is output to the connection diagnosis unit 5 that is the data path 12.

送信制御部4は、ホット・プラグ制御部2の制御信号により入力先を切り換えて、診断受信データの経路14である接続診断部5、または、通常送信データの経路13であるホスト・ブリッジ6からの出力を受け取る。また、送信制御部4は、受け取った接続診断部5またはホスト・ブリッジ6からの出力をスロット1に送る。   The transmission control unit 4 switches the input destination according to the control signal of the hot plug control unit 2, from the connection diagnosis unit 5 that is the path 14 of diagnostic reception data or the host bridge 6 that is the path 13 of normal transmission data. Receive the output. The transmission control unit 4 sends the received output from the connection diagnosis unit 5 or the host bridge 6 to the slot 1.

接続診断部5は、ホット・プラグ制御部2からの診断開始指示を受け取り、診断開始指示受け取り後に受信制御部3と送信制御部4を介してスロット1に接続されている拡張カード20の診断を行う。また、接続診断部5は、拡張カード20の診断結果の診断結果信号をホット・プラグ制御部2に送る。   The connection diagnosis unit 5 receives a diagnosis start instruction from the hot plug control unit 2 and diagnoses the expansion card 20 connected to the slot 1 via the reception control unit 3 and the transmission control unit 4 after receiving the diagnosis start instruction. Do. Further, the connection diagnosis unit 5 sends a diagnosis result signal of the diagnosis result of the expansion card 20 to the hot plug control unit 2.

診断は、接続診断部5により、スロット1を介して接続されている拡張カード20の図示しない送受信ポートと接続診断部5の送受信ポートとの間で、PCI Express規格で定められている特定パケット(トレーニングやエレクトリカル・アイドル等)の交換を行うことで行われる。   The diagnosis is performed by the connection diagnosis unit 5 between a transmission / reception port (not shown) of the expansion card 20 connected via the slot 1 and a transmission / reception port of the connection diagnosis unit 5 according to a PCI Express standard specified packet ( This is done by exchanging training and electrical idols.

ホスト・ブリッジ6は、CPU7とコンピュータシステム10のバスを接続して、CPU7とバスとの間でデータの制御を行う。また、ホスト・ブリッジ6は、接続診断部5による診断終了後、診断結果が合格の場合に、ホット・プラグ制御部2から待機させられていたスロット・イベント信号を受け取る。また、ホスト・ブリッジ6は、スロット・イベント信号を受け取った後、CPU7に拡張カードが挿入されたことを知らせる割り込み信号を送り、また、ホット・プラグ制御部2にスロット電源ON信号を送る。   The host bridge 6 connects a bus between the CPU 7 and the computer system 10 and controls data between the CPU 7 and the bus. Further, the host bridge 6 receives the slot event signal that has been put on standby from the hot plug control unit 2 when the diagnosis result is passed after the diagnosis by the connection diagnosis unit 5 is completed. Further, after receiving the slot event signal, the host bridge 6 sends an interrupt signal notifying the CPU 7 that an expansion card has been inserted, and sends a slot power ON signal to the hot plug control unit 2.

CPU7は、診断接続5による診断終了後にホスト・ブリッジ6から出力される割り込み信号を受け取る。また、CPU7は、スロット1に拡張カード20が挿入された場合、CPU7に接続された図示しないROM(Read Only Memory)またはHDD(Hard Disk Drive)等の記憶部に記憶されているOS(Operating System)により、挿入された拡張カード20をホット・プラグ制御部2と受信制御部3と送信制御部4とホスト・ブリッジ6を介してリンク確立処理を行い、拡張カード10をコンピュータシステム10に組み込む。   The CPU 7 receives an interrupt signal output from the host bridge 6 after the diagnosis by the diagnosis connection 5 is completed. When the expansion card 20 is inserted into the slot 1, the CPU 7 is an OS (Operating System) stored in a storage unit (not shown) such as a ROM (Read Only Memory) or an HDD (Hard Disk Drive) connected to the CPU 7. ), A link establishment process is performed on the inserted expansion card 20 via the hot plug control unit 2, the reception control unit 3, the transmission control unit 4, and the host bridge 6, and the expansion card 10 is incorporated into the computer system 10.

リンク確立処理は、スロット1を介して接続されている拡張カード20の図示しない送受信ポートとホスト・ブリッジ6の送受信ポートとの間で、PCI Express規格で定められている特定パケット(トレーニングやエレクトリカル・アイドル等)の交換を行うことで行われる。   The link establishment process is performed between a transmission / reception port (not shown) of the expansion card 20 connected via the slot 1 and a transmission / reception port of the host bridge 6 by using a specific packet (training or electrical / standard) defined in the PCI Express standard. This is done by exchanging idols.

表示部8は、例えばLED(Light Emitting Diode)であり、接続診断部5による診断結果が不合格の場合、ホット・プラグ制御部2の制御によりエラー表示を行う。この場合、例えば、不合格の場合のみ点灯もしくは消灯させる。   The display unit 8 is, for example, an LED (Light Emitting Diode), and displays an error under the control of the hot plug control unit 2 when the diagnosis result by the connection diagnosis unit 5 fails. In this case, for example, it is turned on or off only in the case of failure.

次に、本実施形態において、拡張カードが挿入されたときの診断手順を、図2〜3のフローチャートを用いて説明する。まず、スロット1に拡張カード10が挿入されると、スロット1の挿入検出部9が拡張カードの挿入を検出し、スロット1の挿入検出部9が拡張カードを検出したことを示すスロット・イベント信号をホット・プラグ制御部2へ送る(S1)。   Next, in this embodiment, a diagnostic procedure when an expansion card is inserted will be described with reference to the flowcharts of FIGS. First, when the expansion card 10 is inserted into the slot 1, the slot 1 signal indicating that the insertion detection unit 9 of the slot 1 detects the insertion of the expansion card and the insertion detection unit 9 of the slot 1 detects the expansion card. Is sent to the hot plug control unit 2 (S1).

ホット・プラグ制御部2は、スロット1の挿入検出部9からスロット・イベント信号を受け取り、また、ホスト・ブリッジ6へのスロット・イベント信号の送信は行わずに待機させる(S2)。   The hot plug control unit 2 receives the slot event signal from the insertion detection unit 9 of the slot 1 and waits without transmitting the slot event signal to the host bridge 6 (S2).

次に、ホット・プラグ制御部2は、拡張カード20の診断を行うためにスロット1の電源をONにする(S3)。   Next, the hot plug control unit 2 turns on the power of the slot 1 to diagnose the expansion card 20 (S3).

また、ホット・プラグ制御部2は、受信制御部3と送信制御部4に診断処理中フラグを送る(S4、5)。   Further, the hot plug control unit 2 sends a diagnostic processing flag to the reception control unit 3 and the transmission control unit 4 (S4, 5).

受信制御部3は、ホット・プラグ制御部2から出力された診断処理中フラグを受け取り、接続診断部5と接続する経路を診断受信データ経路12に切り替える(S6)。   The reception control unit 3 receives the in-diagnosis processing flag output from the hot plug control unit 2, and switches the path connected to the connection diagnosis unit 5 to the diagnostic reception data path 12 (S6).

送信制御部4は、ホット・プラグ制御部2から出力された診断処理中フラグを受け取り、接続診断部5と接続する経路を診断送信データ経路1に切り替える(S7)。   The transmission control unit 4 receives the diagnostic processing flag output from the hot plug control unit 2, and switches the path connected to the connection diagnostic unit 5 to the diagnostic transmission data path 1 (S7).

次に、ホット・プラグ制御部2は、診断接続部5に診断開始指示を送る(S8)。   Next, the hot plug control unit 2 sends a diagnosis start instruction to the diagnosis connection unit 5 (S8).

診断接続部5は、ホット・プラグ制御部2から出力された診断開始指示を受け取り、スロット1を介して拡張カード20の診断を行う(S9)。診断は、接続診断部5により、スロット1を介して接続されている拡張カード20の図示しない送受信ポートと接続診断部5の送受信ポートとの間で、PCI Express規格で定められている特定パケット(トレーニングやエレクトリカル・アイドル等)の交換をすることにより行われる。   The diagnosis connection unit 5 receives the diagnosis start instruction output from the hot plug control unit 2, and diagnoses the expansion card 20 via the slot 1 (S9). The diagnosis is performed by the connection diagnosis unit 5 between a transmission / reception port (not shown) of the expansion card 20 connected via the slot 1 and a transmission / reception port of the connection diagnosis unit 5 according to a PCI Express standard specified packet ( This is done by exchanging training, electrical idol, etc.

診断終了後、接続診断部5は、ホット・プラグ制御部2に診断終了信号を送る(S10)。また、接続診断部5は、診断結果が合格の場合はリンクアップ信号を診断結果信号としてホット・プラグ制御部2に送り、診断結果が不合格の場合はリンクフェイル信号を診断結果信号としてホット・プラグ制御部2に送る(S11)。   After the diagnosis is completed, the connection diagnosis unit 5 sends a diagnosis end signal to the hot plug control unit 2 (S10). The connection diagnosis unit 5 sends a link-up signal to the hot plug control unit 2 as a diagnosis result signal when the diagnosis result is acceptable, and sends a link fail signal as a diagnosis result signal when the diagnosis result is unacceptable. The data is sent to the plug control unit 2 (S11).

ホット・プラグ制御部2は、接続診断部5から診断終了信号と診断結果信号とを受け取り、診断結果が合格の場合、診断処理中フラグのクリアー指示を受信制御部3と送信制御部4に送る(S12、13)。   The hot plug control unit 2 receives the diagnosis end signal and the diagnosis result signal from the connection diagnosis unit 5, and sends a diagnostic instruction flag clear instruction to the reception control unit 3 and the transmission control unit 4 when the diagnosis result is acceptable. (S12, 13).

受信制御部3は、ホット・プラグ制御部2から出力された診断処理中フラグのクリアー指示を受け取り、ホスト・ブリッジ6と接続する経路を通常受信データ経路11に切り替える(S14)。   The reception control unit 3 receives the instruction to clear the diagnostic process flag output from the hot plug control unit 2, and switches the path connected to the host bridge 6 to the normal reception data path 11 (S14).

送信制御部4は、ホット・プラグ制御部2から出力された診断処理中フラグのクリアー指示を受け取り、ホスト・ブリッジ6と接続する経路を通常送信データ経路13に切り替える(S15)。   The transmission control unit 4 receives the instruction to clear the diagnostic processing flag output from the hot plug control unit 2, and switches the path connected to the host bridge 6 to the normal transmission data path 13 (S15).

診断結果が合格の場合、ホット・プラグ制御部2は、スロット1にスロット・リセット信号を送り(S16)、ホスト・ブリッジ6にステップS2で待機させていたスロット・イベント信号を送る(S17)。また、ステップS16のスロット・リセットにより、ホット・プラグ制御部2がスロット1の電源をOFFにする。   If the diagnosis result is acceptable, the hot plug control unit 2 sends a slot reset signal to the slot 1 (S16), and sends the slot event signal that has been waiting in step S2 to the host bridge 6 (S17). Further, the hot plug control unit 2 turns off the power of the slot 1 by the slot reset in step S16.

ホスト・ブリッジ6は、ホット・プラグ制御部2から出力されたスロット・イベント信号を受け取り、CPU7に拡張カードが挿入されたことを知らせる割り込み信号を送る(S18)。   The host bridge 6 receives the slot event signal output from the hot plug control unit 2 and sends an interrupt signal notifying the CPU 7 that an expansion card has been inserted (S18).

次に、ホスト・ブリッジ6は、ホット・プラグ制御部2に、スロット電源をONにする指示を送る(S19)。   Next, the host bridge 6 sends an instruction to turn on the slot power source to the hot plug control unit 2 (S19).

また、ホット・プラグ制御部2は、ホスト・ブリッジ6から出力されたスロット電源をONにする指示を受け取り、スロット1の電源をONにする(S20)。   Further, the hot plug control unit 2 receives the instruction to turn on the slot power output from the host bridge 6 and turns on the power of the slot 1 (S20).

さらに、ホット・プラグ制御部2は、スロット1に送信し続けていたスロット・リセット信号を解除する(S21)。
これにより、スロット1に挿入されている拡張カード20は、ホット・プラグ制御部2と、受信制御部3と送信制御部4を介してホスト・ブリッジ6に接続され、さらにホスト・ブリッジ6を介して接続されているCPU7からの制御によりリンク確立処理による初期化が行われる(S22)。リンク確立処理は、スロット1を介して接続されている拡張カード20の図示しない送受信ポートとホスト・ブリッジ6の送受信ポートとの間で、PCI Express規格で定められている特定パケット(トレーニングやエレクトリカル・アイドル等)の交換を行うことで行われる。
以上の手順による処理により、スロット1を解して挿入されている拡張カード20が
コンピュータシステム10への組み込み処理が完了する。
Further, the hot plug control unit 2 cancels the slot reset signal that has been transmitted to the slot 1 (S21).
As a result, the expansion card 20 inserted in the slot 1 is connected to the host bridge 6 via the hot plug control unit 2, the reception control unit 3 and the transmission control unit 4, and further via the host bridge 6. The initialization by the link establishment process is performed under the control of the connected CPU 7 (S22). The link establishment process is performed between a transmission / reception port (not shown) of the expansion card 20 connected via the slot 1 and a transmission / reception port of the host bridge 6 with a specific packet (training or electrical This is done by exchanging idols.
With the process according to the above procedure, the process of incorporating the expansion card 20 inserted through the slot 1 into the computer system 10 is completed.

以上、本発明によれば、拡張カードがコンピュータシステムに挿入された場合、ホット・プラグ・コントローラ(ホット・プラグ制御部)が、ホスト・ブリッジには接続せず診断用のバスに接続するように制御する。さらに、拡張カードが挿入された時、スロットの挿入検出部が拡張カードを検出して、ホット・プラグ・コントローラに通知信号を送信する。また、ホット・プラグ・コントローラは、受け取った通知信号をホスト・ブリッジおよびCPUに送信せずに待機させる。そして、診断部での拡張カードの診断結果が合格の場合のみ、ホスト・ブリッジおよびCPUに待機させていた通知信号を送信するようにした。これにより、診断結果が不合格の場合には、ホット・プラグ管理ソフトウェアの組み込み処理が開始されていないので、ホット・プラグ管理ソフトウェアによる隔離手続きを行わずに拡張カードの隔離を行うことが可能になった。   As described above, according to the present invention, when an expansion card is inserted into a computer system, the hot plug controller (hot plug control unit) is connected to the diagnostic bus without being connected to the host bridge. Control. Further, when an expansion card is inserted, the slot insertion detection unit detects the expansion card and transmits a notification signal to the hot plug controller. The hot plug controller also waits without transmitting the received notification signal to the host bridge and the CPU. Then, only when the diagnostic result of the expansion card in the diagnostic unit is acceptable, the notification signal that has been waiting for the host bridge and the CPU is transmitted. As a result, if the diagnosis result is unsuccessful, the hot plug management software installation process has not started, so it is possible to isolate the expansion card without performing the isolation procedure using the hot plug management software. became.

また、本実施形態では、スロット1が1つの場合について説明したが、複数のスロットを備える場合にも同様の効果が得られる。複数のスロットを備える場合は、例えば、スロット毎に受信制御部3と送信制御部4を備える構成により実現できる。また、複数のスロットを備え、複数のスロットに同時に拡張カードが挿入された場合は、例えば接続診断部5とホスト・ブリッジ6およびホット・プラグ制御部2は、時分割処理により複数の拡張カードの診断と組み込みもしくは解除を行うようにしても良い。   Further, in the present embodiment, the case where there is one slot 1 has been described, but the same effect can be obtained when a plurality of slots are provided. In the case where a plurality of slots are provided, for example, it can be realized by a configuration including the reception control unit 3 and the transmission control unit 4 for each slot. When a plurality of slots are provided and expansion cards are inserted into the plurality of slots at the same time, for example, the connection diagnosis unit 5, the host bridge 6, and the hot plug control unit 2 are connected to the plurality of expansion cards by time division processing. Diagnosis and incorporation or cancellation may be performed.

さらにまた、本実施形態では、接続診断部の診断結果が不合格の場合にLED等による表示部8に表示する例について説明したが、例えば二色LEDを用いて、合格と不合格の場合に異なる色に切り替えて表示するようにしても良い。   Furthermore, in this embodiment, although the example displayed on the display part 8 by LED etc. when the diagnostic result of the connection diagnostic part is unsuccessful was demonstrated, for example, in the case of a pass and a failure using a two-color LED. The display may be switched to a different color.

さらにまた、本実施形態では、接続診断部の診断結果が不合格の場合にLED等による表示部8に表示する例について説明したが、例えばブザーによりエラーを知らせるようにしても良い。   Furthermore, in the present embodiment, an example of displaying on the display unit 8 using an LED or the like when the diagnosis result of the connection diagnosis unit fails is described, but an error may be notified by, for example, a buzzer.

さらにまた、本実施形態では、拡張機器として拡張カードについて説明したが、拡張ボードの場合であっても同様の効果が得られる。   Furthermore, in this embodiment, an expansion card has been described as an expansion device, but the same effect can be obtained even in the case of an expansion board.

なお、実施形態の図1の機能の全て、もしくは一部を、コンピュータシステムの図示しないCPUに接続されたROM、HDDもしくはUSB(Universal Serial Bus) I/Fを介して接続されるUSBメモリー等に保存されているプログラムにより実行することも可能である。   Note that all or part of the functions shown in FIG. 1 of the embodiment are applied to a ROM, HDD, or USB memory connected via a Universal Serial Bus (USB) I / F connected to a CPU (not shown) of the computer system. It can also be executed by a stored program.

1・・・スロット
2・・・ホット・プラグ制御部
3・・・受信制御部
4・・・送信制御部
5・・・接続診断部
6・・・ホスト・ブリッジ
7・・・CPU
8・・・表示部
9・・・挿入検出部
10・・・コンピュータシステム
20・・・拡張カード
DESCRIPTION OF SYMBOLS 1 ... Slot 2 ... Hot plug control part 3 ... Reception control part 4 ... Transmission control part 5 ... Connection diagnostic part 6 ... Host bridge 7 ... CPU
8 ... Display unit 9 ... Insertion detection unit 10 ... Computer system 20 ... Expansion card

Claims (4)

主制御装置が、スロットに挿入され第1のバスに接続された拡張機器を利用して動作するコンピュータシステムにおいて、
前記拡張機器の診断を行う診断部と、
前記拡張機器を前記第1のバスに接続する制御を行う接続制御部と、
を備え、
前記接続制御部は、
前記拡張機器が前記スロットに挿入されたことを通知する通知信号を受信した後、前記拡張機器を、前記診断部が接続されかつ前記主制御装置が接続されていない第2のバスに接続し、前記診断部に前記拡張機器の診断を行わせ、
前記診断部による診断の結果、前記拡張機器が正常の場合は、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を前記主制御装置へ送信し、前記通知信号への応答である前記主制御装置からのスロット電源投入信号に基づいて前記拡張機器に電源を供給して、前記拡張機器を前記第1のバスに接続し、
前記診断部による診断の結果、前記拡張機器が異常の場合は、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を前記主制御装置へ送信しないように制御する
ことを特徴とするコンピュータシステム。
In a computer system in which a main control device operates using an expansion device inserted into a slot and connected to a first bus,
A diagnostic unit for diagnosing the expansion device;
A connection control unit that performs control for connecting the extension device to the first bus;
With
The connection control unit
After receiving a notification signal notifying that the expansion device has been inserted into the slot, the expansion device is connected to a second bus to which the diagnostic unit is connected and the main control device is not connected, Let the diagnostic unit diagnose the expansion device;
If the expansion device is normal as a result of diagnosis by the diagnosis unit, a notification signal notifying that the expansion device has been inserted into the slot is transmitted to the main control device, and is a response to the notification signal. Supplying power to the extension device based on a slot power on signal from the main control device, connecting the extension device to the first bus,
As a result of the diagnosis by the diagnosis unit, when the expansion device is abnormal, control is performed so that a notification signal notifying that the expansion device has been inserted into the slot is not transmitted to the main control device. Computer system.
前記拡張機器が前記スロットに挿入されたことを通知する通知信号を受信した後、前記主制御装置への前記通知信号の送信を、前記診断部で前記拡張機器が正常と診断されるまで待機させる
ことを特徴とする請求項1に記載のコンピュータシステム。
After receiving the notification signal notifying that the expansion device has been inserted into the slot, the diagnosis unit waits until the expansion device is diagnosed as normal by transmitting the notification signal to the main control device The computer system according to claim 1.
前記拡張機器はPCIエクスプレス規格に準拠した機器である
ことを特徴とする請求項1または2のいずれか1項に記載のコンピュータシステム。
The computer system according to claim 1, wherein the extension device is a device that conforms to a PCI Express standard.
スロットに挿入される拡張機器の診断を行う診断部と前記拡張機器を第1のバスに接続する制御を行う接続制御部とを備え、主制御装置が前記拡張機器を前期第1のバスに接続して利用するコンピュータシステムの活線抜差方法において、
前記スロットが、前記拡張機器が前記スロットに挿入されたことを通知する通知信号を送信する通知信号送信工程と、
前記接続制御部が、前記通知信号の前記主制御装置への送信を、前記診断部で前記拡張機器が正常と診断されるまで待機させる通知信号待機工程と、
前記通知信号を受信した後、前記接続制御部が、前記拡張機器を、前記診断部が接続されかつ前記主制御装置が接続されていない第2のバスに接続する接続工程と、
前記第2のバスを介して前記診断部が前記拡張機器の診断を行う診断工程と、
前記診断工程での診断の結果、前記拡張機器が正常の場合は、前記接続制御部が、前記通知信号待機工程で待機させていた前記通知信号を前記主制御装置へ送信する通知信号待機解除工程と、
前記通知信号待機解除工程により前記主制御装置へ前記通知信号が送信された後、前記接続制御部が、前記通知信号への応答である前記主制御装置からのスロット電源投入信号に基づいて前記拡張機器に電源を供給する電源供給工程と、
前記診断工程での診断の結果、前記拡張機器が異常の場合は、前記接続制御部が、前記通知信号待機工程で待機させていた前記通知信号を前記主制御装置へ送信しないように制御する通知信号制御工程と、
を備えることを特徴とするコンピュータシステムの活線抜差方法。
A diagnostic unit for diagnosing an expansion device inserted in the slot; and a connection control unit for controlling the expansion device to be connected to the first bus, wherein the main control device connects the expansion device to the first bus in the previous period. In the hot swapping method of the computer system used as
A notification signal transmitting step for transmitting a notification signal for notifying that the slot is inserted into the slot;
A notification signal standby step in which the connection control unit waits for the transmission of the notification signal to the main control unit until the diagnostic device diagnoses that the expansion device is normal;
After receiving the notification signal, the connection control unit connects the extension device to a second bus to which the diagnosis unit is connected and the main control device is not connected;
A diagnostic step in which the diagnostic unit diagnoses the expansion device via the second bus;
If the extension device is normal as a result of the diagnosis in the diagnosis step, the connection control unit transmits the notification signal that has been waiting in the notification signal standby step to the main control device. When,
After the notification signal is transmitted to the main control device by the notification signal standby release step, the connection control unit performs the extension based on a slot power-on signal from the main control device that is a response to the notification signal. A power supply process for supplying power to the device;
If the extension device is abnormal as a result of the diagnosis in the diagnosis step, the connection control unit performs control so as not to transmit the notification signal that has been waiting in the notification signal standby step to the main control device A signal control process;
A hot swapping method for a computer system, comprising:
JP2009161700A 2009-07-08 2009-07-08 Computer system, and hot-line extraction and insertion method therefor Pending JP2011018162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009161700A JP2011018162A (en) 2009-07-08 2009-07-08 Computer system, and hot-line extraction and insertion method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009161700A JP2011018162A (en) 2009-07-08 2009-07-08 Computer system, and hot-line extraction and insertion method therefor

Publications (1)

Publication Number Publication Date
JP2011018162A true JP2011018162A (en) 2011-01-27

Family

ID=43595913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009161700A Pending JP2011018162A (en) 2009-07-08 2009-07-08 Computer system, and hot-line extraction and insertion method therefor

Country Status (1)

Country Link
JP (1) JP2011018162A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096709A (en) * 1995-06-23 1997-01-10 Canon Inc Method for controlling electronic device with extension slot, and its device and extension medium
JP2000305678A (en) * 1999-03-29 2000-11-02 Sun Microsyst Inc Method and device for adding or removing component without turning off power source of computer system
JP2003173269A (en) * 2001-12-05 2003-06-20 Hitachi Ltd Information processor
JP2003186697A (en) * 2001-12-19 2003-07-04 Nec Corp System and method for testing peripheral device
JP2004287673A (en) * 2003-03-20 2004-10-14 Fuji Xerox Co Ltd Failure diagnostic system, connection device used for information processor, and program
JP2007148978A (en) * 2005-11-30 2007-06-14 Toshiba Corp Test method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096709A (en) * 1995-06-23 1997-01-10 Canon Inc Method for controlling electronic device with extension slot, and its device and extension medium
JP2000305678A (en) * 1999-03-29 2000-11-02 Sun Microsyst Inc Method and device for adding or removing component without turning off power source of computer system
JP2003173269A (en) * 2001-12-05 2003-06-20 Hitachi Ltd Information processor
JP2003186697A (en) * 2001-12-19 2003-07-04 Nec Corp System and method for testing peripheral device
JP2004287673A (en) * 2003-03-20 2004-10-14 Fuji Xerox Co Ltd Failure diagnostic system, connection device used for information processor, and program
JP2007148978A (en) * 2005-11-30 2007-06-14 Toshiba Corp Test method and program

Similar Documents

Publication Publication Date Title
JP4558519B2 (en) Information processing apparatus and system bus control method
US9934187B2 (en) Hot-pluggable computing system
CN104050061B (en) A kind of Based PC Ie bus many master control board redundancies standby system
US8886996B2 (en) Debugging device and method for performing a debugging process to a target system
US20080046706A1 (en) Remote Monitor Module for Computer Initialization
CN110419035B (en) USB host-to-host automatic switching
JP2004152298A (en) Method and apparatus for enhancement of bus function
JP4750905B2 (en) Communication system, test apparatus, and test method
CN112422178A (en) Optical module monitoring method, electronic device and storage medium
CN1983204A (en) Device and method for correcting and repairing BIOS function by LPC interface
US20050262395A1 (en) Transmission device, control method thereof and communication system utilizing the same
JP2007334731A (en) Usb equipment, host device and usb connection system
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
JP2011018162A (en) Computer system, and hot-line extraction and insertion method therefor
JP2003186697A (en) System and method for testing peripheral device
JP2008009794A (en) Programmable electronic controller, and communication control method for programmable electronic apparatus
US7007109B2 (en) Method and apparatus for suspending communication with a hard disk drive in order to transfer data relating to the hard disk drive
KR19990079978A (en) PCI Hot Plug Device and Control Method Using I2C Bus
KR101512921B1 (en) Programmable logic controller
JP4915113B2 (en) Bus system, reset initialize circuit, and fault recovery method in bus system
TWI423638B (en) Communication system, test device, communication device, communication method, and test method
JP2006293734A (en) Contact information input apparatus and security terminal
CN218849054U (en) Display device and debugging system thereof
KR100451795B1 (en) Process apparatus hot swap of compact PCI
JP2009003613A (en) Bus fault detecting method and bus system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120605

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130910

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140121