CN104572465A - Novel BIOS (basic input output system) Debug method - Google Patents

Novel BIOS (basic input output system) Debug method Download PDF

Info

Publication number
CN104572465A
CN104572465A CN201510002094.0A CN201510002094A CN104572465A CN 104572465 A CN104572465 A CN 104572465A CN 201510002094 A CN201510002094 A CN 201510002094A CN 104572465 A CN104572465 A CN 104572465A
Authority
CN
China
Prior art keywords
bios
debug
bmc
system interface
novel
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
CN201510002094.0A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510002094.0A priority Critical patent/CN104572465A/en
Publication of CN104572465A publication Critical patent/CN104572465A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a novel BIOS (basic input output system) Debug method. By the aid of a main board BIOS and a main board BMC (baseboard management controller), position points and error codes are added at different hardware initialization stages in the boot guiding process of a BIOS, fault codes are added according to different hardware initialization failure conditions, contents are outputted by a system interface, the BMC can read the contents of the system interface in real time, and complete contents can be displayed in a WEB mode. Compared with a traditional DEBUG method, the method does not need to be assisted by other hardware debug tools, a customer can be helped to solve problems by a BMC LAN (local area network) remote debug without reaching a customer site, and the method is simple, convenient and effective and has a great application value in the pre-development process of the BIOS or in the late customer problem solving process.

Description

A kind of method of novel B IOS Debug
Technical field
The present invention relates to server technology field, be specifically related to a kind of method of novel B IOS Debug.
Background technology
Along with internet, cloud computing, the development of the technology such as large data, various industry is more and more higher for the requirement of the Stability and dependability of server system, server system is internet, cloud computing, Internet of Things, the hardware foundation of the technology such as high-performance calculation, reliable and stable server hardware is the key of above Industry Quick Development, along with the development of server technology, various new hardware board, equipment all will be integrated on server master board, in this case, server there will be and starts unsuccessfully in start-up course, to delay machine problem, how quick diagnosis goes out the delay reason of machine of system is the key that Deterministic service device system runs well.
BIOS is the software of the bottom, is integrated on server master board, is used to the soul of initialization server hardware and guidance system start, the different phase started, as required, BIOS can be allowed by IO PORT80h mouth, export different location points and failure code.BIOS is in the process of initialization motherboard hardware and guidance system start, and by reading the content of 80h PORT, we just can understand fast, and server is current is in what stage of startup, and whether the current generation is normal.
BMC baseboard controller is a mini system independent of mainboard HOST system, is used for providing support to the health status of mainboard HOST system, telemanagement.In system starting process, BMC can read the content of IO PORT 80h and preserve, and by analyzing the content that reads, just can make diagnosis, and judge system whether normal system, the machine problem if generation startup is delayed, can quick diagnosis questions and prospect.
Summary of the invention
The technical problem to be solved in the present invention is: the present invention proposes to be checked by out-band method, arrange the method for BIOS parameter, is checked and arrange BIOS parameter by the mode of long-range connection BMC, keeper without the need to machine room just can Remote Acquisitioning with BIOS parameter is set.
The method of tradition DEBUG BIOS, add mark unloading phase of different in bios code, check by outputting to serial ports, what stage current BIOS has performed.In actual DEBUG process, usually there will be such problem, owing to writing too much DEBUG code to serial ports, cause BIOS to increase start-up time, problem cannot reappear.Tradition DEBUG mode, needs serial ports instrument, is connected to DEBUG computer, can only local operation, cannot long-rangely carry out.Relative to traditional DEBUG method, this method is characterised in that 1) assist without the need to other hardware debug tool; 2) can being dealt with problems by the long-range debug of BMC LAN, client can be helped to deal with problems without the need to arriving curstomer's site.The contrast of two kinds of methods as shown in Figure 1.The method is effectively simple and convenient, no matter be to deal with problems very large using value in BIOS early development process or later stage customers' place.
The technical solution adopted in the present invention is:
A kind of method of novel B IOS Debug, in conjunction with mainboard BIOS and mainboard BMC, guide in the process of start at BIOS, at different hardware initial phase, point of addition point and error code, added failure code for different hardware initialization failure scenarios, these contents exported by system interface, by different failure codes and location point information, we can understand fast current server start residing for stage and startup separator reason;
BMC can read the content of system interface in real time, and complete content can be shown by WEB mode, and such system manager just can understand system by network remote and start situation, and quick position is dealt with problems.
Described system interface is PORT 80h.
Described method step is as follows:
The first step: write bios software, CPU the device initialize such as internal memory, PCIE, USB process (A1---An stage) point of addition point and failure code information;
Second: the bios software write is burnt in server, power on, in startup different phase, BIOS meeting output position information and failure code information are to system interface;
3rd step: the position that BMC reading system interface exports and failure message code, carries out quick Debug by BMC LAN remote band is outer to BIOS start-up course.
Beneficial effect of the present invention: the inventive method, relative to traditional DEBUG method, is assisted without the need to other hardware debug tool; Can be dealt with problems by the long-range debug of BMC LAN, client can be helped to deal with problems without the need to arriving curstomer's site, the method is effectively simple and convenient, no matter be to deal with problems very large using value in BIOS early development process or later stage customers' place.
Accompanying drawing explanation
Fig. 1 is that the inventive method and classic method contrast schematic diagram;
Fig. 2 is the inventive method flowage structure schematic diagram.
Embodiment
Below according to Figure of description, in conjunction with specific embodiments, the present invention is further described:
A kind of method of novel B IOS Debug, in conjunction with mainboard BIOS and mainboard BMC, guide in the process of start at BIOS, at different hardware initial phase, point of addition point and error code, added failure code for different hardware initialization failure scenarios, these contents exported by system interface, by different failure codes and location point information, we can understand fast current server start residing for stage and startup separator reason;
BMC can read the content of system interface in real time, and complete content can be shown by WEB mode, and such system manager just can understand system by network remote and start situation, and quick position is dealt with problems.
Described system interface is PORT 80h.
As shown in Figure 2, described method step is as follows:
The first step: write bios software, CPU the device initialize such as internal memory, PCIE, USB process (A1---An stage) point of addition point and failure code information;
Second: the bios software write is burnt in server, power on, in startup different phase, BIOS meeting output position information and failure code information are to system interface PORT 80h;
3rd step: the position that BMC reading system interface PORT 80h exports and failure message code, carries out quick Debug by BMC LAN remote band is outer to BIOS start-up course.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (3)

