CN107908508A - The method, apparatus and server of control BIOS Debugging message output in real time - Google Patents

The method, apparatus and server of control BIOS Debugging message output in real time Download PDF

Info

Publication number
CN107908508A
CN107908508A CN201710936492.9A CN201710936492A CN107908508A CN 107908508 A CN107908508 A CN 107908508A CN 201710936492 A CN201710936492 A CN 201710936492A CN 107908508 A CN107908508 A CN 107908508A
Authority
CN
China
Prior art keywords
bios
state
gpio port
debugging message
reserved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710936492.9A
Other languages
Chinese (zh)
Inventor
吕永成
马翀
鲁碧兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201710936492.9A priority Critical patent/CN107908508A/en
Publication of CN107908508A publication Critical patent/CN107908508A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The present invention provides a kind of method, apparatus and server of the Debugging message outputs of control BIOS in real time.The described method includes:Receive the customization IPMI instructions that predesignated subscriber sends;Modify to the state for reserving GPIO port;The state of GPIO port is reserved described in detecting real-time in BIOS power-on self-tests;When the state of the reserved GPIO port meets predetermined condition, current BIOS Debugging message is exported.The present invention can Dynamic Announce BIOS Debugging message, help after sale with operation maintenance personnel orientation problem.

Description

The method, apparatus and server of control BIOS Debugging message output in real time
Technical field
The present invention relates to server technology field, more particularly to a kind of method of the Debugging message outputs of control BIOS in real time, Device and server.
Background technology
After server system is deployed in data center, due to being limited be subject to time and space, for failure machine into The difficulty increase of row debugging, reproducibility and the site environment strong correlation of phenomenon of the failure.
In the adjustment method of server system, check that (Basic Input Output System, input defeated BIOS substantially Going out system) Debug (debugging) information is more commonly used technology at present.Relevant function is invalid in the BIOS formally issued , the machine that general end user uses be can not outputting BIOS Debug information, it is necessary to rear end research and development engineer compile again Translate one and support the BIOS mirror images of BIOS Debug information output, and server is burnt to by O&M or after-sale service personnel again Follow-up debugging efforts could be carried out after mainboard.The complexity of problem analysis is so added, because once refreshing BIOS again, machine Many information can be all reset on device, sometimes be refreshed again after BIOS, problem can not just replicate, so refreshing again BIOS also has limitation.
At present, similar solution existing in the prior art is, by BIOS POST (Power On Self Test, Power-on self-test) during Post Code (start shooting self detection code) be pushed to BMC (Baseboard Management Controller, baseboard management controller), if server is problematic, according to Post Code come orientation problem.It is but this The limitation of mode is that the Limited information that Post Code are transmitted, can only position a general position, can not specifically determine Position.So it is possible to still need to compile a BIOS for having BIOS Debug information again, because BIOS Debug information can be more Precise positioning.
Current market sales of server will not all print BIOS Debug information, because unconditional output BIOS Debug information not only can leakage system initialization various details, it is slack-off to also result in starting up speed.
But when user's machine encounters problems and again can not precise positioning by Post Code, it is desired nonetheless to by looking into When BIOS Debug information is seen to solve the problems, such as, O&M engineer or after-sales-service engineer is still needed to recompilate one It is a can outputting BIOS Debug information new BIOS file, and need to refresh again could problem analysis after BIOS file.So It is unfavorable for, after sale with operation maintenance personnel orientation problem and problem analysis, also increasing the difficulty solved the problems, such as.
The content of the invention
The method, apparatus and server of the Debugging message outputs of control BIOS in real time provided by the invention, being capable of Dynamic Announce BIOS Debugging message, help after sale with operation maintenance personnel orientation problem.
In a first aspect, the present invention provides a kind of method of the Debugging message outputs of control BIOS in real time, including:
Receive the customization IPMI instructions that predesignated subscriber sends;
Modify to the state for reserving GPIO port;
The state of GPIO port is reserved described in detecting real-time in BIOS power-on self-tests;
When the state of the reserved GPIO port meets predetermined condition, current BIOS Debugging message is exported.
Alternatively, the method further includes:
When the state of the reserved GPIO port is unsatisfactory for predetermined condition, current BIOS Debugging message is closed.
Alternatively, the predetermined condition is high level or low level.
Alternatively, the predesignated subscriber is the advanced level user in addition to common management administrator and ordinary user.
Second aspect, the present invention provide a kind of device of the Debugging message outputs of control BIOS in real time, including:
Receiving unit, for receiving the customization IPMI instructions of predesignated subscriber's transmission;
Unit is changed, for modifying to the state for reserving GPIO port;
Detecting unit, for reserving the state of GPIO port described in the detecting real-time in BIOS power-on self-tests;
Output unit, for when the state of the reserved GPIO port meets predetermined condition, exporting current BIOS debugging Information.
Alternatively, described device further includes:
Closing unit, for when the state of the reserved GPIO port is unsatisfactory for predetermined condition, closing current BIOS tune Try information.
Alternatively, the predetermined condition is high level or low level.
Alternatively, the predesignated subscriber is the advanced level user in addition to common management administrator and ordinary user.
The third aspect, the present invention provide a kind of server, and the server includes above-mentioned control BIOS Debugging message in real time The device of output.
The method, apparatus and server of the Debugging message outputs of control BIOS in real time provided in an embodiment of the present invention, work as service When device encounters problems, the state of reserved GPIO port can be controlled with operation maintenance personnel by performing customization IPMI instructions after sale Value, the state of GPIO port can be reserved in BIOS power-on self-tests with detecting real-time, when the state of reserved GPIO port meets in advance During fixed condition, it is possible to realize that dynamic shows BIOS Debugging message, can so protect BIOS Debugging message and side Help after sale with operation maintenance personnel orientation problem, at utmost protect curstomer's site, and farthest extract BIOS Debugging message, more Be conducive to problem analysis.In addition, being used as controlling switch by customizing IPMI instructions, avoid and machine hardware is operated, and And can remotely perform, it is more convenient to use.
Brief description of the drawings
Fig. 1 is the flow chart for the method that one embodiment of the invention controls the output of BIOS Debugging message in real time;
Fig. 2 is the structure diagram for the device that one embodiment of the invention controls the output of BIOS Debugging message in real time.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Only it is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's all other embodiments obtained without making creative work, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of the Debugging message outputs of control BIOS in real time, as shown in Figure 1, the method Including:
S11, receive customization IPMI (the Intelligent Platform Management that predesignated subscriber sends Interface, Intelligent Platform Management Interface) instruction.
Wherein, the predesignated subscriber refers to the advanced level user in addition to common management administrator and ordinary user.The customization IPMI instructions instruct for the non-universal IPMI of manufacturer oneself customization.
S12, the state to reserving GPIO (General Purpose Input Output, universal input/output) port Modify.
Wherein, which is the GPIO port reserved on the hardware of server, this is reserved GPIO port and connects It is connected to BMC.
S13, in BIOS power-on self-tests described in detecting real-time reserve GPIO port state.
S14, when the state of the reserved GPIO port meets predetermined condition, export current BIOS Debugging message.
Wherein, the predetermined condition is high level or low level.
Further, the method further includes:
When the state of the reserved GPIO port is unsatisfactory for predetermined condition, current BIOS Debugging message is closed.
The method of the Debugging message outputs of control BIOS in real time provided in an embodiment of the present invention, when server encounters problems Wait, can be controlled the state value of reserved GPIO port by execution customization IPMI instructions, powered on certainly in BIOS with operation maintenance personnel after sale The state of GPIO port can be reserved during inspection with detecting real-time, when the state of reserved GPIO port meets predetermined condition, it is possible to Realize dynamic BIOS Debugging message is shown, can so protect BIOS Debugging message and help after sale with O&M people Member's orientation problem, at utmost protects curstomer's site, and farthest extracts BIOS Debugging message, is more advantageous to analysis and asks Topic.In addition, being used as controlling switch by customizing IPMI instructions, avoid and machine hardware is operated, and can remotely hold OK, it is more convenient to use.
The method of the Debugging message outputs of control BIOS in real time of the invention is described in detail with reference to specific embodiment.
First, a GPIO port is reserved on the hardware of server, and this is reserved into GPIO port and is connected to BMC.With The state for outer this reserved GPIO port of IPMI instructions control of band that family can be customized by manufacturer oneself, is to export high level also It is low level.BIOS during power-on self-test can with detecting real-time this reserved GPIO port state, when this reserves GPIO When the state of port meets condition, just BIOS Debugging message is shown.Realize Dynamic Announce BIOS Debugging message Function.
If client server encounters problems, O&M and after-sale service personnel, can be by holding when solving the problems, such as Row customization IPMI is instructed to change the value of reserved GPIO port output.When the value of reserved GPIO port output meets condition, BIOS just can outputting BIOS Debugging message, when the value of reserved GPIO port output be unsatisfactory for condition when, BIOS will not be exported BIOS Debugging message.When BIOS power-on self-tests not at the end of, return to the state of reserved GPIO port reaffirmed, and according to above-mentioned Judgment mode determines whether outputting BIOS Debugging message.
The characteristics of customization IPMI instructions, is that it is non-universal instruction, and common management administrator or user can not use the customization IPMI is instructed, and it is even more impossible to be set by customization IPMI instruction modifications system.Only advanced level user can just use this customization IPMI is instructed, and the state value of GPIO port is reserved by performing customization IPMI instruction modifications BIOS, and then obtains BIOS debugging Information.Can so protect BIOS Debugging message and help after sale with operation maintenance personnel orientation problem.
The embodiment of the present invention also provides a kind of device of the Debugging message outputs of control BIOS in real time, as shown in Fig. 2, the dress Put including:
Receiving unit 11, for receiving the customization IPMI instructions of predesignated subscriber's transmission;
Unit 12 is changed, for modifying to the state for reserving GPIO port;
Detecting unit 13, for reserving the state of GPIO port described in the detecting real-time in BIOS power-on self-tests;
Output unit 14, for when the state of the reserved GPIO port meets predetermined condition, exporting current BIOS tune Try information.
Alternatively, described device further includes:
Closing unit, for when the state of the reserved GPIO port is unsatisfactory for predetermined condition, closing current BIOS tune Try information.
Alternatively, the predetermined condition is high level or low level.
Alternatively, the predesignated subscriber is the advanced level user in addition to common management administrator and ordinary user.
The device of the Debugging message outputs of control BIOS in real time provided in an embodiment of the present invention, when server encounters problems Wait, can be controlled the state value of reserved GPIO port by execution customization IPMI instructions, powered on certainly in BIOS with operation maintenance personnel after sale The state of GPIO port can be reserved during inspection with detecting real-time, when the state of reserved GPIO port meets predetermined condition, it is possible to Realize dynamic BIOS Debugging message is shown, can so protect BIOS Debugging message and help after sale with O&M people Member's orientation problem, at utmost protects curstomer's site, and farthest extracts BIOS Debugging message, is more advantageous to analysis and asks Topic.In addition, being used as controlling switch by customizing IPMI instructions, avoid and machine hardware is operated, and can remotely hold OK, it is more convenient to use.
The device of the present embodiment, can be used for the technical solution for performing above method embodiment, its realization principle and technology Effect is similar, and details are not described herein again.
The embodiment of the present invention also provides a kind of server, and it is defeated that the server includes the above-mentioned BIOS Debugging message of control in real time The device gone out.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to scope of the claims.

