Methods to improve the reliability of the reboot command and increase the reset log

A reliability and log technology, applied in the fields of instruments, digital data processing, hardware monitoring, etc., can solve the problems of the Linux file system cannot be reset and restarted, and there is no restart failure log, etc., to improve the robustness, maintainability and management capabilities, and flexibility. The effect of convenient universality and reliable reset

Active Publication Date: 2018-05-29
烽火超微信息科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to solve the problem that the Linux file system cannot be reset and restarted and there is no restart failure log

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
  • Methods to improve the reliability of the reboot command and increase the reset log
  • Methods to improve the reliability of the reboot command and increase the reset log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention, based on the kernel high-precision timer, reboot command and kernel monitoring module, first starts a kernel high-precision timer at the entrance of executing the reboot command (restart command), and at the end of the normal reset flow, controls the CPU through the user mode application program Register to reset the Linux file system, and record the reset reason log. If it fails, call the default code of the reboot command to execute the Linux file system reset, and record the reset reason log. When the kernel high-precision timer times out, the Linux file system is not reset successfully. In the kernel mode, the Linux file system reset is completed by directly controlling the CPU registers, and various reset reasons are recorded in the system log file. The double protection of the user space and the kernel space can maximize the reliability of the reboot command to complete the restart. When the Linux file system is damaged and the reboot command...

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 invention discloses a method for improving the reboot command restart reliability and increasing reset logs.The method includes the steps that a kernel monitoring module is added and loaded, a kernel timer is initialized, and the reset monitor timeout time is set; after a reboot command is received, a reset script is executed; within the timeout time, reset cause logs are recorded through a user mode reset system at the end of reset script execution, and if reset fails, the reboot command is executed to reset the system, and the reset cause logs are recorded; if system reset fails after timeout, a kernel mode reset system records the reset cause logs.The timer is started to monitor reset by increasing user mode application programs and kernel mode reset control protection, the reset cause logs are increased for query, the kernel monitoring module is controlled to reset the system when the reboot command cannot reset the system due to system anomaly, system reset measures are increased, and the robustness and maintainable management capability of the system are improved.

Description

technical field [0001] The invention relates to Linux system management and fault diagnosis, in particular to a method for improving the restart reliability of a reboot command and increasing reset logs. Background technique [0002] The communication system requires high stability. During system upgrades, equipment engineering activation, or troubleshooting, it is often necessary to use the reboot command to restart the system. The Linux reboot command calls sys_reboot through the api, and finally calls the function machine_restart related to the CPU platform. reboot. [0003] Before restarting, the Linux file system will execute the script / etc / rc6.d / S01reboot to complete the safe uninstallation of the file system, the exit of the application process, and the safe stop of the service, etc., so as to protect the Linux file system from damage to the maximum extent, but If a certain operation hangs or is abnormal, the reboot command will always hang. For the user, it is the ...

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/30
CPCG06F11/302
Inventor 邓艳山陈俊强尹淇
Owner 烽火超微信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products