Supercharge Your Innovation With Domain-Expert AI Agents!

The method of recording the system log when the system starts

A recording system and log technology, applied in the direction of using power-on test to detect faulty hardware, faulty computer hardware, instruments, etc., can solve the problems of low pin count interface, inspection log recording troubles, etc., to achieve easy viewing and not easy to trouble Effect

Active Publication Date: 2021-07-09
KUNDA COMP TECHKUSN +1
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Users can use it to check the cause of errors, or to find traces left by attackers when they are attacked. During the system boot process, the Baseboard Management Controller (BMC for short) needs to When the OutputSystem (BIOS for short) starts the Power-On Self Test (POST for short), a system event log (System Event Log, SEL for short) is recorded, but when the system is turned on, the BIOS quickly ( Within about four or five seconds) related settings of the Intel Quick Path Interconnect (QPI) will be performed, resulting in a reset of the Low Pin Count Interface (LPC). Therefore, The basic input and output system needs to restart the power-on self-test to make the above settings take effect. So far, since the baseboard management controller has performed two power-on self-tests when the system is powered on, the system will record two system logs of the start of the power-on self-test (Start Of POSTevent log), which is likely to cause confusion for users when checking log records afterwards

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • The method of recording the system log when the system starts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The method for recording the system log when the system is turned on in the present invention, by changing the high / low level state of the general output / input interface of the power-on self-test, and cooperating with setting the ignore flag and the record flag, so that during the system startup process Only one system event log of the start of power-on self-test is recorded, which is convenient for users to check after the event and is not easy to cause trouble.

[0016] see figure 1 , is the flow chart of the method for recording the system log when the system of the present invention is started, as shown in the figure,

[0017] Step 11: Determine whether the power-on button of the system is pressed (the baseboard management controller receives the PSGood signal from the system), if yes, go to step 12, if not, end the process;

[0018] Step 12: Set the initial value of the record flag to 1, ignore the initial value of the flag to 0, and go to step 13;

[0019] Step ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method for recording system logs when the system is turned on. The method includes: after the start button of the system is pressed and the power is turned on, respectively setting the initial values ​​of the record flag and the ignore flag; the system first Perform power-on self-test for the first time, and set the voltage state of Start Of POST GPIO from high level to low level. When the baseboard management controller monitors that the voltage state of Start Of POST GPIO changes from high level to low level, According to the record flag and the initial value of the ignore flag, record the system log that the first power-on self-test starts, and set the record flag and the modified value of the ignore flag at the same time; the system performs the second power-on self-test Check, set the voltage state of Start Of POST GPIO from high level to low level, when the baseboard management controller monitors that the voltage state of Start Of POST GPIO changes from high level to low level, the baseboard management controller Modified values ​​of the record flag and the ignore flag do not record the syslog of the start of the second POST.

Description

technical field [0001] The invention relates to the field of system program control and data access, in particular to a method for recording system logs when the system is started. Background technique [0002] The system log records information about the hardware, software, and system status and problems in the system. At the same time, the system log can also be used to monitor events that occur in the system. Users can use it to check the cause of errors, or to find traces left by attackers when they are attacked. During the system boot process, the Baseboard Management Controller (BMC for short) needs to When the OutputSystem (BIOS for short) starts the Power-On Self Test (POST for short), a system event log (System Event Log, SEL for short) is recorded, but when the system is turned on, the BIOS quickly ( Within about four or five seconds) related settings of the Intel Quick Path Interconnect (QPI) will be performed, resulting in a reset of the Low Pin Count Interface ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34G06F11/22
CPCG06F11/2284G06F11/3476
Inventor 苏谦怀
Owner KUNDA COMP TECHKUSN
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More