1. the method for a novel B IOS Debug, it is characterized in that: in conjunction with mainboard BIOS and mainboard BMC, guide in the process of start at BIOS, at different hardware initial phase, point of addition point and error code, added failure code for different hardware initialization failure scenarios, these contents exported by system interface, BMC reads the content of system interface in real time, and complete content can be shown by WEB mode.
2. the method for a kind of novel B IOS Debug according to claim 1, is characterized in that: described system interface is PORT 80h.
3. the method for a kind of novel B IOS Debug according to claim 1 and 2, it is characterized in that, described method step is as follows:
The first step: write bios software, CPU internal memory, PCIE, USB device initialization procedure point of addition point and failure code information;
Second: the bios software write is burnt in server, power on, in startup different phase, BIOS meeting output position information and failure code information are to system interface;
3rd step: the position that BMC reading system interface exports and failure message code, carries out quick Debug by BMC LAN remote band is outer to BIOS start-up course.
CN201510002094.0A 2015-01-05 2015-01-05 Novel BIOS (basic input output system) Debug method Pending CN104572465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510002094.0A CN104572465A (en) 2015-01-05 2015-01-05 Novel BIOS (basic input output system) Debug method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510002094.0A CN104572465A (en) 2015-01-05 2015-01-05 Novel BIOS (basic input output system) Debug method

Publications (1)

Publication Number Publication Date
CN104572465A true CN104572465A (en) 2015-04-29

Family

ID=53088597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510002094.0A Pending CN104572465A (en) 2015-01-05 2015-01-05 Novel BIOS (basic input output system) Debug method

Country Status (1)

