Method for improving reboot command restart reliability and increasing reset logs

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: 2016-07-13
烽火超微信息科技有限公司
View PDF5 Cites 4 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
  • Method for improving reboot command restart reliability and increasing reset logs
  • Method for improving reboot command restart reliability and increasing reset logs

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, firstly starts a kernel high-precision timer at the entrance of executing the reboot command (restart command), and at the end of the normal reset process, the CPU is controlled by the user mode application program Register to reset the Linux file system and record the reset reason log. If unsuccessful, 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 expires, the Linux file system is not reset successfully. In the kernel mode, the Linux file system is reset by directly controlling the CPU register, and various reset reasons are recorded to the system log file. The dual protection of user space and kernel space can maximize the reliability of the reboot command to complete the restart. In the case that the Linux file system is damaged and the reboot command cann...

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 reliability of a reboot command and adding a reset log. Background technique [0002] The communication system requires high stability. During system upgrades, equipment engineering openings or troubleshooting, the reboot command is often used to restart the system. The Linux reboot command calls sys_reboot through the api, and finally calls the CPU platform-related function machine_restart to complete 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 services, etc., to protect the Linux file system from damage to the greatest extent, but If an operation hangs or is abnormal, the reboot command will hang all the time. For users, the Linux reboot command causes the system to die, ther...

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 Applications(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