Getting Linux kernel debug information after a kernel crash

前端 未结 6 1737
半阙折子戏
半阙折子戏 2021-01-05 17:02

Is there a way to get kernel previous debug information after kernel crash occurs.

I am trying to develop a kernel module which basically captures IP packets in the

6条回答
  •  一向
    一向 (楼主)
    2021-01-05 17:22

    Kernel log messages can be viewed in /var/log/dmesg files even after restart of the system.

    There will be so many files with dmesg.X, and those files are previous kernel logs. dmesg is the latest file.

    See difference between dmesg and /var/log/kern.log

提交回复
热议问题