我要评分
获取效率
正确性
完整性
易理解

Fault Locating

If a system cannot be operated but does not restart, the system is suspended. Figure 1 shows how to locate and rectify the fault.

Figure 1 Fault locating for system suspension
  1. Configure kdump so that the system can collect crash information for subsequent debugging.
  2. Configure kernel parameters so that the suspension problem can cause the system to break down.
  3. Reproduce the problem and confirm that a vmcore file is generated.
  4. Use Crash to debug the vmcore file and locate the fault.
  5. Analyze the cause and modify the code. Then perform a verification.
  6. If the verification is successful, the code is integrated and no further action is required.
  7. If the verification fails, add debugging information, recompile the code, and run the code to reproduce the problem.