CN107357694A - Error event reporting system and its method during startup self-detection - Google Patents
Error event reporting system and its method during startup self-detection Download PDFInfo
- Publication number
- CN107357694A CN107357694A CN201610308838.6A CN201610308838A CN107357694A CN 107357694 A CN107357694 A CN 107357694A CN 201610308838 A CN201610308838 A CN 201610308838A CN 107357694 A CN107357694 A CN 107357694A
- Authority
- CN
- China
- Prior art keywords
- error code
- error
- detection
- event
- code
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
- G06F11/326—Display of status information by lamps or LED's for error or online/offline status
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides error event reporting system and its method during a kind of startup self-detection, wherein, this method comprises the following steps:A. during BIOS performs startup self-detection, detect whether that an error event occurs, if so, step b is performed, if it is not, then terminating;B. error code corresponding to obtaining the error event, judge that the error code whether there is in first form, the error code of all error events is previously stored with first form, if so, step c is then performed, if it is not, then terminating;C. LED light group is controlled to should error code bright light;D. the second form further will be compareed with the successful error code of the first table match, and will recall the details of the error code, and then perform step e;And the details of error code and the error code corresponding to the error event are sent to BMC by e., make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log, be then returned to step a.
Description
Technical field
The present invention is error event reporting system and its method during a startup self-detection.
Background technology
It is a kind of code that can be shown to the current start progress of user through port 80 in self detection process of starting shooting to start shooting and self detect code (POST Code), POST Code appearance also help engineer or general user the rough situation of start progress can be easily judged very much through the code shown by current Port 80, when system boot process is temporarily ceased execution, also this code is can pass through to learn which point be parked in, and provides this information to engineer and mistake is detectd with profit.According to UEFI (Unified Extensible
Firmware Interface, unified Extensible Firmware Interface) framework, start shooting self detection code can be divided into three classifications:Process code(Progress code), error code(Error code)And debugging code(Debug code), and what usual startup self-detection process was seen is all that process code is just that system boot process is temporarily ceased, starting shooting, usually also a show goes out process code to self detection code.In addition, System Event Log (System event log) be in system another it is indispensable it is important detect wrong reference frame, in start process, the component (component) on mainboard, which may require that, asks mainboard manager(BMC)Log is removed, by taking BIOS as an example, through ipmi command " ADD
The event transmission to be recorded during startup self-detection to Baseboard Management Controller, is asked its help record by SEL ".
According to existing UEFI frameworks, self detection process of starting shooting is segmented into several stages:SEC, PEI, DXE and BDS, PEI phase starts, (training) can be tested for CPU QPI and memory, at this very moment, if the test of one of link is only, System Halt starting procedure is generally will result in, system stops (hangs on BIOS);For intel RC code framework, error code are not shown to the mechanism that user can refer at present, when system boot stops, user only watches the process code (progress code) shown by port 80, has no way of learning system self detection probably because what reason and stopping is started shooting at all.
In view of this, the present invention provides error event reporting system and its method during a kind of startup self-detection, it can show the error code to be made a mistake during startup self-detection when occurring, allow user to can be seen directly which part is out of joint in current boot system self-test, promotes the speed for detecing mistake.
The content of the invention
It is a primary object of the present invention to provide error event reporting system and its method during a kind of startup self-detection, it can show the error code to be made a mistake during startup self-detection when occurring, user is allowed to can be seen directly which part is out of joint in current boot system self-test, promotes the speed for detecing mistake.
For the above-mentioned purpose, the present invention provides error event reporting system during a kind of startup self-detection, and it includes:
Detection module, it is used to during BIOS performs startup self-detection detect whether that an error event occurs;
First matching module, it connects the detection module, for when the error event occurs receive by BIOS sent to should error event error code, and the error code is matched with the first form, judge that the error code whether there is in first form, if the error code is present in first form, the error code is sent;
Control module, it connects first matching module, for receiving the error code and controlling LED light group to should error code bright light;
Second matching module, it connects the control module, further compares one second form with the successful error code of the first table match for the control module to be received, the details of the error code are recalled according to the error code;And
Message processing module, it connects first matching module and second matching module, the details of error code and the error code corresponding to the error event are converted into ipmi command formats and are sent to BMC, make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log.
Preferably, the control module controls the LED light group to should error code bright light through port80.
Preferably, first matching module is equal to second matching module.
Preferably, several error events and its corresponding error code are previously stored with first form, details corresponding to each error code are recorded in second form.
Preferably, first matching module and second matching module are same module when implementing.
Preferably, the error code is a kind of self detection code of start.
Preferably, the detection module, first matching module, the control module, second matching module and the message processing module are the executable programs in BIOS.
The present invention also provides error event method for reporting during a kind of startup self-detection, and it is performed by error event reporting system during described startup self-detection, and it comprises the following steps:
A. during BIOS performs startup self-detection, detection module detects whether that an error event occurs, and if it is performs step b, if it is not, then terminating;
B. the first matching module receive by BIOS sent to should error event error code, and the error code is matched with one first form, judge that the error code whether there is in first form, if the error code is present in first form, step c is then performed, if otherwise terminated;
C. using control module controlled after the error code is received LED light group to should error code bright light, then perform step d;
D. the second matching module is utilized, further the second form will be compareed with the successful error code of the first table match, the details of the error code is recalled according to the error code, then performs step e;And
E. the details of error code and the error code corresponding to the error event are converted into ipmi command formats using message processing module and are sent to BMC, make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log, be then returned to step a.
Preferably, in step c, the LED light group is controlled to should error code bright light through port80 after the error code is received using control module.
Compared with prior art, error event reporting system and its method during startup self-detection of the present invention, it passes through when wrong event occurs, by the error code of error event by being matched with the first form, after being present in first form user is informed by way of LED light group bright light, and the details of the error code in the second form prestored are further recalled by error code and are sent to BMC and are recorded in System Event Log, thereby, the error code to be made a mistake during startup self-detection when occurring can be shown, user is allowed to can be seen directly which part is out of joint in current boot system self-test, promote the speed for detecing mistake.
【Brief description of the drawings】
Fig. 1 is the functional block diagram of error event reporting system applied to a startup self-detection system of the invention during providing a kind of startup self-detection.
Fig. 2 provides a kind of step flow chart of error event method for reporting during startup self-detection for the present invention.
【Embodiment】
Refer to shown in Fig. 1, the present invention provides error event reporting system 1 during a kind of startup self-detection, and it includes detection module 10, the first matching module 11, control module 12, the second matching module 13 and message processing module 14.
The detection module 10, it is used in BIOS(Basic Input Output System, basic input output system)Detect whether that an error event occurs during execution startup self-detection (POST).
First matching module 11, it connects the detection module 10, for when the error event occurs receive by BIOS sent to should error event error code, and the error code is matched with the first form, several error events and its corresponding error code are previously stored with first form, judge that the error code whether there is in first form, if the error code is present in first form, then the error code is sent to the control module 12, it is worth noting that, user selects more important error event and builds first form as needed.
The control module 12, it connects first matching module 11, after the error code is received, through port80 control LED light group 2 to should error code bright light, be easy to user to know the error code of error event from the bright state of lamp of the LED light group 2.
Second matching module 13, it connects the control module 12, for the control module 12 to be received further one second form is compareed with the successful error code of the first table match, details corresponding to each error code are recorded in second form, the details of the error code are recalled according to the error code.
The message processing module 14, it connects first matching module 11 and second matching module 13, and the details of error code and the error code corresponding to the error event are converted into ipmi command formats and are sent to BMC (Baseboard Management
Controller, baseboard management controller), make the BMC that the details of error code and the error code corresponding to the error event are recorded in into System Event Log(System event log, SEL)In, consequently, it is possible to the point that engineer soon can temporarily cease through the system process that user is returned, the event information that is recorded in collocation system event log, which partly goes wrong when rapidly associating, and promotes the speed for detecing mistake.
In another embodiment, first matching module 11 is equal to second matching module 13, that is to say, that first matching module 11 and second matching module 13 are same module when implementing.
In the present embodiment, the error code is a kind of self detection code of start.
In the present embodiment, the detection module 10, first matching module 11, the control module 12, second matching module 13 and the message processing module 14 are the executable programs in BIOS.
It please arrange in pairs or groups shown in Fig. 1 and further reference chart 2, the present invention is provided and also provides error event method for reporting during a kind of startup self-detection, and it is performed by error event reporting system during the startup self-detection described in Fig. 1, and is comprised the following steps:
Step 100:During BIOS performs startup self-detection (POST), the detection module 10 detects whether that an error event occurs, and if it is performs step 110, if it is not, then terminating.
Step 110:First matching module 11 receive by BIOS sent to should error event error code, and the error code is matched with the first form, judge that the error code whether there is in first form, the error code of all error events is previously stored with first form, if the error code is present in first form, step 120 is then performed, if otherwise terminated.
Step 120:Controlled using control module 12 after the error code is received LED light group 2 to should error code bright light, then perform step 130;
Step 130:Utilize the second matching module 13, further the second form will be compareed with the successful error code of the first table match, details corresponding to each error code are recorded in second form, the details of the error code are recalled according to the error code, then perform step 140.
Step 140:The details of error code and the error code corresponding to the error event are converted into ipmi command formats using message processing module 14 and are sent to BMC, make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log.
For example, in the past, when system hang is lived, port 80 only can show process code 0xA3, system lives in this point hang, but user also only see arrive 0xA3, can not also be understood by way of checking SEL and which kind of mistake occurs.But, pass through abovementioned steps of the present invention, when system is lived with regard to hang and after 80 show process code 0xA3 of port, the error code such as 0xDC of error event can be spread out of in BIOS, now first judges that the error code whether there is in the first pre-defined form, if, error code 0xDC is then dropped into port 80, that is, user can first see process code 0xA3 on port 80, error code 0xDC then can be appreciated that.Then, judge the error code whether in second form pre-defined again, if it is, this error code is matched with predefined second form, recall details corresponding to the error code, BMC is sent to through ipmi command command formats again, makes the BMC that the details of error code and the error code corresponding to the error event are recorded in into System Event Log(SEL)In, thereby, user can see System Event Log and engineer can also pass through user and return the error code that port80 is shown, quickly carry out detecing mistake.
In summary, the various embodiments described above and diagram be only presently preferred embodiments of the present invention, but can not with restrictions the present invention implementation scope, i.e., the equivalent changes and modifications made generally according to claims of the present invention, should all remain within the scope of the patent.
Claims (10)
- A kind of 1. error event reporting system during startup self-detection, it is characterised in that including:Detection module, it is used to during BIOS performs startup self-detection detect whether that an error event occurs;First matching module, it connects the detection module, for when the error event occurs receive by BIOS sent to should error event error code, and the error code is matched with the first form, judge that the error code whether there is in first form, if the error code is present in first form, the error code is sent;Control module, it connects first matching module, for receiving the error code and controlling LED light group to should error code bright light;Second matching module, it connects the control module, further compares one second form with the successful error code of the first table match for the control module to be received, the details of the error code are recalled according to the error code;AndMessage processing module, it connects first matching module and second matching module, the details of error code and the error code corresponding to the error event are converted into ipmi command formats and are sent to BMC, make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log.
- 2. error event reporting system during startup self-detection according to claim 1, it is characterised in that the control module controls the LED light group to should error code bright light through port80.
- 3. error event reporting system during startup self-detection according to claim 1, it is characterised in that first matching module and second matching module are same module when implementing.
- 4. error event reporting system during startup self-detection according to claim 1, it is characterised in that several error events and its corresponding error code are previously stored with first form, details corresponding to each error code are recorded in second form.
- 5. error event reporting system during startup self-detection according to claim 1, it is characterised in that first matching module is equal to second matching module.
- 6. error event reporting system during startup self-detection according to claim 1, it is characterised in that the error code is a kind of self detection code of start.
- 7. error event reporting system during startup self-detection according to claim 1, it is characterised in that the detection module, first matching module, the control module, second matching module and the message processing module are the executable programs in BIOS.
- 8. error event method for reporting during a kind of startup self-detection, it is performed by error event reporting system during the startup self-detection described in claim 1, it is characterised in that is comprised the following steps:A. during BIOS performs startup self-detection, detection module detects whether that an error event occurs, and if it is performs step b, if it is not, then terminating;B. the first matching module receive by BIOS sent to should error event error code, and the error code is matched with one first form, judge that the error code whether there is in first form, if the error code is present in first form, step c is then performed, if otherwise terminated;C. using control module controlled after the error code is received LED light group to should error code bright light, then perform step d;D. the second matching module is utilized, further will compare the second form with the successful error code of the first table match, the details of the error code are recalled according to the error code, then perform step e;AndE. the details of error code and the error code corresponding to the error event are converted into ipmi command formats using message processing module and are sent to BMC, make the BMC that the details of error code and the error code corresponding to the error event are recorded in System Event Log, be then returned to step a.
- 9. error event method for reporting during the startup self-detection described in a claim 8, it is characterised in that in step c, the LED light group is controlled to should error code bright light through port80 after the error code is received using control module.
- 10. error event method for reporting during the startup self-detection described in a claim 8, it is characterised in that several error events and its corresponding error code are previously stored with first form, details corresponding to each error code are recorded in second form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308838.6A CN107357694A (en) | 2016-05-10 | 2016-05-10 | Error event reporting system and its method during startup self-detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308838.6A CN107357694A (en) | 2016-05-10 | 2016-05-10 | Error event reporting system and its method during startup self-detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107357694A true CN107357694A (en) | 2017-11-17 |
Family
ID=60271311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610308838.6A Pending CN107357694A (en) | 2016-05-10 | 2016-05-10 | Error event reporting system and its method during startup self-detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357694A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182138A (en) * | 2018-01-24 | 2018-06-19 | 郑州云海信息技术有限公司 | Acquisition methods, system, device and the storage medium of BMC SEL daily records |
CN108959051A (en) * | 2018-06-29 | 2018-12-07 | 深圳市同泰怡信息技术有限公司 | System log collection method |
CN109032880A (en) * | 2018-07-26 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of hardware adjusting, measuring method and device cooperateing with BIOS self-test |
CN111651321A (en) * | 2020-05-26 | 2020-09-11 | 深圳市同泰怡信息技术有限公司 | Method, device, storage medium and computer equipment for analyzing system event record |
CN112256467A (en) * | 2020-10-23 | 2021-01-22 | 英业达科技有限公司 | Error type judging system and method thereof |
CN113687967A (en) * | 2020-05-18 | 2021-11-23 | 佛山市顺德区顺达电脑厂有限公司 | Method for recording startup error information |
TWI767378B (en) * | 2020-10-27 | 2022-06-11 | 英業達股份有限公司 | Error type determination system and method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1873617A (en) * | 2005-06-03 | 2006-12-06 | 鸿富锦精密工业(深圳)有限公司 | Method and system for recognizing error codes of failure diagnosis card for main board |
CN1987809A (en) * | 2005-12-22 | 2007-06-27 | 佛山市顺德区顺达电脑厂有限公司 | Method for self detecting result of basic input and output system |
CN101046762A (en) * | 2006-03-29 | 2007-10-03 | 鸿富锦精密工业(深圳)有限公司 | Master plate monitoring system and method |
CN104424084A (en) * | 2013-08-27 | 2015-03-18 | 鸿富锦精密电子(天津)有限公司 | System error information detection system and method for server |
-
2016
- 2016-05-10 CN CN201610308838.6A patent/CN107357694A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1873617A (en) * | 2005-06-03 | 2006-12-06 | 鸿富锦精密工业(深圳)有限公司 | Method and system for recognizing error codes of failure diagnosis card for main board |
CN1987809A (en) * | 2005-12-22 | 2007-06-27 | 佛山市顺德区顺达电脑厂有限公司 | Method for self detecting result of basic input and output system |
CN101046762A (en) * | 2006-03-29 | 2007-10-03 | 鸿富锦精密工业(深圳)有限公司 | Master plate monitoring system and method |
CN104424084A (en) * | 2013-08-27 | 2015-03-18 | 鸿富锦精密电子(天津)有限公司 | System error information detection system and method for server |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182138A (en) * | 2018-01-24 | 2018-06-19 | 郑州云海信息技术有限公司 | Acquisition methods, system, device and the storage medium of BMC SEL daily records |
CN108959051A (en) * | 2018-06-29 | 2018-12-07 | 深圳市同泰怡信息技术有限公司 | System log collection method |
CN109032880A (en) * | 2018-07-26 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of hardware adjusting, measuring method and device cooperateing with BIOS self-test |
CN113687967A (en) * | 2020-05-18 | 2021-11-23 | 佛山市顺德区顺达电脑厂有限公司 | Method for recording startup error information |
CN111651321A (en) * | 2020-05-26 | 2020-09-11 | 深圳市同泰怡信息技术有限公司 | Method, device, storage medium and computer equipment for analyzing system event record |
CN112256467A (en) * | 2020-10-23 | 2021-01-22 | 英业达科技有限公司 | Error type judging system and method thereof |
TWI767378B (en) * | 2020-10-27 | 2022-06-11 | 英業達股份有限公司 | Error type determination system and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357694A (en) | Error event reporting system and its method during startup self-detection | |
US8904160B2 (en) | Electronic device which automatically sets up multiple operating systems for a test system by generating an emptied boot record status and loading a target operating system according to the emptied boot record status | |
CN109510742B (en) | Server network card remote test method, device, terminal and storage medium | |
CN110162435B (en) | Method, system, terminal and storage medium for starting and testing PXE of server | |
CN107656856B (en) | CPLD-based system state display method and device | |
RU2005110041A (en) | EFFECTIVE CORRECTION OF PROGRAMS | |
CN110427735A (en) | A kind of method of calibration, device, server and storage medium | |
US20120191963A1 (en) | BIOS Updating System, BIOS Updating Method, and Related Computer Program Product | |
US8117430B2 (en) | Boot test system and method thereof | |
WO2020000945A1 (en) | Nvme backplane lighting control method, system, medium and device | |
KR100831117B1 (en) | Method and system for automatic technical support for computers | |
CN116775141A (en) | Abnormality detection method, abnormality detection device, computer device, and storage medium | |
CN109002397B (en) | Controller smoking test system and test method | |
CN107870840B (en) | IPMI-based server multi-test instruction automatic execution method | |
CN112463610A (en) | Test process control method and device | |
CN102801576A (en) | Detection system and detection method for network equipment | |
CN110134558B (en) | Method and device for detecting server | |
CN115168146A (en) | Anomaly detection method and device | |
CN112100051B (en) | Automatic smoking testing system and testing method thereof | |
CN102023916B (en) | Computer system detection method | |
WO2016119398A1 (en) | Method, apparatus and system for detecting suspension and runaway faults of tested device | |
CN113010422A (en) | Mirror image file testing method and device, electronic equipment and readable storage medium | |
TW202018507A (en) | A host boot detection method and its system | |
CN115883822B (en) | Method and device for debugging camera of online examination system and storage medium | |
JP4045447B2 (en) | System identification method and server monitoring system |
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: 20171117 |