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
Kernel log messages can be viewed in /var/log/dmesg files even after restart of the system.
/var/log/dmesg
There will be so many files with dmesg.X, and those files are previous kernel logs. dmesg is the latest file.
dmesg
See difference between dmesg and /var/log/kern.log