Current Linux Kernel debugging techniques

后端 未结 5 1635
遇见更好的自我
遇见更好的自我 2021-02-02 11:34

A linux machine freezes few hours after booting and running software (including custom drivers). I\'m looking a method to debug such problem. Recently, there has been significan

5条回答
  •  隐瞒了意图╮
    2021-02-02 12:27

    There are many and varied techniques depending on the sort of problems you want to debug. In your case the first question is "is the system really frozen?". You can enable the magic sysrq key and examine the system state at freeze and go from there.

    Probably the most directly powerful method is to enable the kernel debugger and connect to it via a serial cable.

提交回复
热议问题