A method and a system for locating problem breakpoints based on Linux
A positioning method and positioning system technology, applied in the field of Linux breakpoint resolution, can solve problems such as inability to locate, downtime, and affect the startup program, and achieve the effect of highlighting substantive features, reliable design principles, and wide application prospects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Such as figure 1 As shown, a kind of location method based on Linux problem breakpoint provided by the present invention is characterized in that, comprises the following steps:
[0028] S1: Predict the location of the downtime;
[0029] S2: Add search parameters to grub;
[0030] S3: Enter the corresponding power-off shell according to the search parameters added in step S2; check the status of the hardware under the system; determine the exact location of the downtime.
[0031] In this embodiment, in the step S1, the location of the downtime is pre-locked according to the startup process of Linux.
[0032] In this embodiment, in the step S2, add search parameters to grub according to the startup phase of Linux.
[0033] In this embodiment, in the step S2, the added search parameters are as follows:
[0034] rd.break=[cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot|cleanup].
Embodiment 2
[0036] Such as figure 2 As shown, a kind of positioning system based on Linux problem breakpoint provided by the present invention is characterized in that, comprising:
[0037] The downtime location prediction module pre-locks the downtime location according to the Linux startup process;
[0038] Find the parameter adding module, according to the startup phase of Linux, add the search parameter to grub;
[0039] Shell checks the module, enters the corresponding power-off shell according to the search parameters; checks the status of the hardware under the system; determines the exact location of the downtime.
[0040] In this embodiment, the search parameters in the search parameter adding module are as follows:
[0041] rd.break=[cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot|cleanup].
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

