Analyzing CPU registers during kernel crash dump

后端 未结 3 563
你的背包
你的背包 2021-01-07 08:25

I was debugging a issue and hit the below kernel crash along with crash dump being generated. To some extent i do know, how to get to the exact line in the code where the is

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-07 09:19

    See here... This has good documentation on how to debug kernel crashes.. See the section Objdump

    What it tells it that you can disassemble your kernel image using objdump on vmlinux image. This command will output a large a text file of your kernel source code ... You can then grep for the problem causing EIP in the previously created output file.

    PS: I would recommend doing objdump on vmlinux and saving it locally.

提交回复
热议问题