Claims (9)

  1. A kind of 1. method of the Debugging message outputs of control BIOS in real time, it is characterised in that including:
    Receive the customization IPMI instructions that predesignated subscriber sends;
    Modify to the state for reserving GPIO port;
    The state of GPIO port is reserved described in detecting real-time in BIOS power-on self-tests;
    When the state of the reserved GPIO port meets predetermined condition, current BIOS Debugging message is exported.
  2. 2. according to the method described in claim 1, it is characterized in that, the method further includes:
    When the state of the reserved GPIO port is unsatisfactory for predetermined condition, current BIOS Debugging message is closed.
  3. 3. method according to claim 1 or 2, it is characterised in that the predetermined condition is high level or low level.
  4. 4. method according to claim 1 or 2, it is characterised in that the predesignated subscriber is except common management administrator and commonly Advanced level user beyond user.
  5. A kind of 5. device of the Debugging message outputs of control BIOS in real time, it is characterised in that including:
    Receiving unit, for receiving the customization IPMI instructions of predesignated subscriber's transmission;
    Unit is changed, for modifying to the state for reserving GPIO port;
    Detecting unit, for reserving the state of GPIO port described in the detecting real-time in BIOS power-on self-tests;
    Output unit, for when the state of the reserved GPIO port meets predetermined condition, exporting current BIOS Debugging message.
  6. 6. device according to claim 5, it is characterised in that described device further includes:
    Closing unit, for when the state of the reserved GPIO port is unsatisfactory for predetermined condition, closing current BIOS debugging letter Breath.
  7. 7. the device according to claim 5 or 6, it is characterised in that the predetermined condition is high level or low level.
  8. 8. the device according to claim 5 or 6, it is characterised in that the predesignated subscriber is except common management administrator and commonly Advanced level user beyond user.
  9. 9. a kind of server, it is characterised in that the server includes the real-time control as any one of claim 5 to 8 The device of BIOS Debugging message output processed.
CN201710936492.9A 2017-10-10 2017-10-10 The method, apparatus and server of control BIOS Debugging message output in real time Pending CN107908508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710936492.9A CN107908508A (en) 2017-10-10 2017-10-10 The method, apparatus and server of control BIOS Debugging message output in real time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710936492.9A CN107908508A (en) 2017-10-10 2017-10-10 The method, apparatus and server of control BIOS Debugging message output in real time

Publications (1)

Publication Number Publication Date
CN107908508A true CN107908508A (en) 2018-04-13

Family

ID=61841137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710936492.9A Pending CN107908508A (en) 2017-10-10 2017-10-10 The method, apparatus and server of control BIOS Debugging message output in real time

Country Status (1)

Country Link
CN (1) CN107908508A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874606A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of control device and control method of switch BIOS AccessPort function
CN109358906A (en) * 2018-09-26 2019-02-19 郑州云海信息技术有限公司 It is a kind of to enable the method and system that BIOS serial ports redirects by setting BMC OEM order
CN109634793A (en) * 2018-12-11 2019-04-16 广东浪潮大数据研究有限公司 Control method, device and the equipment of BIOS debugging mode
CN109683964A (en) * 2018-11-09 2019-04-26 加弘科技咨询(上海)有限公司 Bios software debugging control program, system and server
CN110245100A (en) * 2019-06-10 2019-09-17 英业达科技有限公司 The control method of the serial port information of server host

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038563A (en) * 2006-03-17 2007-09-19 联想(北京)有限公司 Method and device remotely automatic recovering CMOS date with network
CN101046764A (en) * 2006-03-31 2007-10-03 环达电脑(上海)有限公司 Server and correlative method for providing hardware diagnostic information
CN102455924A (en) * 2010-10-21 2012-05-16 英业达股份有限公司 Method for updating firmware
US20130326278A1 (en) * 2012-05-30 2013-12-05 Hon Hai Precision Industry Co., Ltd. Server and method of manipulation in relation to server serial ports
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN107015812A (en) * 2017-04-14 2017-08-04 广东浪潮大数据研究有限公司 A kind of bios code design method based on INTEL ME

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038563A (en) * 2006-03-17 2007-09-19 联想(北京)有限公司 Method and device remotely automatic recovering CMOS date with network
CN101046764A (en) * 2006-03-31 2007-10-03 环达电脑(上海)有限公司 Server and correlative method for providing hardware diagnostic information
CN102455924A (en) * 2010-10-21 2012-05-16 英业达股份有限公司 Method for updating firmware
US20130326278A1 (en) * 2012-05-30 2013-12-05 Hon Hai Precision Industry Co., Ltd. Server and method of manipulation in relation to server serial ports
CN104899055A (en) * 2015-05-06 2015-09-09 深圳市国鑫恒宇科技有限公司 BIOS control based ME updating system and updating method thereof
CN107015812A (en) * 2017-04-14 2017-08-04 广东浪潮大数据研究有限公司 A kind of bios code design method based on INTEL ME

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874606A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of control device and control method of switch BIOS AccessPort function
CN109358906A (en) * 2018-09-26 2019-02-19 郑州云海信息技术有限公司 It is a kind of to enable the method and system that BIOS serial ports redirects by setting BMC OEM order
CN109683964A (en) * 2018-11-09 2019-04-26 加弘科技咨询(上海)有限公司 Bios software debugging control program, system and server
CN109634793A (en) * 2018-12-11 2019-04-16 广东浪潮大数据研究有限公司 Control method, device and the equipment of BIOS debugging mode
CN110245100A (en) * 2019-06-10 2019-09-17 英业达科技有限公司 The control method of the serial port information of server host

Similar Documents

Publication Publication Date Title
CN107908508A (en) The method, apparatus and server of control BIOS Debugging message output in real time
US10936303B2 (en) Secure IoT device update
CN107885624A (en) Control the method, apparatus and server of BIOS Debugging message output
CN106445728B (en) Computer system
TWI450103B (en) Remote management systems and methods for servers, and computer program products thereof
CN103827834B (en) A kind of moving method of internal storage data, computing machine and device
US9912535B2 (en) System and method of performing high availability configuration and validation of virtual desktop infrastructure (VDI)
WO2016101411A1 (en) Server display method and device
CN107894934A (en) Control the method, apparatus and server of BIOS Debugging message output
US20120041707A1 (en) Cold boot test system and method for electronic devices
TW201705723A (en) Server system and operating method thereof
TWI261748B (en) Policy-based response to system errors occurring during OS runtime
CN109857466B (en) BIOS configuration method, device, server and computer readable storage medium
US20100042710A1 (en) Remote management of computer system
CN105807848A (en) Touch industrial personal computer
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
CN107908547A (en) Control the method, apparatus and server of BIOS Debugging message output
CN115312110A (en) Chip verification system and verification method thereof
WO2016201983A1 (en) Method and device for managing enablement state of optical module
CN108490289B (en) Electronic equipment testing method and device and electronic equipment
CN111176958B (en) Information monitoring method, system and storage medium
CN117149491A (en) Power supply monitoring method, system, device and storage medium
US10871875B2 (en) Cursor identification on an IHS display
CN111767174A (en) BIOS (basic input output System) refreshing control method, server and storage medium
JP4910119B2 (en) Measuring device control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180413

RJ01 Rejection of invention patent application after publication