TW201314576A - Method for accessing pre-boot information - Google Patents

Method for accessing pre-boot information Download PDF

Info

Publication number
TW201314576A
TW201314576A TW100134814A TW100134814A TW201314576A TW 201314576 A TW201314576 A TW 201314576A TW 100134814 A TW100134814 A TW 100134814A TW 100134814 A TW100134814 A TW 100134814A TW 201314576 A TW201314576 A TW 201314576A
Authority
TW
Taiwan
Prior art keywords
information
management controller
baseboard management
accessing
booting
Prior art date
Application number
TW100134814A
Other languages
Chinese (zh)
Inventor
Yung-Chieh Chou
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW100134814A priority Critical patent/TW201314576A/en
Publication of TW201314576A publication Critical patent/TW201314576A/en

Links

Abstract

A method for accessing a pre-boot information is provided. The method is adapted for a computer host system having a baseboard management controller (BMC). The method includes the following steps. First, the computer host system is start or reset. A serial over LAN (SOL) function is launched by the BMC. The pre-boot information and a timestamp of starting or resetting the computer host system are recorded by the BMC. Next, whether an operating system (OS) is runned on the computer host system is determined. If yes, the pre-boot information is not recorded and the SOL function is stopped by the BMC. A commend message is transmitted so as to capture the pre-boot information and the timestamp.

Description

開機資訊的存取方法Boot information access method

本發明是有關於一種開機資訊的存取方法,且特別是有關於一種運用智慧平台管理介面存取電腦主機系統的開機資訊之方法。The present invention relates to a method for accessing boot information, and more particularly to a method for accessing boot information of a computer host system using a smart platform management interface.

在電腦主機系統啟動後,作業系統(Operating System,OS)取得控制權之前,電腦主機系統會有一連串的機制負責檢測並初始化電腦主機系統及其周邊硬體裝置,在此稱之為開機(Pre-boot)階段。一旦顯示裝置初始化完成,顯示裝置便於螢幕上開始顯示各類的裝置和偵錯訊息。舉例而言,顯示裝置包括顯示基本輸入輸出系統(Basic Input Output System,BIOS)資訊、處理器資訊、記憶體資訊等等的初始化訊息,這些初始化訊息多以文字方式呈現,然而,這些初始化訊息多半一閃即逝。After the computer host system is started, before the operating system (OS) obtains control, the computer host system has a series of mechanisms for detecting and initializing the computer host system and its surrounding hardware devices, which is called booting (Pre -boot) stage. Once the display device is initialized, the display device facilitates the display of various types of devices and debug messages on the screen. For example, the display device includes an initialization message that displays Basic Input Output System (BIOS) information, processor information, memory information, etc., and these initialization messages are mostly presented in text form. However, most of these initialization messages It’s fleeting.

一般來說,當作業系統取得控制權開始管理整個電腦主機系統後,使用者便無法追溯開機階段所呈現的各種初始化訊息。然而,當發現電腦主機系統有異常行為或錯誤記錄出現,使用者想要利用在開機過程中的各類初始化訊息,尋找有無任何可供判斷發生異常的資訊,勢必得重新開機。若電腦主機系統作為伺服器,則重新開機除了得面對過程複雜且冗長的作業系統開關機程序,並且作為伺服器所提供的全部服務程序都得暫時停止。In general, when the operating system takes control and begins to manage the entire host computer system, the user cannot trace back the various initialization messages presented during the boot phase. However, when it is found that the host computer system has abnormal behavior or error records, the user wants to use various initialization messages during the boot process to find out whether there is any information for judging an abnormality, and it is necessary to restart the computer. If the host computer system is used as a server, the reboot is in addition to the complicated and lengthy operating system on/off program, and all the service programs provided as the server must be temporarily stopped.

有鑑於此,本發明提供一種開機資訊的存取方法,藉以讓使用者不須重新開機就能存取各種開機資訊。In view of this, the present invention provides a method for accessing boot information, so that the user can access various boot information without rebooting.

本發明提出一種開機資訊的存取方法,適用於具有基板管理控制器(Baseboard Management Controller,BMC)的電腦主機系統。開機資訊的存取方法包括下列步驟。首先,啟動或重置電腦主機系統。並藉由基板管理控制器開啟透過區域網路傳送序列埠命令(Serial over LAN,SOL)功能。再藉由基板管理控制器記錄開機資訊並且記錄開始啟動或重置電腦主機系統的起始時間戳記。接著,判斷電腦主機系統是否載入作業系統程序。若是,則停止記錄開機資訊並且藉由基板管理控制器關閉透過區域網路傳送序列埠命令功能。發送命令訊息以擷取開機資訊與起始時間戳記。The invention provides a method for accessing boot information, which is suitable for a computer host system having a Baseboard Management Controller (BMC). The method of accessing the boot information includes the following steps. First, start or reset the computer host system. And the base station management controller is used to enable the Serial over LAN (SOL) function through the area network. The boot management information is recorded by the baseboard management controller and the start time stamp of the start or reset of the host computer system is recorded. Next, it is determined whether the host system is loaded with the operating system program. If so, the recording of the boot information is stopped and the sequence management command is transmitted through the area network by the baseboard management controller. Send a command message to retrieve the boot message and the start timestamp.

在本發明之一實施例中,上述藉由基板管理控制器記錄開機資訊並且記錄開始啟動或重置電腦主機系統的起始時間戳記的步驟包括利用可延伸標示語言(Extensible Markup Language,XML)記錄開機資訊及起始時間戳記,並且利用可延伸標示語言的標籤功能對開機資訊及起始時間戳記進行分類。接著,將開機資訊及起始時間戳記儲存於基板管理控制器的儲存單元中。In an embodiment of the present invention, the step of recording the boot information by the baseboard management controller and recording the start time stamp of starting or resetting the host system includes recording with an Extensible Markup Language (XML). Boot information and start time stamp, and use the label function of the extendable markup language to classify the boot information and the start time stamp. Then, the boot information and the start time stamp are stored in the storage unit of the baseboard management controller.

在本發明之一實施例中,上述在藉由基板管理控制器開啟透過區域網路傳送序列埠命令功能的步驟之前,更包括藉由基本輸入輸出系統(Basic Input Output System,BIOS)發送第一通知訊息至基板管理控制器,其中第一通知訊息用以通知基板管理控制器開啟透過區域網路傳送序列埠命令功能。In an embodiment of the present invention, before the step of transmitting the serial port command function through the area network by the baseboard management controller, the first step is to send the first through a basic input output system (BIOS). The notification message is sent to the baseboard management controller, wherein the first notification message is used to notify the baseboard management controller to enable the transmission of the serial sequence command function through the area network.

在本發明之一實施例中,上述在藉由基板管理控制器關閉透過區域網路傳送序列埠命令功能之前,更包括藉由基本輸入輸出系統發送第二通知訊息至基板管理控制器,其中第二通知訊息用以通知基板管理控制器關閉透過區域網路傳送序列埠命令功能。In an embodiment of the present invention, before the transmitting the sequence command function through the area network by the baseboard management controller, the method further includes: sending, by the basic input/output system, the second notification message to the baseboard management controller, where The second notification message is used to notify the baseboard management controller to close the transmission sequence command function through the area network.

在本發明之一實施例中,上述第一通知訊息與第二通知訊息皆符合智慧平台管理介面(Intelligent Platform Management Interface,IPMI)規格所定義的訊息格式。In an embodiment of the present invention, the first notification message and the second notification message are both in accordance with a message format defined by an Intelligent Platform Management Interface (IPMI) specification.

在本發明之一實施例中,上述之命令訊息符合智慧平台管理介面規格所定義的客製化命令訊息格式。In an embodiment of the invention, the command message is in accordance with a customized command message format defined by the smart platform management interface specification.

在本發明之一實施例中,上述在擷取開機資訊與起始時間戳記的步驟之後更包括將開機資訊與起始時間戳記顯示於與電腦主機系統連結的螢幕上。In an embodiment of the present invention, after the step of capturing the boot information and the start time stamp, the method further includes displaying the boot information and the start time stamp on a screen connected to the computer host system.

在本發明之一實施例中,上述之開機資訊的存取方法更包括提供使用者透過瀏覽器以讀取開機資訊與起始時間戳記。In an embodiment of the present invention, the method for accessing the boot information further includes providing a user to read the boot information and the start time stamp through the browser.

在本發明之一實施例中,上述藉由基板管理控制器記錄開機資訊的步驟包括記錄基本輸入輸出系統資訊、處理器資訊、記憶體資訊、開機自我測試(Power On Self Test,POST)資訊其中之一或其組合,以作為開機資訊。In an embodiment of the invention, the step of recording the booting information by the baseboard management controller includes recording basic input/output system information, processor information, memory information, and Power On Self Test (POST) information. One or a combination thereof as a boot information.

基於上述,本發明所提供之開機資訊的存取方法,藉由將開機階段的文字訊息以可延伸標示語言儲存於基板管理控制器中,運用智慧平台管理介面所擁有的擴充性及基板管理控制器所提供的網路介面,方便使用者透過瀏覽器讀取各種開機資訊。Based on the above, the method for accessing the booting information provided by the present invention uses the extensibility and substrate management control of the smart platform management interface by storing the text message in the booting stage in the substrate management controller in an extendable markup language. The network interface provided by the user is convenient for the user to read various boot information through the browser.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

本發明之開機資訊的存取方法適用於具有基板管理控制器(Baseboard Management Controller,BMC)的電腦主機系統。其中,電腦主機系統例如是伺服器或個人電腦,但本發明並不以此為限。在一實施例中,電腦主機系統包括一或多個處理器、記憶體、以PCI為基礎之匯流排以及基本輸入輸出系統(Basic Input Output System,BIOS)資訊等等。The access method of the booting information of the present invention is applicable to a computer host system having a Baseboard Management Controller (BMC). The computer host system is, for example, a server or a personal computer, but the invention is not limited thereto. In one embodiment, the computer host system includes one or more processors, memory, a PCI-based bus, and Basic Input Output System (BIOS) information.

詳細而言,基板管理控制器係為智慧平台管理介面(Intelligent Platform Management Interface,IPMI)的核心。因此,基板管理控制器可利用符合智慧平台管理介面的匯流排與電腦主機系統進行連結,舉例而言,符合智慧平台管理介面的匯流排包括LPC(Low Pin Count)匯流排、平行地址/數據匯流排、系統管理匯流排(SMBus)、網路介面、序列埠(serial port)等。In detail, the baseboard management controller is the core of the Intelligent Platform Management Interface (IPMI). Therefore, the baseboard management controller can be connected to the computer host system by using a bus bar conforming to the smart platform management interface. For example, the bus bar conforming to the smart platform management interface includes an LPC (Low Pin Count) bus bar and a parallel address/data sink. Row, system management bus (SMBus), network interface, serial port, etc.

圖1是依照本發明之一實施例所繪示之基板管理控制器與電腦主機系統進行通訊的示意簡圖。請參照圖1,基板管理控制器110具有一網路介面控制器(Network Interface Controller,NIC)112而可將基板管理控制器110與區域網路連接埠(LAN Port)120連接,故基板管理控制器110可透過區域網路而與電腦主機系統160進行通訊。或者,基板管理控制器110亦可透過交換器130而與序列埠連接器(serial port connector)140連接,電腦主機系統160即可利用序列埠連接器140而將其序列埠上的輸出輸入訊息導入至基板管理控制器110。此外,本實施例之交換器130還與一基板序列控制器150連接。1 is a schematic diagram of communication between a substrate management controller and a computer host system according to an embodiment of the invention. Referring to FIG. 1 , the baseboard management controller 110 has a network interface controller (NIC) 112 and can connect the baseboard management controller 110 to the local area network port (LAN Port) 120. Therefore, the baseboard management control is performed. The device 110 can communicate with the host computer system 160 via a local area network. Alternatively, the baseboard management controller 110 can also be connected to the serial port connector 140 via the switch 130, and the host system 160 can use the serial port connector 140 to import the output input messages on the serial port. To the substrate management controller 110. In addition, the switch 130 of the present embodiment is also connected to a substrate sequence controller 150.

本發明即是利用上述基板管理控制器110與電腦主機系統160的雙向資訊分享功能,而可將電腦主機系統160在每次開機階段的各種初始化訊息儲存於基板管理控制器110的儲存單元114中,儲存單元114例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)。之後,使用者便可利用符合智慧平台管理介面規格所定義的命令訊息來擷取或讀取儲存於基板管理控制器110的儲存單元114中的初始化訊息。The present invention utilizes the two-way information sharing function of the substrate management controller 110 and the computer host system 160, and can store various initialization messages of the computer host system 160 in the booting stage of the baseboard management controller 110 in the storage unit 114 of the baseboard management controller 110. The storage unit 114 is, for example, any type of fixed or removable random access memory (RAM). Thereafter, the user can retrieve or read the initialization message stored in the storage unit 114 of the baseboard management controller 110 by using a command message defined by the smart platform management interface specification.

圖2是依照本發明之一實施例所繪示之開機資訊的存取方法的流程圖。本實施例的方法適用於圖1所示之硬體架構,以下即搭配圖1及圖2來對本發明進行說明。2 is a flow chart of a method for accessing boot information according to an embodiment of the invention. The method of this embodiment is applicable to the hardware architecture shown in FIG. 1, and the present invention will be described below with reference to FIG. 1 and FIG.

首先如步驟S210所示,啟動電腦主機系統160之電源或將電腦主機系統160進行冷開機/暖開機重置(reset)。此時,電腦主機系統160進入開機(Pre-boot)階段。在作業系統啟動之前,電腦主機系統160會執行許多跟硬體有關的初始化程序以及檢測程序,以利完成作業系統的執行環境。在這些初始化及檢測過程中,除了基本的系統BIOS,還包含了特定的周邊裝置如顯示裝置、儲存裝置的BIOS。一旦序列埠初始化完成時,則在步驟S220中,藉由基板管理控制器110開啟透過區域網路傳送序列埠命令(Serial over LAN,SOL)功能。First, as shown in step S210, the power of the computer host system 160 is started or the computer host system 160 is cold-booted/warm-up reset. At this time, the host computer system 160 enters a pre-boot phase. Prior to the start of the operating system, the host computer system 160 performs a number of hardware-related initialization procedures and testing procedures to facilitate the execution environment of the operating system. In addition to the basic system BIOS, these initialization and detection processes include specific peripheral devices such as display devices and BIOS of the storage device. Once the sequence 埠 initialization is completed, in step S220, the base station management controller 110 is enabled to transmit a Serial over LAN (SOL) function through the area network.

在步驟S230中,再藉由基板管理控制器110記錄在上述BIOS進行初始化及檢測過程中所產生的開機資訊,並且記錄開始啟動或重置電腦主機系統160的起始時間戳記(timestamp)。在本實施例中,係利用可延伸標示語言(eXtensible Markup Language,XML)來記錄開機資訊及起始時間戳記。可延伸標示語言為電腦所能理解的資訊符號,透過此種標記語言,電腦之間可以處理包含各種資訊的文章等。In step S230, the booting information generated during the initialization and detection process of the BIOS is recorded by the baseboard management controller 110, and the start timestamp of starting or resetting the computer host system 160 is recorded. In this embodiment, the boot information and the start time stamp are recorded by using an eXtensible Markup Language (XML). The extensible markup language is an information symbol that can be understood by a computer. Through this markup language, articles containing various information can be processed between computers.

圖3是依照本發明之一實施例所繪示之利用可延伸標示語言記錄開機資訊及起始時間戳記的一實施方式。請參照圖3,利用可延伸標示語言的標籤功能還對開機資訊及起始時間戳記進行分類,更利於之後使用者對開機資訊進行存取。可延伸標示語言300包括記錄了BIOS資訊310、處理器資訊320、記憶體資訊330、開機自我測試(Power On Self Test,POST)資訊340、其他資訊350以及時間戳記資訊360,其中各項資訊分別具有詳細的細節資訊。例如記憶體資訊330記錄了記憶體型別332、記憶體存取頻率334、以及記憶體容量336。接著,便將上述開機資訊及起始時間戳記儲存於基板管理控制器110的儲存單元114中。FIG. 3 illustrates an embodiment of recording boot information and a start time stamp in an extendable markup language according to an embodiment of the invention. Referring to FIG. 3, the labeling function of the extendable markup language further classifies the boot information and the start time stamp, which is more convenient for the user to access the boot information. The extendable markup language 300 includes recorded BIOS information 310, processor information 320, memory information 330, Power On Self Test (POST) information 340, other information 350, and time stamp information 360, wherein each information is separately With detailed details. For example, the memory information 330 records the memory type 332, the memory access frequency 334, and the memory capacity 336. Then, the boot information and the start time stamp are stored in the storage unit 114 of the baseboard management controller 110.

接下來如步驟S240所示,判斷電腦主機系統160是否載入作業系統程序。若否,則基板管理控制器110持續記錄各種開機資訊;若是,即電腦主機系統160進入作業系統的運作狀態,則接續步驟S250,基板管理控制器110停止記錄開機資訊並且關閉透過區域網路傳送序列埠命令功能。Next, as shown in step S240, it is determined whether the host system 160 is loaded with the operating system program. If not, the baseboard management controller 110 continuously records various booting information; if yes, that is, the computer host system 160 enters the operating state of the operating system, then in step S250, the baseboard management controller 110 stops recording the booting information and closes the transmission through the local area network. Sequence 埠 command function.

最後於步驟S260,對基板管理控制器110發送命令訊息以擷取儲存於基板管理控制器110的儲存單元114中的開機資訊與起始時間戳記。其中,命令訊息為符合智慧平台管理介面規格所定義的客製化命令(OEM Command)訊息格式。客製化命令訊息為一種智慧平台管理介面所具有的擴充功能,因此,只要讓電腦主機系統160的上層應用程式瞭解客製化命令訊息的定義,即可對基板管理控制器110發送擷取開機資訊與起始時間戳記的命令訊息。再者,本發明之開機資訊的存取方法還提供使用者透過瀏覽器以讀取開機資訊與起始時間戳記。這是因為基板管理控制器110的軔體通常包含網頁介面(Web interface),係為一種遵循Http協定的介面,因此使用者可以透過瀏覽器進行瀏覽。Finally, in step S260, the substrate management controller 110 sends a command message to retrieve the boot information and the start time stamp stored in the storage unit 114 of the baseboard management controller 110. The command message is a custom command (OEM Command) message format defined by the smart platform management interface specification. The customized command message is an extension function of the smart platform management interface. Therefore, if the upper application of the host computer system 160 knows the definition of the customized command message, the substrate management controller 110 can be sent to the boot controller. Information and start time stamp command messages. Furthermore, the method for accessing the boot information of the present invention further provides a user to read the boot information and the start time stamp through the browser. This is because the base of the baseboard management controller 110 usually includes a web interface, which is an interface conforming to the Http protocol, so that the user can browse through the browser.

據此,本發明之開機資訊的存取方法在電腦主機系統160進入作業系統的運作狀態中,可隨時提供使用者透過命令訊息擷取各種開機資訊,並且本發明還簡化了操作的複雜度,提供使用者可以透過瀏覽器的網頁介面瀏覽各種開機資訊,簡單的操作手法利於一般消費者的使用。Accordingly, the access method of the booting information of the present invention can provide the user with various booting information through the command message at any time when the computer host system 160 enters the operating state of the operating system, and the invention also simplifies the operation complexity. Users can browse various boot information through the web interface of the browser, and the simple operation method is beneficial to the general consumers.

以下再舉一實施例作為範例說明。圖4是依照本發明之另一實施例所繪示之開機資訊的存取方法的流程圖。本實施例之存取方法同樣適用於具有基板管理控制器的電腦主機系統,例如是圖1之基板管理控制器110與電腦主機系統160之硬體架構。An embodiment will be described below as an example. 4 is a flow chart of a method for accessing boot information according to another embodiment of the present invention. The access method of this embodiment is also applicable to a computer host system having a substrate management controller, such as the hardware architecture of the substrate management controller 110 and the computer host system 160 of FIG.

首先,啟動或重置電腦主機系統(步驟S410)。藉由BIOS發送第一通知訊息至基板管理控制器,其中第一通知訊息用以通知基板管理控制器開啟透過區域網路傳送序列埠命令功能(步驟S420)。詳細而言,當BIOS開始對電腦主機系統進行各種初始化程序以及檢測程序時,當電腦主機系統與基板管理控制器之間的序列埠完成初始化時,則BIOS即可透過系統匯流排發送第一通知訊息至基板管理控制器。第一通知訊息須符合智慧平台管理介面標準所定義的訊息格式,用以通知基板管理控制器開啟透過區域網路傳送序列埠命令功能。First, the computer host system is started or reset (step S410). The first notification message is sent by the BIOS to the baseboard management controller, wherein the first notification message is used to notify the baseboard management controller to enable the transmission of the sequence command function through the area network (step S420). In detail, when the BIOS starts various initialization procedures and detection procedures for the host system, when the sequence between the host system and the baseboard management controller is initialized, the BIOS can send the first notification through the system bus. Message to the baseboard management controller. The first notification message shall conform to the message format defined by the smart platform management interface standard to notify the baseboard management controller to enable the transmission of the sequence/command command function through the regional network.

基板管理控制器在接收到第一通知訊息後,便可開啟透過區域網路傳送序列埠命令之功能(步驟S430)。接著,基板管理控制器便持續紀錄開機資訊並且記錄開始啟動或重置電腦主機系統的起始時間戳記(步驟S440)。並且判斷電腦主機系統是否載入作業系統程序(步驟S450)。若否,則表示電腦主機系統尚未完成初始化程序以及檢測程序,故回到步驟S440,持續記錄各種開機資訊。若電腦主機系統確實已進入作業系統的運行狀態,則藉由BIOS發送第二通知訊息至基板管理控制器,其中第二通知訊息用以通知基板管理控制器關閉透過區域網路傳送序列埠命令功能(步驟S460)。第二通知訊息同樣須符合智慧平台管理介面標準所定義的訊息格式,用以通知基板管理控制器關閉透過區域網路傳送序列埠命令之功能。After receiving the first notification message, the baseboard management controller can start the function of transmitting the sequence command through the area network (step S430). Next, the baseboard management controller continuously records the boot information and records the start time stamp of starting or resetting the host computer system (step S440). And determining whether the computer host system loads the operating system program (step S450). If not, it means that the computer host system has not completed the initialization procedure and the detection procedure, so the process returns to step S440 to continuously record various booting information. If the host computer system has actually entered the operating state of the operating system, the second notification message is sent to the baseboard management controller by the BIOS, wherein the second notification message is used to notify the baseboard management controller to close the transmission sequence command function through the local area network. (Step S460). The second notification message also conforms to the message format defined by the smart platform management interface standard, and is used to notify the baseboard management controller to disable the function of transmitting the sequence command through the local area network.

基板管理控制器在接收到第二通知訊息後,便可停止記錄開機資訊並且關閉透過區域網路傳送序列埠命令功能(步驟S470)。最後,發送命令訊息以擷取開機資訊與起始時間戳記(步驟S480)。若電腦主機系統包括一顯示裝置,例如是液晶顯示器(Liquid Crystal Display,LCD),則可將擷取到的開機資訊與起始時間戳記等各種初始化與檢測訊息顯示於液晶顯示器上,方便使用者透過瀏覽器進行瀏覽。After receiving the second notification message, the baseboard management controller can stop recording the booting information and turn off the transmission of the serial port transmission command function (step S470). Finally, a command message is sent to retrieve the boot information and the start time stamp (step S480). If the computer host system includes a display device, such as a liquid crystal display (LCD), various initialization and detection messages such as the boot information and the start time stamp can be displayed on the liquid crystal display, which is convenient for the user. Browse through the browser.

本實施例與前一實施例不同的地方在於,當電腦主機系統與基板管理控制器之間進行通訊的序列埠完成初始化時,由於BIOS會比基板管理控制器先得知此資訊,因此BIOS透過系統匯流排發送開始記錄開機資訊的通知訊息至基板管理控制器,得以讓基板管理控制器迅速開始記錄開機資訊,而不會有所遺漏。同理,當電腦主機系統完成各種BIOS的初始化及檢測程序時,因BIOS會先判斷電腦主機系統是否進入正常的作業系統運作狀態,故,亦由BIOS發出通知訊息給基板管理控制器,進而讓基板管理控制器即時停止記錄開機資訊。至於本實施例的其他細部流程已包含在上述實施例中,故在此不予贅述。The difference between this embodiment and the previous embodiment is that when the serial sequence of communication between the host computer system and the baseboard management controller is completed, the BIOS will know the information earlier than the baseboard management controller, so the BIOS transmits The system bus sends a notification message to start recording the boot information to the baseboard management controller, so that the baseboard management controller can quickly start recording the boot information without any omission. Similarly, when the computer host system completes various BIOS initialization and detection procedures, the BIOS will first determine whether the computer host system enters the normal operating system operation state. Therefore, the BIOS also sends a notification message to the baseboard management controller, thereby allowing The baseboard management controller immediately stops recording the boot information. Other detailed procedures of the present embodiment are included in the above embodiments, and thus will not be described herein.

綜上所述,本發明之開機資訊的存取方法,藉由將開機階段的文字訊息以可延伸標示語言儲存於基板管理控制器中,在電腦主機系統進入作業系統的運作狀態後,運用智慧平台管理介面所擁有的擴充性而可隨時提供使用者透過客製化命令訊息擷取各種開機資訊。並且利用基板管理控制器所提供的網路介面,方便使用者透過瀏覽器讀取各種開機資訊,簡單的操作手法利於一般消費者的使用。In summary, the method for accessing the booting information of the present invention stores the text message in the booting stage in the substrate management controller in an extendable markup language, and uses the wisdom after the computer host system enters the operating state of the operating system. The scalability of the platform management interface allows users to retrieve various boot messages through customized command messages. And the network interface provided by the baseboard management controller is convenient for the user to read various booting information through the browser, and the simple operation method is beneficial to the general consumer.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

110...基板管理控制器110. . . Baseboard management controller

112...網路介面控制器112. . . Network interface controller

114...儲存單元114. . . Storage unit

120...區域網路連接埠120. . . Regional network connection埠

130...交換器130. . . Exchanger

140...序列埠連接器140. . . Serial port connector

150...基板序列控制器150. . . Substrate sequence controller

160...電腦主機系統160. . . Computer host system

300...可延伸標示語言300. . . Extensible markup language

310~350...資訊310~350. . . News

S210~S260...開機資訊的存取方法之各步驟S210~S260. . . Steps for accessing the boot information

S410~S480...開機資訊的存取方法之各步驟S410~S480. . . Steps for accessing the boot information

圖1是依照本發明之一實施例所繪示之基板管理控制器與電腦主機系統進行通訊的示意簡圖。1 is a schematic diagram of communication between a substrate management controller and a computer host system according to an embodiment of the invention.

圖2是依照本發明之一實施例所繪示之開機資訊的存取方法的流程圖。2 is a flow chart of a method for accessing boot information according to an embodiment of the invention.

圖3是依照本發明之一實施例所繪示之利用可延伸標示語言記錄開機資訊及起始時間戳記的一實施方式。FIG. 3 illustrates an embodiment of recording boot information and a start time stamp in an extendable markup language according to an embodiment of the invention.

圖4是依照本發明之另一實施例所繪示之開機資訊的存取方法的流程圖。4 is a flow chart of a method for accessing boot information according to another embodiment of the present invention.

S210~S260...開機資訊的存取方法之各步驟S210~S260. . . Steps for accessing the boot information

Claims (9)

一種開機資訊的存取方法,適用於具有一基板管理控制器(Baseboard Management Controller,BMC)的一電腦主機系統,該開機資訊的存取方法包括:啟動或重置該電腦主機系統;藉由該基板管理控制器開啟一透過區域網路傳送序列埠命令(Serial over LAN,SOL)功能;藉由該基板管理控制器記錄該開機資訊並且記錄開始啟動或重置該電腦主機系統的一起始時間戳記;判斷該電腦主機系統是否載入作業系統程序;若是,停止記錄該開機資訊並且藉由該基板管理控制器關閉該透過區域網路傳送序列埠命令功能;以及發送一命令訊息以擷取該開機資訊與該起始時間戳記。The method for accessing the booting information is applicable to a computer host system having a baseboard management controller (BMC), and the method for accessing the booting information includes: starting or resetting the host computer system; The baseboard management controller activates a Serial over LAN (SOL) function; the base management controller records the boot information and records a start time stamp of starting or resetting the host system of the computer Determining whether the computer host system is loaded with the operating system program; if so, stopping recording the booting information and turning off the transmission of the serial network transmission sequence command function by the baseboard management controller; and sending a command message to retrieve the booting Information and the starting timestamp. 如申請專利範圍第1項所述之開機資訊的存取方法,其中藉由該基板管理控制器記錄該開機資訊並且記錄開始啟動或重置該電腦主機系統的該起始時間戳記的步驟包括:利用一可延伸標示語言(Extensible Markup Language,XML)記錄該開機資訊及該起始時間戳記,並且利用該可延伸標示語言的標籤功能對該開機資訊及該起始時間戳記進行分類;以及將該開機資訊及該起始時間戳記儲存於該基板管理控制器的一儲存單元中。The method for accessing booting information as described in claim 1, wherein the step of recording the booting information by the baseboard management controller and recording the start time stamp of starting or resetting the computer host system comprises: Recording the boot information and the start time stamp by using an Extensible Markup Language (XML), and classifying the boot information and the start time stamp by using a label function of the extendable markup language; The boot information and the start time stamp are stored in a storage unit of the baseboard management controller. 如申請專利範圍第1項所述之開機資訊的存取方法,其中在藉由該基板管理控制器開啟該透過區域網路傳送序列埠命令功能的步驟之前,更包括:藉由一基本輸入輸出系統(Basic Input Output System,BIOS)發送一第一通知訊息至該基板管理控制器,其中該第一通知訊息用以通知該基板管理控制器開啟該透過區域網路傳送序列埠命令功能。The method for accessing the booting information as described in claim 1, wherein before the step of transmitting the serial port transmission sequence command function by the baseboard management controller, the method further comprises: using a basic input and output The system (Basic Input Output System, BIOS) sends a first notification message to the baseboard management controller, wherein the first notification message is used to notify the baseboard management controller to enable the transparent area network transmission sequence command function. 如申請專利範圍第3項所述之開機資訊的存取方法,其中在藉由該基板管理控制器關閉該透過區域網路傳送序列埠命令功能之前,更包括:藉由該基本輸入輸出系統發送一第二通知訊息至該基板管理控制器,其中該第二通知訊息用以通知該基板管理控制器關閉該透過區域網路傳送序列埠命令功能。The method for accessing the booting information as described in claim 3, wherein before the transmitting the network transmission sequence command function by the baseboard management controller, the method further comprises: sending, by the basic input/output system A second notification message is sent to the baseboard management controller, wherein the second notification message is used to notify the baseboard management controller to close the transparent area network transmission sequence command function. 如申請專利範圍第4項所述之開機資訊的存取方法,其中該第一通知訊息與該第二通知訊息符合一智慧平台管理介面(Intelligent Platform Management Interface,IPMI)規格所定義的訊息格式。The access method of the booting information described in claim 4, wherein the first notification message and the second notification message conform to a message format defined by an Intelligent Platform Management Interface (IPMI) specification. 如申請專利範圍第1項所述之開機資訊的存取方法,其中該命令訊息符合一智慧平台管理介面規格所定義的客製化命令訊息格式。The method for accessing boot information as described in claim 1 wherein the command message conforms to a customized command message format defined by a smart platform management interface specification. 如申請專利範圍第1項所述之開機資訊的存取方法,其中在擷取該開機資訊與該起始時間戳記的步驟之後更包括:將該開機資訊與該起始時間戳記顯示於與該電腦主機系統連結的一螢幕上。The method for accessing the booting information as described in claim 1, wherein after the step of extracting the booting information and the starting time stamp, the method further comprises: displaying the booting information and the starting time stamp in the The computer host system is connected to a screen. 如申請專利範圍第1項所述之開機資訊的存取方法,更包括:提供使用者透過一瀏覽器以讀取該開機資訊與該起始時間戳記。The method for accessing the booting information as described in claim 1 further includes: providing a user to read the booting information and the starting time stamp through a browser. 如申請專利範圍第1項所述之開機資訊的存取方法,其中藉由該基板管理控制器記錄該開機資訊的步驟包括:記錄一基本輸入輸出系統資訊、一處理器資訊、一記憶體資訊、一開機自我測試(Power On Self Test,POST)資訊其中之一或其組合,以作為該開機資訊。The method for accessing the booting information as described in claim 1, wherein the step of recording the booting information by the baseboard management controller comprises: recording a basic input/output system information, a processor information, and a memory information. One of the Power On Self Test (POST) information or a combination thereof is used as the boot information.
TW100134814A 2011-09-27 2011-09-27 Method for accessing pre-boot information TW201314576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100134814A TW201314576A (en) 2011-09-27 2011-09-27 Method for accessing pre-boot information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100134814A TW201314576A (en) 2011-09-27 2011-09-27 Method for accessing pre-boot information

Publications (1)

Publication Number Publication Date
TW201314576A true TW201314576A (en) 2013-04-01

Family

ID=48802542

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100134814A TW201314576A (en) 2011-09-27 2011-09-27 Method for accessing pre-boot information

Country Status (1)

Country Link
TW (1) TW201314576A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI663509B (en) * 2017-11-16 2019-06-21 神雲科技股份有限公司 System information managing method
TWI761668B (en) * 2019-03-22 2022-04-21 緯創資通股份有限公司 Computer system with self-test and debugging method thereof
TWI809773B (en) * 2021-11-24 2023-07-21 廣達電腦股份有限公司 Baseboard management controller system and message-logging method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI663509B (en) * 2017-11-16 2019-06-21 神雲科技股份有限公司 System information managing method
US10691465B2 (en) 2017-11-16 2020-06-23 Mitac Computing Technology Corporation Method for synchronization of system management data
TWI761668B (en) * 2019-03-22 2022-04-21 緯創資通股份有限公司 Computer system with self-test and debugging method thereof
US11416361B2 (en) 2019-03-22 2022-08-16 Wistron Corporation Computer system and debugging method thereof
TWI809773B (en) * 2021-11-24 2023-07-21 廣達電腦股份有限公司 Baseboard management controller system and message-logging method thereof
US11775372B2 (en) 2021-11-24 2023-10-03 Quanta Computer Inc. Logging messages in a baseboard management controller using a co-processor

Similar Documents

Publication Publication Date Title
US10846160B2 (en) System and method for remote system recovery
US20150106660A1 (en) Controller access to host memory
US10698788B2 (en) Method for monitoring server, and monitoring device and monitoring system using the same
TWI450103B (en) Remote management systems and methods for servers, and computer program products thereof
US7370238B2 (en) System, method and software for isolating dual-channel memory during diagnostics
US8538720B2 (en) Cold boot test system and method for electronic devices
TWI632462B (en) Switching device and method for detecting i2c bus
US10789141B2 (en) Information processing device and information processing method
US10606677B2 (en) Method of retrieving debugging data in UEFI and computer system thereof
US10261880B1 (en) Error generation using a computer add-in card
US10430267B2 (en) Determine when an error log was created
WO2014013499A1 (en) System and method for operating system agnostic hardware validation
US20110087452A1 (en) Test device
US20080270827A1 (en) Recovering diagnostic data after out-of-band data capture failure
WO2016197737A1 (en) Self-check processing method, apparatus and system
US8826078B2 (en) Computer system and diagnostic method thereof
CN112130911A (en) Data interaction method, device and system, electronic equipment and storage medium
TW201715396A (en) Server and error detecting method thereof
TW201314576A (en) Method for accessing pre-boot information
TWI501090B (en) Server system and node detection method
JP5788611B2 (en) Method and apparatus for saving state prior to reset for evaluation after reset
US10762029B2 (en) Electronic apparatus and detection method using the same
CN103049342A (en) Method of accessing starting information
US7356683B2 (en) System and method for monitoring BIOS messages of remote computers by a local server
CN115599617B (en) Bus detection method and device, server and electronic equipment