[go: up one dir, main page]

TWI582699B - Boot Status Notification Method and Server System Using the Same - Google Patents

Boot Status Notification Method and Server System Using the Same Download PDF

Info

Publication number
TWI582699B
TWI582699B TW105108388A TW105108388A TWI582699B TW I582699 B TWI582699 B TW I582699B TW 105108388 A TW105108388 A TW 105108388A TW 105108388 A TW105108388 A TW 105108388A TW I582699 B TWI582699 B TW I582699B
Authority
TW
Taiwan
Prior art keywords
output
basic input
output unit
output pin
detection
Prior art date
Application number
TW105108388A
Other languages
Chinese (zh)
Other versions
TW201734779A (en
Inventor
黃翔瑞
Original Assignee
神雲科技股份有限公司
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 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW105108388A priority Critical patent/TWI582699B/en
Application granted granted Critical
Publication of TWI582699B publication Critical patent/TWI582699B/en
Publication of TW201734779A publication Critical patent/TW201734779A/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

通知開機階段的方法及伺服器系統 Method of notifying the boot phase and server system

本發明是有關於一種適用於伺服器開機過程時執行的方法及系統,特別是指一種通知開機階段的方法及可通知開機階段的伺服器系統。 The invention relates to a method and a system for executing when a server is booted, in particular to a method for notifying a booting phase and a server system capable of notifying a booting phase.

伺服器(server)從上電到運行期間,會經歷基本輸入輸出單元(BIOS)執行一自我開機檢測(power-on self test,POST)的階段,以初始化伺服器內各項硬體元件,為作業系統提供基本的運作環境。 The server (server) goes through the stage of performing a power-on self test (POST) from the power-on to the running of the server to initialize various hardware components in the server. The operating system provides a basic operating environment.

一般而言,伺服器中的基本輸入輸出單元執行自我開機檢測程式以檢查各項硬體元件,並發送自我開機檢測訊息,例如檢測代碼(POST code),基板管理控制器(BMC)會收集來自基本輸入輸出單元所發送的自我開機檢測訊息,而得知該自我開機檢測是否成功執行,然而,當基板管理控制器(BMC)例如執行開機或重置(reset)時,將無法接收自我開機檢測訊息,而無法 得知基本輸入輸出單元的該自我開機檢測階段,進而可能造成例如基板管理控制器誤判斷為開機失敗,而將伺服器重新啟動的情形發生。 In general, the basic I/O unit in the server performs a self-boot detection program to check various hardware components and send a self-boot detection message, such as a POST code, which is collected by the Baseboard Management Controller (BMC). The self-power-on detection message sent by the basic input/output unit, and it is known whether the self-power-on detection is successfully executed. However, when the baseboard management controller (BMC) performs power-on or reset, for example, it cannot receive self-power-on detection. Message, not Knowing the self-boot detection phase of the basic input/output unit may further cause, for example, the substrate management controller to erroneously determine that the power-on failed, and the server restarts.

因此,本發明之一目的,即在提供一種通知開機階段的方法。 Accordingly, it is an object of the present invention to provide a method of informing a boot phase.

於是,本發明通知開機階段的方法,由一伺服器系統執行,該伺服器系統包括一適用於執行一開機檢測的基本輸入輸出單元、一電連接該基本輸入輸出單元且包括複數輸出接腳的控制晶片組,及一適用於監看該伺服器系統的運作情形的基板管理控制器,該基板管理控制器電連接該控制晶片組的其中多個輸出接腳,且該多個輸出接腳的電位相關於指示其中多種開機檢測階段,該通知開機檢測階段的方法包含一步驟(A),及一步驟(B)。 Therefore, the method for notifying the booting phase of the present invention is performed by a server system, the server system including a basic input/output unit adapted to perform a power-on detection, an electrical connection to the basic input/output unit, and including a plurality of output pins. Controlling a chipset, and a substrate management controller adapted to monitor operation of the server system, the substrate management controller electrically connecting a plurality of output pins of the control chip set, and the plurality of output pins The potential is related to indicating a plurality of power-on detection phases, and the method of notifying the power-on detection phase includes a step (A) and a step (B).

該步驟(A)是該基本輸入輸出單元將該控制晶片組的多個輸出接腳的電位設定為一初始準位,其中,該多個輸出接腳的電位相關於指示多種開機檢測階段,且每一初始準位指示非處於所對應的開機檢測階段。 The step (A) is that the basic input/output unit sets the potentials of the plurality of output pins of the control chip set to an initial level, wherein the potentials of the plurality of output pins are related to indicating a plurality of power-on detection stages, and Each initial level indication is not in the corresponding power-on detection phase.

該步驟(B)是該基本輸入輸出單元將該控制晶片組的其中一個相關於開始檢測的輸出接腳的電位轉換為一工作準位,以 指示該開機檢測於一開始檢測階段,且該相關於開始檢測的輸出接腳的電位受該基板管理控制器監看。 The step (B) is that the basic input/output unit converts the potential of one of the control chip groups related to the output pin that is started to be detected into a working level, The power-on detection is indicated at a beginning detection phase, and the potential of the output pin associated with the start of detection is monitored by the baseboard management controller.

此外,本發明之另一目的,即在提供一種可通知開機階段的伺服器系統。 Furthermore, it is another object of the present invention to provide a server system that can notify the boot phase.

於是,本發明伺服器系統,包含一基本輸入輸出單元、一控制晶片組,及一基板管理控制器。 Thus, the server system of the present invention comprises a basic input/output unit, a control chip set, and a substrate management controller.

該基本輸入輸出單元適用於執行一開機檢測。 The basic input output unit is adapted to perform a power on detection.

該控制晶片組電連接該基本輸入輸出單元並包括複數輸出接腳,且其中多個輸出接腳的電位相關於指示多種開機檢測階段。 The control chip set is electrically coupled to the basic input and output unit and includes a plurality of output pins, and wherein the potentials of the plurality of output pins are related to indicating a plurality of power-on detection stages.

該基板管理控制器適用於監看該伺服器系統的運作情形,且電連接該控制晶片組的其中該多個輸出接腳。 The substrate management controller is adapted to monitor the operation of the server system and electrically connect the plurality of output pins of the control chip set.

其中,該基本輸入輸出單元將該控制晶片組的其中一個相關於開始檢測的輸出接腳的電位轉換為一工作準位,以指示該開機檢測於一開始檢測階段,且該相關於開始檢測的輸出接腳的電位受該基板管理控制器監看。 The basic input/output unit converts the potential of one of the control chip groups related to the output pin that is started to be detected into a working level to indicate that the power-on detection is in a start detection phase, and the correlation is started in the detection. The potential of the output pin is monitored by the substrate management controller.

再者,本發明之又一目的,即在提供另一種通知開機階段的方法。 Still another object of the present invention is to provide another method of notifying the boot phase.

於是,本發明通知開機階段的方法,由一伺服器系統執行,該伺服器系統包括一適用於執行一開機檢測的基本輸入輸出 單元、一電連接該基本輸入輸出單元且包括複數輸出接腳的控制晶片組,及一適用於監看該伺服器系統的運作情形的基板管理控制器,該基板管理控制器電連接該控制晶片組的其中多個輸出接腳,且該多個輸出接腳的電位相關於指示其中多種開機檢測階段,該通知開機檢測階段的方法包含一步驟(A)、一步驟(X)、一步驟(Y),及一步驟(Z)。 Thus, the method of the present invention for notifying the boot phase is performed by a server system including a basic input and output suitable for performing a boot detection a unit, a control chip set electrically connected to the basic input/output unit and including a plurality of output pins, and a substrate management controller adapted to monitor operation of the server system, the substrate management controller electrically connecting the control chip a plurality of output pins of the group, and the potentials of the plurality of output pins are related to indicating a plurality of power-on detection phases, and the method for notifying the power-on detection phase comprises a step (A), a step (X), and a step ( Y), and one step (Z).

該步驟(A)是該基本輸入輸出單元將該控制晶片組的多個輸出接腳的電位設定為一初始準位,其中,該多個輸出接腳的電位相關於指示多種開機檢測階段,且每一初始準位指示非處於所對應的開機檢測階段。 The step (A) is that the basic input/output unit sets the potentials of the plurality of output pins of the control chip set to an initial level, wherein the potentials of the plurality of output pins are related to indicating a plurality of power-on detection stages, and Each initial level indication is not in the corresponding power-on detection phase.

該步驟(X)是該基本輸入輸出單元接收一進入選單請求,該進入選單請求指示進入一使用者設定選單。 The step (X) is that the basic input/output unit receives an entry menu request, and the entry menu request indicates entering a user setting menu.

該步驟(Y)是該基本輸入輸出單元將該控制晶片組的其中一個相關於進入選單的輸出接腳的電位轉換為一工作準位,以指示該開機檢測於一進入選單階段,且該相關於進入選單的輸出接腳的電位受該基板管理控制器監看。 The step (Y) is that the basic input/output unit converts the potential of one of the control chip sets related to the output pin of the entry menu to a working level to indicate that the power-on detection is in an entry menu stage, and the correlation is The potential of the output pin entering the menu is monitored by the substrate management controller.

該步驟(Z)是該基本輸入輸出單元進入該使用者設定選單。 The step (Z) is that the basic input/output unit enters the user setting menu.

本發明之功效在於:藉由於該基本輸入輸出單元執行該開機檢測時,該基本輸入輸出單元設定該控制晶片組的其中一個 相關於開始檢測的輸出接腳的電位,而能通知該基板管理控制器,該開機檢測處於該開始檢測階段。而當該基本輸入輸出單元在執行該開機檢測的過程中,接收該進入選單請求時,也可以藉由設定該控制晶片組的其中一個相關於進入選單的輸出接腳的電位,而能通知該基板管理控制器,該開機檢測處於該進入選單階段。 The effect of the present invention is that the basic input/output unit sets one of the control chip sets when the power-on detection is performed by the basic input/output unit. The base management controller can be notified of the potential of the output pin that starts detecting, and the power-on detection is in the start detection phase. When the basic input/output unit receives the entry menu request during the execution of the power-on detection, it can also notify the potential by setting the potential of one of the control chip groups related to the output pin of the entry menu. The baseboard management controller is in the entry menu phase.

11‧‧‧基本輸入輸出單元 11‧‧‧Basic input and output unit

111‧‧‧輸出接腳功能表 111‧‧‧Output pin function table

12‧‧‧控制晶片組 12‧‧‧Control chipset

121‧‧‧輸出接腳 121‧‧‧Output pin

122‧‧‧輸出接腳 122‧‧‧Output pin

123‧‧‧輸出接腳 123‧‧‧Output pin

13‧‧‧基板管理控制器 13‧‧‧Base Management Controller

A~J‧‧‧步驟 A~J‧‧‧ steps

X~Z‧‧‧步驟 X~Z‧‧‧ steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明本發明伺服器系統的一實施例;圖2是一流程圖,說明本發明通知開機階段的方法的一第一實施例;及圖3是一流程圖,說明本發明通知開機階段的方法的一第二實施例。 The other features and advantages of the present invention will be apparent from the embodiments of the present invention. FIG. 1 is a block diagram illustrating an embodiment of the server system of the present invention. FIG. 2 is a flow chart illustrating A first embodiment of the method for notifying the booting phase of the present invention; and FIG. 3 is a flow chart illustrating a second embodiment of the method for notifying the booting phase of the present invention.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1,本發明伺服器系統的一實施例,包含一基本輸入輸出單元(Basic Input/Output System,BIOS)11、一控制晶片組12,及一基板管理控制器(Baseboard Management Controller,BMC)13。 Referring to FIG. 1, an embodiment of a server system of the present invention includes a Basic Input/Output System (BIOS) 11, a control chipset 12, and a Baseboard Management Controller (BMC). 13.

該控制晶片組12包括複數輸出接腳(圖中僅示出其三),每一輸出接腳是作為不同的功能,例如狀態檢測接腳、主機板識別碼(board ID)檢測接腳、SATA接腳等,而在本發明中,該控制晶片組的其中三個輸出接腳121、122、123的電位,分別相關於指示該基本輸入輸出單元11的三種開機階段,分別是一相關於指示開始檢測(Start of POST)階段的輸出接腳121、一相關於指示進入選單(Enter Setup Menu)階段的輸出接腳122,及一相關於指示結束檢測(POST complete)階段的輸出接腳123。該控制晶片組12例如為一平台控制中心(Platform Controller Hub),且每一輸出接腳例如為一通用輸入輸出接腳(General Purpose Input/Output pin,GPIO pin)。 The control chip set 12 includes a plurality of output pins (only three of which are shown in the figure), each of which functions as a different function, such as a state detection pin, a board ID (board ID) detection pin, and a SATA. a pin or the like, and in the present invention, the potentials of the three output pins 121, 122, 123 of the control chip group are respectively related to the three start-up phases indicating the basic input-output unit 11, respectively, which are related to the indication An output pin 121 of the Start of POST phase, an output pin 122 associated with the phase indicating the Enter Setup Menu, and an output pin 123 associated with the POST complete phase. The control chip set 12 is, for example, a platform controller hub, and each output pin is, for example, a general purpose input/output pin (GPIO pin).

該基本輸入輸出單元11適用於執行一開機檢測,如一自我開機檢測(power-on self test,POST),以測試或初始化伺服器系統內各項硬體元件,例如中央處理器、主記憶體、GPIO初始化、鍵盤、滑鼠、顯示卡等,偵測該些硬體元件是否存在以及是否正常工作、並進行例如暫存器填值等初始化的設定,而為作業系統提供基本的運作環境。該基本輸入輸出單元11電連接該控制晶片組12且儲存一輸出接腳功能表111,該輸出接腳功能表111記錄該控制晶片組12的所有輸出接腳(數目不以圖1所繪示者為限)的電位應設定於一初始準位(如邏輯1)及一工作準位(如邏輯0)的 其中一者,而能供該基本輸入輸出單元11於執行該開機檢測時進行設定。 The basic input/output unit 11 is adapted to perform a power-on detection, such as a power-on self test (POST), to test or initialize various hardware components in the server system, such as a central processing unit, a main memory, GPIO initialization, keyboard, mouse, display card, etc., detect the existence of these hardware components and whether they are working properly, and perform initialization settings such as register value, etc., to provide a basic operating environment for the operating system. The basic input/output unit 11 is electrically connected to the control chip set 12 and stores an output pin function table 111. The output pin function table 111 records all the output pins of the control chip set 12 (the number is not shown in FIG. 1). The potential of the limit should be set at an initial level (such as logic 1) and a working level (such as logic 0). One of them can be set by the basic input/output unit 11 when performing the power-on detection.

該基板管理控制器13適用於監看該伺服器系統的運作情形,例如溫度、風扇轉速、供電狀況、作業系統狀態…等等,且在本實施例中,該基板管理控制器13電連接該控制晶片組12的其中該三個輸出接腳121、122、123,而能讀取該三個輸出接腳121、122、123的電位,以得知該基本輸入輸出單元11處於哪一開機階段。 The baseboard management controller 13 is adapted to monitor the operation of the server system, such as temperature, fan speed, power supply status, operating system status, etc., and in the embodiment, the baseboard management controller 13 is electrically connected to the The three output pins 121, 122, and 123 of the chip set 12 are controlled to read the potentials of the three output pins 121, 122, and 123 to know which startup stage the basic input/output unit 11 is in. .

參閱圖2,本發明通知開機階段的方法的一第一實施例在如圖1所示的該伺服器系統中執行。且該方法包括以下步驟。 Referring to Figure 2, a first embodiment of the method of informing the boot phase of the present invention is performed in the server system as shown in Figure 1. And the method includes the following steps.

在步驟(S),該基本輸入輸出單元11接收一開機觸發。例如該基本輸入輸出單元11於該伺服器上電啟動(power on)、重置(reset)、冷啟動、暖啟動等時接收該開機觸發。 In step (S), the basic input output unit 11 receives a power-on trigger. For example, the basic input/output unit 11 receives the power-on trigger when the server is powered on, reset, cold start, warm start, or the like.

在步驟(A),該基本輸入輸出單元11將該控制晶片組12的該三個輸出接腳121、122、123的電位設定為該初始準位。其中,該三個輸出接腳121、122、123的電位相關於指示前述的開始檢測、進入選單及結束檢測三種開機檢測階段,且每一初始準位指示非處於所對應的開機檢測階段。 In step (A), the basic input-output unit 11 sets the potentials of the three output pins 121, 122, 123 of the control chip group 12 to the initial level. The potentials of the three output pins 121, 122, and 123 are related to the three start detection stages indicating the start detection, the entry menu, and the end detection, and each initial level indication is not in the corresponding startup detection stage.

在步驟(B),該基本輸入輸出單元11將該控制晶片組的其中一個相關於開始檢測的輸出接腳121的電位轉換為該工作準 位,以指示該開機檢測於一開始檢測階段,且該相關於開始檢測的輸出接腳121的電位受該基板管理控制器監看,而能藉以通知該基板管理控制器13。 In step (B), the basic input-output unit 11 converts one of the control chip groups to the potential of the output pin 121 that is started to be detected. a bit to indicate that the power-on detection is in a start detection phase, and the potential of the output pin 121 associated with the start of detection is monitored by the baseboard management controller, thereby being able to notify the baseboard management controller 13.

詳細地說,該基本輸入輸出單元11藉由填入該控制晶片組12的暫存器(圖未示出)的邏輯值,而改變該開始檢測的輸出接腳121的電位為該初始準位,例如邏輯1,此時尚未開始執行開機檢測。當進入該開始檢測階段時,該基本輸入輸出單元11改變填入該控制晶片組12的暫存器的邏輯值,而改變該輸出接腳121的電位為該工作準位,例如邏輯0。由於該三個輸出接腳121、122、123的電位分別會持續一段大於基板管理控制器13重置(reset)而重新啟動的時間,因此,當該基板管理控制器13重新啟動時,能在啟動完成之後讀取到該控制晶片組12的該開始檢測的輸出接腳121的電位,例如讀取到邏輯0時,該基板管理控制器13即得知該基本輸入輸出單元11處於該開始檢測階段。 In detail, the basic input-output unit 11 changes the potential of the output-detected output pin 121 to the initial level by filling in the logic value of the register (not shown) of the control chip group 12. For example, logic 1, the boot detection has not yet started. When entering the start detection phase, the basic input output unit 11 changes the logic value of the register filled in the control chip group 12, and changes the potential of the output pin 121 to the operating level, for example, logic 0. Since the potentials of the three output pins 121, 122, and 123 respectively continue for a period of time greater than the reset of the substrate management controller 13, the substrate management controller 13 can be restarted when the substrate management controller 13 is restarted. After the startup is completed, the potential of the output pin 121 of the start detection of the control chip group 12 is read. For example, when the logic 0 is read, the substrate management controller 13 knows that the basic input/output unit 11 is in the start detection. stage.

在步驟(C),該基本輸入輸出單元11讀取該輸出接腳功能表111,依序對於待設定的每一輸出接腳進行電位設定。 In step (C), the basic input/output unit 11 reads the output pin function table 111, and sequentially sets the potential for each output pin to be set.

在步驟(D),該基本輸入輸出單元11根據該輸出接腳功能表111,判斷該待設定的輸出接腳是否為該相關於開始檢測的輸出接腳121。若是,即進入步驟(E);若否,即進入步驟(F)。 In step (D), the basic input/output unit 11 determines, based on the output pin function table 111, whether the output pin to be set is the output pin 121 associated with the start of detection. If yes, proceed to step (E); if not, proceed to step (F).

在步驟(E),若步驟(D)判斷結果為是,該基本輸入輸出單元11不設定該相關於開始檢測的輸出接腳121的電位,並進入步驟(G)。如此,能避免該基本輸入輸出單元11對該相關於開始檢測的輸出接腳121作重複設定。 In the step (E), if the result of the determination in the step (D) is YES, the basic input/output unit 11 does not set the potential of the output pin 121 related to the start of detection, and proceeds to the step (G). In this way, the basic input/output unit 11 can be prevented from repeatedly setting the output pin 121 associated with the start of detection.

在步驟(F),若步驟(D)判斷結果為否,該基本輸入輸出單元11設定該待設定的輸出接腳的電位。亦即,根據該輸出接腳功能表111,而設定該輸出接腳於該初始準位與該工作準位的其中一者。例如設定輸出接腳為SATA接腳,則依據該控制晶片組與SATA硬碟之間的功能而決定其準位。 In the step (F), if the result of the determination in the step (D) is NO, the basic input/output unit 11 sets the potential of the output pin to be set. That is, according to the output pin function table 111, the output pin is set to one of the initial level and the working level. For example, if the output pin is a SATA pin, the level is determined according to the function between the control chip set and the SATA hard disk.

在步驟(G),該基本輸入輸出單元11根據該輸出接腳功能表111,判斷所有輸出接腳是否已完成設定,若判斷的結果為否,則返回步驟(C),以繼續其他待設定的輸出接腳的電位設定。若判斷的結果為是,進到步驟(I)。 In step (G), the basic input/output unit 11 determines whether all the output pins have been set according to the output pin function table 111, and if the result of the determination is no, returns to step (C) to continue other settings. The potential setting of the output pin. If the result of the determination is yes, proceed to step (I).

在步驟(I),該基本輸入輸出單元11繼續執行該開機檢測,進行相關於該伺服器系統的初始化,例如偵測及初始化中央處理器、記憶體、顯示卡、動態隨機存取記憶體(DRAM)、高速周邊元件互連(PCIe)介面、USB介面、SATA介面等。 In step (I), the basic input/output unit 11 continues to perform the power-on detection, and performs initialization related to the server system, such as detecting and initializing a central processing unit, a memory, a display card, and a dynamic random access memory ( DRAM), high-speed peripheral component interconnect (PCIe) interface, USB interface, SATA interface, etc.

在步驟(J),該基本輸入輸出單元11將該控制晶片組12的其中一個相關於結束檢測的輸出接腳123的電位轉換為該工 作準位,以指示該開機檢測於一完成檢測階段,而藉以通知該基板管理控制器13。 In step (J), the basic input-output unit 11 converts the potential of the output pin 123 associated with the end detection of one of the control chip sets 12 to the work. The level is determined to indicate that the power-on detection is in a completion detection phase, thereby notifying the baseboard management controller 13.

於此要再說明的是,一般而言,該基板管理控制器13早於該基本輸入輸出單元11完成開機程序,所以可以監看該基本輸入輸出單元11的開機狀況。但是,本發明特別是適用於當該基板管理控制器13自身例如因執行重置而重新啟動,但是該基本輸入輸出單元11並沒有重新啟動的情形,在這種情況下,習知技術的基板管理控制器13經常無從得知該基本輸入輸出單元11所在的開機階段,但是在本發明的該伺服器系統中,該基板管理控制器13藉由讀取該控制晶片組12的該開始檢測的輸出接腳121的電位為該工作準位時,該基板管理控制器13得知該基本輸入輸出單元11處於該開始檢測階段,立即啟動一看門狗計時器(watchdog timer)並開始倒數計時,當該基板管理控制器13讀取該控制晶片組12的該結束檢測的輸出接腳123的電位為該工作準位,該基板管理控制器13將該看門狗計時器停止計時,而能使該伺服器系統繼續進行開機程序。如此便能避免習知技術中,該基板管理控制器13因為沒有收到來自該基本輸入輸出單元11發送的命令,而未使該看門狗計時器停止計時,因而造成誤判為該伺服器系統發生開機錯誤,並導致該基板管理控制器13將該伺服器系統重置的情形。 It should be noted that, in general, the baseboard management controller 13 completes the booting process earlier than the basic input/output unit 11, so that the booting state of the basic input/output unit 11 can be monitored. However, the present invention is particularly applicable to a case where the substrate management controller 13 itself is restarted, for example, by performing a reset, but the basic input/output unit 11 is not restarted, in which case the substrate of the prior art is used. The management controller 13 often has no way of knowing the startup phase in which the basic input/output unit 11 is located, but in the server system of the present invention, the substrate management controller 13 reads the start detection of the control chip set 12 by reading When the potential of the output pin 121 is the working level, the baseboard management controller 13 knows that the basic input/output unit 11 is in the start detection phase, immediately starts a watchdog timer and starts the countdown. When the substrate management controller 13 reads the potential of the end detecting output pin 123 of the control chip group 12 to the operating level, the substrate management controller 13 stops the watchdog timer, thereby enabling The server system continues the boot process. Therefore, in the prior art, the baseboard management controller 13 does not receive the command sent from the basic input/output unit 11, but does not stop the watchdog timer, thereby causing a misjudgment to the server system. A boot error occurs and causes the baseboard management controller 13 to reset the server system.

參閱圖3,本發明通知開機階段的方法的一第二實施例,為該基本輸入輸出單元11接獲使用者的一進入選單請求時,須通知該基板管理控制器13的操作,其中該第二實施例與該第一實施例的差異在於:該步驟(D)變成一步驟(D’)、並且還包括一步驟(X)、一步驟(Y)及一步驟(Z)。以下從接續於步驟(B)的步驟(C)開始說明。 Referring to FIG. 3, a second embodiment of the method for notifying the booting phase of the present invention, when the basic input/output unit 11 receives an incoming menu request from the user, notifies the operation of the baseboard management controller 13, wherein the The difference between the second embodiment and the first embodiment is that the step (D) becomes a step (D'), and further includes a step (X), a step (Y), and a step (Z). The following description will be started from the step (C) following the step (B).

在步驟(C),該基本輸入輸出單元11讀取該輸出接腳功能表111,判斷各個待設定的輸出接腳的電位,並據以設定每一輸出接腳的電位。 In step (C), the basic input/output unit 11 reads the output pin function table 111, determines the potential of each output pin to be set, and sets the potential of each output pin accordingly.

在步驟(D’),該基本輸入輸出單元11根據該輸出接腳功能表111,判斷待設定的輸出接腳是否為該相關於進入選單的輸出接腳122。若是,即進入步驟(E)。若否,即進到步驟(F)。 In step (D'), the basic input/output unit 11 determines, based on the output pin function table 111, whether the output pin to be set is the output pin 122 associated with the entry menu. If yes, proceed to step (E). If no, go to step (F).

在步驟(E),若步驟(D’)判斷結果為是,該基本輸入輸出單元11不設定該輸出接腳的電位,並進入步驟(G)。 In the step (E), if the result of the step (D') is YES, the basic input/output unit 11 does not set the potential of the output pin, and proceeds to step (G).

在步驟(F),若步驟(D’)判斷結果為否,該基本輸入輸出單元11設定該待設定的輸出接腳的電位。亦即,根據該輸出接腳功能表111,而設定該輸出接腳於該初始準位或是該工作準位。 In the step (F), if the result of the step (D') is NO, the basic input/output unit 11 sets the potential of the output pin to be set. That is, according to the output pin function table 111, the output pin is set to the initial level or the working level.

在步驟(G),該基本輸入輸出單元11根據該輸出接腳功能表111,判斷所有輸出接腳是否已完成設定,若判斷的結果 為否,則返回步驟(C),以繼續其他待設定的輸出接腳的電位設定。若判斷的結果為是,進到步驟(X)。 In step (G), the basic input/output unit 11 determines whether all the output pins have been set according to the output pin function table 111, and if the result of the determination If no, return to step (C) to continue the potential setting of the other output pins to be set. If the result of the determination is yes, proceed to step (X).

在步驟(X),該基本輸入輸出單元11接收一進入選單請求,該進入選單請求為使用者按下快速鍵而指示進入一使用者設定選單(setup menu或setup utility menu)。 In step (X), the basic input/output unit 11 receives an entry menu request for the user to press a quick key to instruct to enter a setup menu or a setup utility menu.

在步驟(Y),該基本輸入輸出單元11將該控制晶片組12的該相關於進入選單的輸出接腳122的電位轉換為該工作準位,以指示該開機檢測於一進入選單階段,而藉以通知該基板管理控制器13。 In step (Y), the basic input-output unit 11 converts the potential of the control chip group 12 related to the output pin 122 of the entry menu to the working level to indicate that the power-on detection is in an entry menu stage, and The baseboard management controller 13 is thereby notified.

在步驟(Z),該基本輸入輸出單元11進入該使用者設定選單。 In step (Z), the basic input/output unit 11 enters the user setting menu.

從以上說明可知,本發明藉由於該基本輸入輸出單元11執行該開機檢測時,該基本輸入輸出單元11設定該控制晶片組12的該三個輸出接腳121、122、123的電位,而該基板管理控制器13監看輸出接腳的電位即可判斷目前該基本輸入輸出單元11的開機檢測是否處於該開始檢測階段、該進入選單階段,及該結束檢測階段的其中一者,由於該三個輸出接腳121、122、123的電位分別會持續一段大於基板管理控制器13重置而重新啟動的時間,即使該基板管理控制器13執行開機或重置而暫時無法監看時,也不會發生如現有技術漏失接收來自該基本輸入輸出單元11的開機自我檢 測訊息的狀況,而能讓該基板管理控制器13確實監控該伺服器系統的運作情形,故確實能達成本發明之目的。 As can be seen from the above description, when the basic input/output unit 11 performs the power-on detection, the basic input/output unit 11 sets the potentials of the three output pins 121, 122, and 123 of the control chip group 12. The substrate management controller 13 monitors the potential of the output pin to determine whether the current startup detection of the basic input/output unit 11 is in the start detection phase, the entry menu phase, and the end detection phase, because the three The potentials of the output pins 121, 122, and 123 respectively continue for a period of time greater than the reset of the substrate management controller 13 and restarted, even if the substrate management controller 13 performs booting or resetting and cannot temporarily monitor, It may happen that the power-off self-test from the basic input-output unit 11 is received as in the prior art. The condition of the message is measured, and the substrate management controller 13 can be surely monitored the operation of the server system, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

11‧‧‧基本輸入輸出單元 11‧‧‧Basic input and output unit

111‧‧‧輸出接腳功能表 111‧‧‧Output pin function table

12‧‧‧控制晶片組 12‧‧‧Control chipset

121‧‧‧輸出接腳 121‧‧‧Output pin

122‧‧‧輸出接腳 122‧‧‧Output pin

123‧‧‧輸出接腳 123‧‧‧Output pin

13‧‧‧基板管理控制器 13‧‧‧Base Management Controller

Claims (9)

一種通知開機階段的方法,由一伺服器系統執行,該伺服器系統包括一適用於執行一開機檢測的基本輸入輸出單元、一電連接該基本輸入輸出單元且包括複數輸出接腳的控制晶片組,及一適用於監看該伺服器系統的運作情形的基板管理控制器,該基板管理控制器電連接該控制晶片組的其中多個輸出接腳,該基本輸入輸出單元儲存一輸出接腳功能表,該輸出接腳功能表記錄該控制晶片組的每一輸出接腳的電位待設定於該初始準位及該工作準位的其中一者,該通知開機檢測階段的方法包含:(A)該基本輸入輸出單元將該控制晶片組的多個輸出接腳的電位設定為一初始準位,其中,該多個輸出接腳的電位各相關於指示多種開機檢測階段其中之一,且每一初始準位指示非處於所對應的開機檢測階段;(B)該基本輸入輸出單元將該控制晶片組的其中一個相關於開始檢測的輸出接腳的電位轉換為一工作準位,以指示該開機檢測於一開始檢測階段,且該相關於開始檢測的輸出接腳的電位受該基板管理控制器監看;(C)該基本輸入輸出單元根據該輸出接腳功能表,判斷各個待設定的輸出接腳的電位;(D)該基本輸入輸出單元根據該輸出接腳功能表,判斷待設定的輸出接腳是否為該相關於開始檢測的輸出接腳;及 (E)若步驟(D)判斷結果為是,該基本輸入輸出單元不設定該輸出接腳的電位。 A method for notifying a booting phase is performed by a server system including a basic input/output unit adapted to perform a boot detection, a control chip set electrically coupled to the basic input output unit and including a plurality of output pins And a substrate management controller adapted to monitor operation of the server system, the substrate management controller electrically connecting a plurality of output pins of the control chip set, the basic input output unit storing an output pin function The output pin function table records one of the potentials of each output pin of the control chip set to be set at the initial level and the working level, and the method for notifying the boot detection phase includes: (A) The basic input/output unit sets the potentials of the plurality of output pins of the control chip set to an initial level, wherein the potentials of the plurality of output pins are each related to indicating one of a plurality of power-on detection stages, and each The initial level indication is not in the corresponding power-on detection phase; (B) the basic input-output unit correlates one of the control chip groups with The potential of the detected output pin is converted to a working level to indicate that the power-on detection is in a beginning detection phase, and the potential of the output pin associated with the start of detection is monitored by the substrate management controller; (C) The basic input/output unit determines the potential of each output pin to be set according to the output pin function table; (D) the basic input/output unit determines, according to the output pin function table, whether the output pin to be set is the relevant The output pin at the beginning of the test; and (E) If the result of the determination in the step (D) is YES, the basic input/output unit does not set the potential of the output pin. 如請求項1所述通知開機階段的方法,還包含在該步驟(B)之後的步驟:(I)該基本輸入輸出單元於該開機檢測時執行相關於該伺服器系統的初始化;及(J)該基本輸入輸出單元將該控制晶片組的其中一個相關於結束檢測的輸出接腳的電位轉換為該工作準位,以指示該開機檢測於一完成檢測階段,且該相關於結束檢測的輸出接腳的電位受該基板管理控制器監看。 The method for notifying the booting phase as recited in claim 1 further includes the step following the step (B): (I) the basic input/output unit performs initialization related to the server system at the boot detection; and (J) The basic input/output unit converts the potential of one of the control chip groups associated with the end detecting output pin to the operating level to indicate that the power-on detection is in a completion detection phase, and the output related to the end detection is The potential of the pin is monitored by the substrate management controller. 如請求項1所述通知開機階段的方法,還包含:(F)若步驟(D)判斷結果為否,該基本輸入輸出單元設定該輸出接腳的電位為該初始準位與該工作準位其中之一;及(G)該基本輸入輸出單元根據該輸出接腳功能表,判斷所有輸出接腳是否已完成設定,若判斷的結果為否,則返回步驟(C)。 The method for notifying the booting phase as described in claim 1 further includes: (F) if the result of the step (D) is no, the basic input/output unit sets the potential of the output pin to the initial level and the working level. And (G) the basic input/output unit determines whether all the output pins have been set according to the output pin function table, and if the result of the determination is no, returns to step (C). 如請求項1所述通知開機階段的方法,還包含:(X)該基本輸入輸出單元接收一進入選單請求,該進入選單請求指示進入一使用者設定選單;(Y)該基本輸入輸出單元將該控制晶片組的其中一個相關於進入選單的輸出接腳的電位轉換為該工作準位,以指示該開機檢測於一進入選單階段,且該相關於進入選單的輸出接腳的電位受該基板管理控制器監看;及 (Z)該基本輸入輸出單元進入該使用者設定選單。 The method for notifying the booting phase as recited in claim 1, further comprising: (X) the basic input/output unit receiving an incoming menu request, the entering the menu request indicating entering a user setting menu; (Y) the basic inputting and outputting unit The potential of one of the control chipsets associated with the output pin of the entry menu is converted to the operational level to indicate that the power-on detection is in an entry menu phase, and the potential of the output pin associated with the entry menu is affected by the substrate Management controller monitoring; and (Z) The basic input/output unit enters the user setting menu. 一種可通知開機階段的伺服器系統,包含:一基本輸入輸出單元,適用於執行一開機檢測;一控制晶片組,電連接該基本輸入輸出單元並包括複數輸出接腳,且其中多個輸出接腳的電位相關於指示多種開機檢測階段;及一基板管理控制器,適用於監看該伺服器系統的運作情形,且電連接該控制晶片組的其中該多個輸出接腳;其中,該基本輸入輸出單元將該控制晶片組的多個輸出接腳的電位設定為一初始準位;其中,該基本輸入輸出單元將該控制晶片組的其中一個相關於開始檢測的輸出接腳的電位轉換為一工作準位,以指示該開機檢測於一開始檢測階段,且該相關於開始檢測的輸出接腳的電位受該基板管理控制器監看;該基本輸入輸出單元儲存一輸出接腳功能表,該輸出接腳功能表記錄該控制晶片組的每一輸出接腳的電位待設定於該初始準位及該工作準位的其中一者;該基本輸入輸出單元根據該輸出接腳功能表,判斷各個待設定的輸出接腳的電位;該基本輸入輸出單元根據該輸出接腳功能表,判斷待設定的輸出接腳是否為該相關於開始檢測的輸出接腳,若待設定的輸出接腳為該相關於開始檢測的輸出接腳,則該基本輸入輸出單元不設定該輸出接腳的電位。 A server system capable of notifying a booting phase, comprising: a basic input/output unit adapted to perform a boot detection; a control chip set electrically connected to the basic input output unit and including a plurality of output pins, wherein the plurality of outputs are connected The potential of the foot is related to indicating a plurality of boot detection stages; and a substrate management controller is adapted to monitor the operation of the server system and electrically connect the plurality of output pins of the control chip set; wherein, the basic The input/output unit sets the potential of the plurality of output pins of the control chip set to an initial level; wherein the basic input/output unit converts the potential of the control chip group to the output pin of the start detection to a working level to indicate that the power-on detection is in a beginning detection phase, and the potential of the output pin related to the start of detection is monitored by the baseboard management controller; the basic input-output unit stores an output pin function table, The output pin function table records that the potential of each output pin of the control chip set is to be set at the initial level and the work One of the levels; the basic input/output unit determines the potential of each output pin to be set according to the output pin function table; the basic input/output unit determines the output to be set according to the output pin function table Whether the pin is the output pin related to the start of detection, if the output pin to be set is the output pin related to the start of detection, the basic input/output unit does not set the potential of the output pin. 如請求項5所述的伺服器系統,其中,該基本輸入輸出單元於該開機檢測時執行相關於該伺服器系統的初始化,而且該基本輸入輸出單元將該控制晶片組的其中一個相關於結束檢測的輸出接腳的電位轉換為該工作準位,以指示該開機檢測於一完成檢測階段,且該相關於結束檢測的輸出接腳的電位受該基板管理控制器監看。 The server system of claim 5, wherein the basic input/output unit performs initialization related to the server system at the time of power-on detection, and the basic input-output unit correlates one of the control chip groups with the end The potential of the detected output pin is converted to the working level to indicate that the power-on detection is in a completion detection phase, and the potential of the output pin associated with the end detection is monitored by the substrate management controller. 如請求項5所述的伺服器系統,其中,該基本輸入輸出單元接收一進入選單請求,該進入選單請求指示進入一使用者設定選單,而且該基本輸入輸出單元將該控制晶片組的其中一個相關於進入選單的輸出接腳的電位轉換為該工作準位,以指示該開機檢測於一進入選單階段,且該相關於進入選單的輸出接腳的電位受該基板管理控制器監看。 The server system of claim 5, wherein the basic input output unit receives an entry menu request, the entry menu request indicates entry into a user setting menu, and the basic input output unit controls the one of the chip sets The potential associated with the output pin of the entry menu is converted to the operational level to indicate that the power-on detection is in an entry menu phase and the potential associated with the output pin of the entry menu is monitored by the baseboard management controller. 一種通知開機階段的方法,由一伺服器系統執行,該伺服器系統包括一適用於執行一開機檢測的基本輸入輸出單元、一電連接該基本輸入輸出單元且包括複數輸出接腳的控制晶片組,及一適用於監看該伺服器系統的運作情形的基板管理控制器,該基板管理控制器電連接該控制晶片組的其中多個輸出接腳,該基本輸入輸出單元儲存一輸出接腳功能表,該輸出接腳功能表記錄該控制晶片組的每一輸出接腳的電位待設定於該初始準位及該工作準位的其中一者,該通知開機檢測階段的方法包含:(A)該基本輸入輸出單元將該控制晶片組的多個輸出接腳的電位設定為一初始準位,其中,該多個輸出接腳 的電位各相關於指示多種開機檢測階段其中之一,且每一初始準位指示非處於所對應的開機檢測階段;(X)該基本輸入輸出單元接收一進入選單請求,該進入選單請求指示進入一使用者設定選單;(Y)該基本輸入輸出單元將該控制晶片組的其中一個相關於進入選單的輸出接腳的電位轉換為一工作準位,以指示該開機檢測於一進入選單階段,且該相關於進入選單的輸出接腳的電位受該基板管理控制器監看;(Z)該基本輸入輸出單元進入該使用者設定選單;(C)該基本輸入輸出單元根據該輸出接腳功能表,判斷各個待設定的輸出接腳的電位;(D’)該基本輸入輸出單元根據該輸出接腳功能表,判斷待設定的輸出接腳是否為該相關於進入選單的輸出接腳;及(E)若步驟(D’)判斷結果為是,該基本輸入輸出單元不設定該輸出接腳的電位。 A method for notifying a booting phase is performed by a server system including a basic input/output unit adapted to perform a boot detection, a control chip set electrically coupled to the basic input output unit and including a plurality of output pins And a substrate management controller adapted to monitor operation of the server system, the substrate management controller electrically connecting a plurality of output pins of the control chip set, the basic input output unit storing an output pin function The output pin function table records one of the potentials of each output pin of the control chip set to be set at the initial level and the working level, and the method for notifying the boot detection phase includes: (A) The basic input/output unit sets the potentials of the plurality of output pins of the control chip set to an initial level, wherein the plurality of output pins The potentials are each related to indicating one of a plurality of power-on detection phases, and each of the initial level indications is not in the corresponding power-on detection phase; (X) the basic input-output unit receives an entry menu request, the entry menu request indicates entry a user setting menu; (Y) the basic input/output unit converts the potential of one of the control chip sets related to the output pin of the entry menu to a working level to indicate that the power-on detection is in an entry menu stage, And the potential of the output pin related to the entry menu is monitored by the baseboard management controller; (Z) the basic input/output unit enters the user setting menu; (C) the basic input/output unit according to the output pin function The table determines the potential of each output pin to be set; (D') the basic input/output unit determines, according to the output pin function table, whether the output pin to be set is the output pin related to the entry menu; (E) If the result of the step (D') is YES, the basic input/output unit does not set the potential of the output pin. 如請求項8所述通知開機階段的方法,還包含:(F)若步驟(D’)判斷結果為否,該基本輸入輸出單元設定該輸出接腳的電位為該初始準位與該工作準位其中之一;(G)該基本輸入輸出單元根據該輸出接腳功能表,判斷所有輸出接腳是否已完成設定,若判斷的結果為否,則返回步驟(C)。 The method for notifying the booting phase as described in claim 8 further includes: (F) if the determining result of the step (D') is negative, the basic input/output unit sets the potential of the output pin to the initial level and the working standard. One of the bits; (G) the basic input/output unit determines whether all the output pins have been set according to the output pin function table, and if the result of the determination is no, returns to step (C).
TW105108388A 2016-03-18 2016-03-18 Boot Status Notification Method and Server System Using the Same TWI582699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105108388A TWI582699B (en) 2016-03-18 2016-03-18 Boot Status Notification Method and Server System Using the Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105108388A TWI582699B (en) 2016-03-18 2016-03-18 Boot Status Notification Method and Server System Using the Same

Publications (2)

Publication Number Publication Date
TWI582699B true TWI582699B (en) 2017-05-11
TW201734779A TW201734779A (en) 2017-10-01

Family

ID=59367306

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105108388A TWI582699B (en) 2016-03-18 2016-03-18 Boot Status Notification Method and Server System Using the Same

Country Status (1)

Country Link
TW (1) TWI582699B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI675293B (en) * 2018-11-02 2019-10-21 神雲科技股份有限公司 A host boot detection method and its system
CN111158984A (en) * 2019-12-29 2020-05-15 浪潮商用机器有限公司 Server hardware monitoring method, device, equipment and storage medium
TWI764648B (en) * 2021-03-25 2022-05-11 微星科技股份有限公司 Mainboard, external device of mainboard, and booting method of mainboard

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI675292B (en) * 2018-09-06 2019-10-21 神雲科技股份有限公司 Motherboard device and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI675293B (en) * 2018-11-02 2019-10-21 神雲科技股份有限公司 A host boot detection method and its system
CN111158984A (en) * 2019-12-29 2020-05-15 浪潮商用机器有限公司 Server hardware monitoring method, device, equipment and storage medium
CN111158984B (en) * 2019-12-29 2023-08-18 浪潮商用机器有限公司 A server hardware monitoring method, device, equipment and storage medium
TWI764648B (en) * 2021-03-25 2022-05-11 微星科技股份有限公司 Mainboard, external device of mainboard, and booting method of mainboard

Also Published As

Publication number Publication date
TW201734779A (en) 2017-10-01

Similar Documents

Publication Publication Date Title
TWI571736B (en) Method and system of automatic debug information collection
CN106648958B (en) Basic input output system reply management system, method and program product thereof
TWI470420B (en) Dubugging method and computer system using the smae
JP6199940B2 (en) Network basic input / output system management facility, method and non-transitory computer readable medium
CN110515802A (en) A monitoring method, system and related components for server startup failure
CN106557344A (en) Computer readable medium, server and method for automatically installing system software
TWI582699B (en) Boot Status Notification Method and Server System Using the Same
TWI598729B (en) Server and method for auto repairing a baseboard management controller
TW201610849A (en) Device, method, and non-transitory computer-readable medium for automatically configuring BIOS performance profiles of a computer system
CN119336682B (en) Method for performing hot removal operation, hot plug system, device, medium and product
TW201512831A (en) Computer booting system and method of a computer
TWI668567B (en) Server and method for restoring a baseboard management controller automatically
CN111722965A (en) Computer system and its debugging method
CN113703557A (en) Method for clearing CMOS information, electronic equipment and clearing chip
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
CN104572143A (en) Startup detection system and method for computer
CN107450894B (en) Method for informing startup phase and server system
TWI497279B (en) Debug device and debug method
TW200809489A (en) BIOS damage detection and repair method and the motherboard
JP6331505B2 (en) Startup control device, startup control method, and startup control program
TWI675293B (en) A host boot detection method and its system
CN103136064A (en) Boot Error Handling Method
TWI881780B (en) Method of a dual bios image processing mechanism
TWI715005B (en) Monitor method for demand of a bmc
TWI864775B (en) Hardware debugging method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees