The present disclosure claims the priority of the Chinese patent application filed on Aug. 25, 2021 before the China National Intellectual Property Administration with the application number of 202110978208.0 and the title of “METHOD, SYSTEM AND APPARATUS FOR MONITORING BIOS BOOTING PROCESS OF SERVER”, which is incorporated herein in its entirety by reference.
The present application relates to the field of BIOS booting of a server, and in particular, to a method, system and apparatus for monitoring a BIOS booting process of a server.
During the booting process of the Basic Input Output System (BIOS) in the server, the Platform Controller Hub (PCH) and the Baseboard Management Controller (BMC) of the server may exchange information, such as a BIOS booting process (namely, a phase of BIOS running).
At present, when the server has a problem during the BIOS booting process, resulting in a system booting failure, the user needs to obtain the log information representing the BIOS booting process from the BMC log so as to determine the current booting process of the BIOS, thereby facilitating the positioning of the server's problem during the BIOS booting process. However, in this way, the user cannot quickly determine the current booting process of the BIOS, which is unfavorable for quick positioning of the server's problem during the BIOS booting process.
Therefore, how to provide a solution for solving the above-mentioned technical problem is a problem to be currently solved by a person skilled in the art.
The object of the present application is directed to provide a method, system and apparatus for monitoring a BIOS booting process of a server. A user may directly and quickly determine the current booting process of a BIOS by means of displayed information, such that quick trouble locating of a server during a BIOS booting process is facilitated.
In order to solve the above-mentioned technical problem, the present application provides a method for monitoring a BIOS booting process of a server, which is applied to a processor, including:
In an embodiment of the present application, a connecting line between the PCH and the BMC includes a clock signal line, an eSPI_IO transmission line and a CS signal line;
In an embodiment of the present application, the data transmitted by the PCH to the BMC successively includes CMD information, HDR information and DATA information; the acquiring data from an IO transmission line between the PCH and the BMC and
In an embodiment of the present application, acquiring target information from the eSPI_IO transmission line includes:
In an embodiment of the present application, the CMD information is 8 bit valid data, and when the CMD information is 0100_0100, the CMD information corresponds to the write data mode; the HDR information is 16 bit valid data, and the address of the BIOS booting process code is 0080 h; the DATA information is 8 bit valid data.
In an embodiment of the present application, the data transmitted by the PCH to the BMC further includes CRC information;
In order to solve the above-mentioned technical problem, the present application also provides a system for monitoring a BIOS booting process of a server, including:
In an embodiment of the present application, a connecting line between the PCH and the BMC includes a clock signal line, an eSPI_IO transmission line and a CS signal line;
In order to solve the above-mentioned technical problem, the present application further provides an apparatus for monitoring a BIOS booting process of a server, including:
In an embodiment of the present application, the processor is a CPLD.
The present application provides a method for monitoring a BIOS booting process of a server, which is applied to a processor. The method includes: detecting whether a PCH in a server starts to transmit data to a BMC; in response to the PCH starting to transmit data to the BMC, acquiring data from an IO transmission line between the PCH and the BMC and parsing same, and determining whether the parsed data includes process data which represents a BIOS booting process of the server; and in response to the parsed data including the process data, displaying the process data. It can be seen that a user may directly and quickly determine the current booting process of a BIOS by means of displayed information, such that quick trouble locating of a server during a BIOS booting process is facilitated.
The present application also provides a monitoring system and apparatus for monitoring a BIOS booting process of a server, with the same beneficial effects as the above-mentioned monitoring method.
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the description below are only some embodiments of the present application. It will be apparent to those skilled in the art to obtain other drawings according to these drawings without involving any inventive effort.
The core of the present application is directed to provide a method, system and apparatus for monitoring a BIOS booting process of a server. A user may directly and quickly determine the current booting process of a BIOS by means of displayed information, such that quick trouble locating of a server during a BIOS booting process is facilitated.
In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person skilled in the art without involving any inventive effort are within the scope of protection of the present application.
With reference to
The method for monitoring a BIOS booting process of a server, which is applied to a processor, including:
Step S1, detecting whether a PCH in a server starts to transmit data to a BMC; in response to the PCH starting to transmit the data to the BMC, executing Step S2.
Step S2, acquiring data from an IO transmission line between the PCH and the BMC and parsing same, and determining whether the parsed data includes process data which represents a BIOS booting process of the server; in response to the parsed data including process data which represents a BIOS booting process of the server, executing Step S3.
Step S3, displaying the process data.
In some embodiments, considering that during the BIOS booting process in the server, the PCH of the server will transmit information such as a BIOS booting process to the BMC via an Input/Output (IO) transmission line connected to the BMC, and hence the present application detects whether the PCH in the server starts to transmit data to the BMC. When the PCH does not start to transmit data to the BMC, it continues to detect whether the PCH starts to transmit the data to the BMC. When the PCH starts to transmit the data to the BMC, the data is acquired from the IO transmission line between the PCH and the BMC, and the data acquired from the IO transmission line is parsed. Then it is determined whether the parsed data contains process data representing the BIOS booting process of the server. When the parsed data does not include process data which represents the BIOS booting process of the server, it does not process the data transmitted this time. When the parsed data includes process data representing the BIOS booting process of the server, the process data representing the BIOS booting process of the server is displayed. For example, the process data is displayed via a plurality of LED (light-emitting diode), so that a user may quickly determine the current booting process of the BIOS directly via the displayed information.
The present application provides a method for monitoring a BIOS booting process of a server, which is applied to a processor. The method includes: detecting whether a PCH in a server starts to transmit data to a BMC; when the PCH starts to transmit data to the BMC, acquiring data from an IO transmission line between the PCH and the BMC and parsing same, and determining whether the parsed data includes process data which represents a BIOS booting process of the server; and when the parsed data includes the process data, displaying the process data. It can be seen that a user may directly and quickly determine the current booting process of a BIOS by means of displayed information, such that quick trouble locating of a server during a BIOS booting process is facilitated.
On the basis of the above-mentioned embodiments:
With reference to
In an embodiment of the present application, a connecting line between the PCH and the BMC includes a clock signal line, an eSPI_IO transmission line and a CS signal line;
In some embodiments, the PCH in the server of the present application supports an eSPI (Enhanced Serial Peripheral Interface) bus. The eSPI bus is a point-to-point communication mode for massive data communication between the PCH and the BMC. As a third-party device, the processor may analyze the data transmitted between the PCH and the BMC by means of monitoring.
As shown in
Considering that when the CLK signal is at a low level and the CS signal has a falling edge, the PCH starts to transmit the data to the BMC, and hence the present application detects the CLK signal on the clock signal line and the CS signal on the CS signal line, and determines whether the CLK signal is at a low level and whether the CS signal has a falling edge. When the CLK signal is at the low level and the CS signal has a falling edge, namely, the determination results are both yes, it is determined that the PCH starts to transmit the data to the BMC so as to acquire the data transmitted by the two from the eSPI_IO transmission line. On the other hand, when the CLK signal is not at the low level and/or the CS signal does not have the falling edge, i.e., not both of the determination results are yes, it is determined that the PCH does not start to transmit the data to the BMC.
In an embodiment, the data transmitted by the PCH to the BMC successively includes CMD information, HDR information and DATA information;
The acquiring data from an IO transmission line between the PCH and the BMC and parsing same and determining whether the parsed data includes process data which represents a BIOS booting process of the server includes:
In particular, with reference to
During the data interaction between the PCH and the BMC, the PCH will send BIOS booting process codes to the BMC (the PCH is the host and the BMC is the slave), and the basic flow is as follows.
Based on this, when detecting that the PCH starts to transmit the data to the BMC, the present application acquires CMD information from the eSPI_IO transmission line therebetween and parses same, and then determines whether the parsed CMD information corresponds to a data writing mode. When the parsed CMD information does not correspond to the write data mode, it terminates the current data monitoring. When the parsed CMD information corresponds to the write data mode, it continues to acquire HDR information from the eSPI_IO transmission line and parses same, and then determines whether the parsed HDR information is an address of the BIOS booting process code. When the parsed HDR information is not the address of the BIOS booting process code, it terminates the current data monitoring. When the parsed HDR information is an address of the BIOS booting process code, it continues to acquire the DATA information from the eSPI_IO transmission line and parses same, the parsed DATA information is process data representing the BIOS booting process of the server, and then proceeds to a step of displaying the process data.
In an embodiment of the present application, the acquiring target information from the eSPI_IO transmission line includes:
In some embodiments, starting with the transmission of data to the BMC at PCH, the CMD information of 8 bit, the HDR information of 16 bit, and the DATA information of 8 bit are sequentially transmitted.
Based on this, in the present application, starting from the PCH transmitting data to the BMC, each time a falling edge of a clock signal is detected, one bit of data is acquired from the eSPI_IO transmission line therebetween. When the total number of bits acquired continuously this time is equal to 8 bit, the bits acquired continuously this time are combined to obtain CMD information. After the PCH transmits the CMD information to the BMC, each time a falling edge of a clock signal is detected, one bit of data is acquired from the eSPI_IO transmission line therebetween. When the total number of bits acquired continuously this time is equal to 16 bit, the bits acquired continuously this time are combined to obtain the HDR information. After the PCH transmits the HDR information to the BMC, each time a falling edge of a clock signal is detected, one bit of data is acquired from the eSPI_IO transmission line therebetween. When the total number of bits acquired continuously this time is equal to 8 bit, the bits acquired continuously this time are combined to obtain the DATA information.
In an embodiment of the present application, the CMD information is 8 bit valid data. When the CMD information is 0100_0100, the CMD information corresponds to the write data mode. The HDR information is 16 bit valid data, and the address of the BIOS booting process code is 0080 h. The DATA information is 8 bit valid data.
In some embodiments, the process of acquiring and parsing data from the eSPI_IO transmission line between PCH and BMC in the present application is as follows.
In an embodiment of the present application, the data transmitted by the PCH to the BMC further includes CRC information;
Further, as shown in
In addition, after receiving the above-mentioned data sent by the PCH, the BMC will feed back the reception result to PCH after ensuring that the verification result is accurate, so as to notify PCH that this transmission data has been received. When the PCH does not receive the reception result fed back by the BMC within a preset time, it is considered that the BMC does not receive this transmission data, and data retransmission will be performed to ensure that BMC receives the transmitted data.
It should be noted that the steps of the above-mentioned embodiments are all implemented by a processor, and the processor may be a CPLD (Complex programmable logic device) in a server.
With reference to
The system for monitoring the BIOS booting process of the server includes:
In an embodiment of the present application, a connecting line between the PCH and the BMC includes a clock signal line, an eSPI_IO transmission line and a CS signal line;
Reference is made to the embodiments of the monitoring method described above for the description of the monitoring system provided in the present application, which will not be repeated here.
The present application further provides an apparatus for monitoring a BIOS booting process of a server, including:
In an embodiment of the present application, the processor is a CPLD.
The description of the monitoring apparatus provided in the present application refers to the embodiments of the monitoring method described above, and the description thereof will not be repeated here.
It should be noted that relational terms in the description such as first and second, and the like, may be used herein to distinguish one entity or action from another entity or action without necessarily requiring or implying any such actual relationship or order between such entities or actions. Furthermore, the terms “comprises”, “comprising”, or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by the phrase “comprising a” does not, without more constraints, preclude the existence of additional identical elements in the process, method, article, or apparatus that includes the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art. The generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Thus, the present application is not intended to be limited to the embodiments shown herein but accords with the widest scope consistent with the principles and novel features disclosed herein.
Number | Date | Country | Kind |
---|---|---|---|
202110978208.0 | Aug 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/134053 | 11/29/2021 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2023/024304 | 3/2/2023 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20050195075 | McGraw | Sep 2005 | A1 |
20090077365 | Masuyama | Mar 2009 | A1 |
20160328300 | Rahardjo et al. | Nov 2016 | A1 |
20190236281 | Hershman | Aug 2019 | A1 |
20200004994 | Hershman | Jan 2020 | A1 |
20220107913 | Hartlage | Apr 2022 | A1 |
Number | Date | Country |
---|---|---|
104503783 | Apr 2015 | CN |
105786421 | Jul 2016 | CN |
106649023 | May 2017 | CN |
108920317 | Nov 2018 | CN |
111475356 | Jul 2020 | CN |
112306795 | Feb 2021 | CN |
112463226 | Mar 2021 | CN |
113111342 | Jul 2021 | CN |
113419926 | Sep 2021 | CN |
201527965 | Jul 2015 | TW |