CN107885624A - Control the method, apparatus and server of BIOS Debugging message output - Google Patents

Control the method, apparatus and server of BIOS Debugging message output Download PDF

Info

Publication number
CN107885624A
CN107885624A CN201710936489.7A CN201710936489A CN107885624A CN 107885624 A CN107885624 A CN 107885624A CN 201710936489 A CN201710936489 A CN 201710936489A CN 107885624 A CN107885624 A CN 107885624A
Authority
CN
China
Prior art keywords
state
bios
gpio port
reserved
debugging message
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
CN201710936489.7A
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 CN201710936489.7A priority Critical patent/CN107885624A/en
Publication of CN107885624A publication Critical patent/CN107885624A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method, apparatus and server of the output of control BIOS Debugging message.Methods described includes:When the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port is changed, the state of the reserved GPIO port is modified;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

Control the method, apparatus and server of BIOS Debugging message output
Technical field
The present invention relates to server technology field, more particularly to a kind of method, apparatus of control BIOS Debugging message output And server.
Background technology
After server system is deployed in data center, due to being limited by time and space, enter for failure machine 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, are inputted defeated BIOS substantially Going out system) Debug (debugging) information is more commonly used technology at present.Related 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, solution similar present in 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 be positioned a general position, can not specifically be determined 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 problem, O&M engineer or after-sales-service engineer is still needed to recompilate one It is individual 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 control BIOS Debugging message output 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 control BIOS Debugging message output, including:
When the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port is changed, to described reserved The state of GPIO port is modified;
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, methods described also 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 domestic consumer.
Second aspect, the present invention provide a kind of device of control BIOS Debugging message output, including:
Unit is changed, for being changed when the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port When, the state of the reserved GPIO port is modified;
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 also includes:
Closing unit, adjusted for when the state of the reserved GPIO port is unsatisfactory for predetermined condition, closing current BIOS 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 domestic consumer.
The third aspect, the present invention provide a kind of server, and the server exports including above-mentioned control BIOS Debugging message Device.
The method, apparatus and server of control BIOS Debugging message output provided in an embodiment of the present invention, when server is met , after sale can be by changing the state of the wire jumper being connected on mainboard with reserved GPIO port with operation maintenance personnel when to problem, control The state value of the reserved GPIO port of system, the state of GPIO port can be reserved with detecting real-time in BIOS power-on self-tests, when reserved When the state of GPIO port meets predetermined condition, it is possible to realize that dynamic shows BIOS Debugging message, can so protect BIOS Debugging message is protected, and can is helped after sale with operation maintenance personnel orientation problem, at utmost protects curstomer's site, and at utmost Extraction BIOS Debugging message, be more beneficial for problem analysis.
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;
Fig. 2 is the structural representation for the device that one embodiment of the invention controls the output of BIOS Debugging message.
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 accompanying drawing, the technical scheme 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, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of control BIOS Debugging message output, as shown in figure 1, methods described bag Include:
S11, when the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port is changed, to described The state of reserved GPIO port is modified.
Wherein, the predesignated subscriber refers to the advanced level user in addition to common management administrator and domestic consumer.
S12, in BIOS power-on self-tests described in detecting real-time reserve GPIO port state.
S13, 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, methods described also includes:
When the state of the reserved GPIO port is unsatisfactory for predetermined condition, current BIOS Debugging message is closed.
The method of control BIOS Debugging message output provided in an embodiment of the present invention, when server encounters problems, After sale reserved GPIO port can be controlled with operation maintenance personnel by changing the state of the wire jumper being connected on mainboard with reserved GPIO port State value, the state of GPIO port can be reserved with detecting real-time in BIOS power-on self-tests, when the state of reserved GPIO port When meeting predetermined condition, it is possible to realize that dynamic shows BIOS Debugging message, can so protect BIOS Debugging message, And can helps, after sale with operation maintenance personnel orientation problem, at utmost to protect curstomer's site, and farthest extract BIOS debugging Information, it is more beneficial for problem analysis.
The method of present invention control BIOS Debugging message outputs is described in detail with reference to specific embodiment.
First, a GPIO port is reserved on the hardware of server, and this is reserved to one on GPIO port and mainboard The wire jumper of individual 3 pin connects.User can control the reserved GPIO port to export high level by changing the state of wire jumper Or low level.When the state that this reserves GPIO port meets condition, just BIOS Debugging message is shown;When this is pre- Stay GPIO port export value be unsatisfactory for condition when, BIOS will not outputting BIOS Debugging message.Because BIOS can be detectd in real time Survey the state of the reserved GPIO port, it is possible to realize that dynamic shows BIOS Debugging message.When BIOS power-on self-tests not At the end of, the state for reaffirming reserved GPIO port is returned to, and determine whether that outputting BIOS is debugged according to above-mentioned judgment mode Information.
It is using the characteristics of 3 pin wire jumper, common management administrator or user can not know and using particular patch cord on mainboard Definition, it can not more change the state of wire jumper, only advanced level user can just use this wire jumper, and then obtain BIOS debugging letters Breath.Can so protect BIOS Debugging message, and can help after sale with operation maintenance personnel quick positioning question.
The embodiment of the present invention also provides a kind of device of control BIOS Debugging message output, as shown in Fig. 2 described device bag Include:
Unit 11 is changed, for changing when the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port During change, the state of the reserved GPIO port is modified;
Detecting unit 12, for reserving the state of GPIO port described in the detecting real-time in BIOS power-on self-tests;
Output unit 13, adjusted for when the state of the reserved GPIO port meets predetermined condition, exporting current BIOS Try information.
Alternatively, described device also includes:
Closing unit, adjusted for when the state of the reserved GPIO port is unsatisfactory for predetermined condition, closing current BIOS 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 domestic consumer.
The device of control BIOS Debugging message output provided in an embodiment of the present invention, when server encounters problems, After sale reserved GPIO port can be controlled with operation maintenance personnel by changing the state of the wire jumper being connected on mainboard with reserved GPIO port State value, the state of GPIO port can be reserved with detecting real-time in BIOS power-on self-tests, when the state of reserved GPIO port When meeting predetermined condition, it is possible to realize that dynamic shows BIOS Debugging message, can so protect BIOS Debugging message, And can helps, after sale with operation maintenance personnel orientation problem, at utmost to protect curstomer's site, and farthest extract BIOS debugging Information, it is more beneficial for problem analysis.
The device of the present embodiment, it can be used for the technical scheme for performing above method embodiment, its realization principle and technology Effect is similar, and here is omitted.
The embodiment of the present invention also provides a kind of server, and the server includes the output of above-mentioned control BIOS Debugging message Device.
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 The hardware of correlation is instructed to complete by computer program, described 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, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is only a specific embodiment of the invention, 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 defined by scope of the claims.

Claims (9)

  1. A kind of 1. method of control BIOS Debugging message output, it is characterised in that including:
    When the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port is changed, to the reserved GPIO The state of port is modified;
    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 for claim 1, it is characterised in that methods described also 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 control BIOS Debugging message output, it is characterised in that including:
    Unit is changed, for when the state of wire jumper of the predesignated subscriber to being connected on mainboard with reserved GPIO port is changed, The state of the reserved GPIO port is modified;
    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 also 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 control as any one of claim 5 to 8 The device of BIOS Debugging message output.
CN201710936489.7A 2017-10-10 2017-10-10 Control the method, apparatus and server of BIOS Debugging message output Pending CN107885624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710936489.7A CN107885624A (en) 2017-10-10 2017-10-10 Control the method, apparatus and server of BIOS Debugging message output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710936489.7A CN107885624A (en) 2017-10-10 2017-10-10 Control the method, apparatus and server of BIOS Debugging message output

Publications (1)

Publication Number Publication Date
CN107885624A true CN107885624A (en) 2018-04-06

Family

ID=61781258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710936489.7A Pending CN107885624A (en) 2017-10-10 2017-10-10 Control the method, apparatus and server of BIOS Debugging message output

Country Status (1)

Country Link
CN (1) CN107885624A (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
CN109683964A (en) * 2018-11-09 2019-04-26 加弘科技咨询(上海)有限公司 Bios software debugging control program, system and server
CN110162436A (en) * 2019-04-25 2019-08-23 深圳市同泰怡信息技术有限公司 A kind of normal mode and diagnostic mode switching method of BIOS POST
CN110245100A (en) * 2019-06-10 2019-09-17 英业达科技有限公司 The control method of the serial port information of server host

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020169997A1 (en) * 2001-02-01 2002-11-14 Song-Bor Chen BIOS debug method
CN101046764A (en) * 2006-03-31 2007-10-03 环达电脑(上海)有限公司 Server and correlative method for providing hardware diagnostic information
CN102819404A (en) * 2012-08-29 2012-12-12 曙光信息产业(北京)有限公司 Interface display method for BIOS (basic input/output system)
CN104679626A (en) * 2013-11-30 2015-06-03 鸿富锦精密工业(深圳)有限公司 System and method for debugging and detecting BIOS (Basic Input / Output System)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020169997A1 (en) * 2001-02-01 2002-11-14 Song-Bor Chen BIOS debug method
CN101046764A (en) * 2006-03-31 2007-10-03 环达电脑(上海)有限公司 Server and correlative method for providing hardware diagnostic information
CN102819404A (en) * 2012-08-29 2012-12-12 曙光信息产业(北京)有限公司 Interface display method for BIOS (basic input/output system)
CN104679626A (en) * 2013-11-30 2015-06-03 鸿富锦精密工业(深圳)有限公司 System and method for debugging and detecting BIOS (Basic Input / Output System)

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
CN110162436A (en) * 2019-04-25 2019-08-23 深圳市同泰怡信息技术有限公司 A kind of normal mode and diagnostic mode switching method of BIOS POST
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
CN107885624A (en) Control the method, apparatus and server of BIOS Debugging message output
CN107908508A (en) The method, apparatus and server of control BIOS Debugging message output in real time
US9971642B2 (en) System and method for recovering from a configuration error
CN103119554B (en) The memory logic that platform is irrelevant is provided
WO2016090908A1 (en) Memory simulation testing board system and testing method for embedded application of intelligent electric meter
CN100498715C (en) Method for simulating IPMI by BIOS
CN107567645A (en) ECC on the tube core generated using error counter and home address
CN106990958A (en) A kind of extension element, electronic equipment and startup method
CN107894934A (en) Control the method, apparatus and server of BIOS Debugging message output
CN107861790A (en) Magnetic disk of virtual machine Extend Methods of Spatial Distribution, device, host and readable storage medium storing program for executing
CN101441589A (en) Detection method of substrate management controller and server thereof
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
CN109117335A (en) A kind of hard disk simulation hot plug test method, device, terminal and storage medium
CN107066361A (en) The method and apparatus that a kind of utilization BMC disables corrupted internal memory
CN113204456A (en) Test method, tool, device and equipment for VPP interface of server
CN116343888A (en) Verification method of memory chip, electronic equipment and memory medium
CN110008105A (en) A kind of BMC time reservation method, device and electronic equipment and storage medium
CN116010141A (en) Method, device and medium for positioning starting abnormality of multipath server
CN108804269A (en) A kind of system and method controlling test RAID board stability based on domain
CN107544909B (en) Processor chip simulator
CN110175096B (en) GPU (graphics processing Unit) pressurization test method, system, terminal and storage medium
CN109522200A (en) A kind of raising stores the test method of disk array stability, system and terminal more
CN102411527B (en) Detecting method for image-processing chip, developing plate and detecting system
CN109359001A (en) A kind of method, device and equipment of solid-state disk cold restart test

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180406