Country Link
CN (1) CN104572465A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547503A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system malfunction is launched and method of reseptance, apparatus and system
CN106547653A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system fault condition detection method, apparatus and system
CN106547668A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system fault alarming method, apparatus and system
CN107066360A (en) * 2017-03-24 2017-08-18 联想(北京)有限公司 A kind of information transferring method and server
CN107480052A (en) * 2017-07-21 2017-12-15 广东虹勤通讯技术有限公司 A kind of method and device for positioning bios code when delaying machine
CN107832167A (en) * 2017-11-30 2018-03-23 郑州云海信息技术有限公司 A kind of BMC failures lead to not the restoration methods and system of start
CN111526046A (en) * 2020-04-14 2020-08-11 浪潮商用机器有限公司 Method, device, equipment and storage medium for setting BMC (baseboard management controller) time
CN112506693A (en) * 2020-12-14 2021-03-16 曙光信息产业(北京)有限公司 Method and device for recording abnormal information, storage medium and electronic equipment
CN112905392A (en) * 2021-05-07 2021-06-04 湖南华自信息技术有限公司 System, method and computer storage medium for updating device memory
CN113190491A (en) * 2021-03-19 2021-07-30 山东英信计算机技术有限公司 Serial port information display method, system and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902355A (en) * 2009-05-27 2010-12-01 宏正自动科技股份有限公司 Server, computer system, and method for monitoring computer system
CN102479126A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Startup debugging device and method thereof
CN102681959A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for interacting inner-band information and out-of-band information of server
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing boot failure of server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902355A (en) * 2009-05-27 2010-12-01 宏正自动科技股份有限公司 Server, computer system, and method for monitoring computer system
CN102479126A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Startup debugging device and method thereof
CN102681959A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for interacting inner-band information and out-of-band information of server
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing boot failure of server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
液晶鱼: ""POST上电自检详解及BIOS常见故障"", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_3E228B350100093L.HTML》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547653A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system fault condition detection method, apparatus and system
CN106547668A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system fault alarming method, apparatus and system
CN106547503A (en) * 2015-09-21 2017-03-29 龙芯中科技术有限公司 Computer system malfunction is launched and method of reseptance, apparatus and system
CN106547668B (en) * 2015-09-21 2019-09-24 龙芯中科技术有限公司 Computer system fault alarming method, apparatus and system
CN106547653B (en) * 2015-09-21 2020-03-13 龙芯中科技术有限公司 Computer system fault state detection method, device and system
CN107066360A (en) * 2017-03-24 2017-08-18 联想(北京)有限公司 A kind of information transferring method and server
CN107066360B (en) * 2017-03-24 2021-02-19 联想(北京)有限公司 Information transmission method and server
CN107480052B (en) * 2017-07-21 2020-11-13 广东虹勤通讯技术有限公司 Method and device for positioning BIOS (basic input output System) codes during downtime
CN107480052A (en) * 2017-07-21 2017-12-15 广东虹勤通讯技术有限公司 A kind of method and device for positioning bios code when delaying machine
CN107832167B (en) * 2017-11-30 2021-04-13 郑州云海信息技术有限公司 Recovery method and system for boot failure caused by BMC (baseboard management controller) fault
CN107832167A (en) * 2017-11-30 2018-03-23 郑州云海信息技术有限公司 A kind of BMC failures lead to not the restoration methods and system of start
CN111526046A (en) * 2020-04-14 2020-08-11 浪潮商用机器有限公司 Method, device, equipment and storage medium for setting BMC (baseboard management controller) time
CN112506693A (en) * 2020-12-14 2021-03-16 曙光信息产业(北京)有限公司 Method and device for recording abnormal information, storage medium and electronic equipment
CN113190491A (en) * 2021-03-19 2021-07-30 山东英信计算机技术有限公司 Serial port information display method, system and medium
CN113190491B (en) * 2021-03-19 2023-03-21 山东英信计算机技术有限公司 Serial port information display method, system and medium
CN112905392A (en) * 2021-05-07 2021-06-04 湖南华自信息技术有限公司 System, method and computer storage medium for updating device memory
CN112905392B (en) * 2021-05-07 2021-09-28 湖南华自信息技术有限公司 System, method and computer storage medium for updating device memory

Similar Documents

Publication Publication Date Title
CN104572465A (en) Novel BIOS (basic input output system) Debug method
CN104391765A (en) Method for automatically diagnosing boot failure of server
US7058855B2 (en) Emulation interface system
CN108768730B (en) Method and device for operating intelligent network card
TW201546638A (en) Systems and methods for automated functional coverage generation and management for IC design protocols
CN113656227A (en) Chip verification method and device, electronic equipment and storage medium
WO2017020459A1 (en) Method and apparatus for configuring plugin package for host
CN104731617A (en) Server starting device determining method
CN115952758A (en) Chip verification method and device, electronic equipment and storage medium
CN105138438A (en) MEMORY PATROL SCRUB testing method
US9779047B2 (en) Universal intelligent platform management interface (IPMI) host to baseboard management controller (BMC) communication for non-x86 and legacy free systems
US20160149765A1 (en) System and method for extracting protocol information from a simulation environment to analyze system behavior
CN106815088A (en) server and its debugging method
CN109582334B (en) Upgrading method and device for programmable logic device
CN111124772A (en) Cloud platform storage performance testing method, system, terminal and storage medium
US20180239655A1 (en) Method for Processing Asynchronous Event by Checking Device and Checking Device
CN115618777A (en) File generation method, device, equipment and storage medium
US7254528B2 (en) Tool for defining verbs and adverbs in a fault injection test creation environment
CN115757099A (en) Automatic test method and device for platform firmware protection recovery function
CN114969175A (en) Method for butting insurance platform and external system and related equipment
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN114328045A (en) I2C debugging method, system and device for BMC and computer readable storage medium
CN107168815A (en) A kind of method for collecting hardware error message
US6691195B1 (en) Compact diagnostic connector for a motherboard of data processing system
CN108345471B (en) The method and detection device of detection device processing asynchronous event

Legal Events

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

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication