Missing panic logs in /var/log/kern.log

manty kuma mantykuma at gmail.com
Tue Jun 1 01:33:50 EDT 2021


I just triggered a panic, expecting that the logs will be visible in
`/var/log/kern.log` after reboot, but there are no logs present there.

Considering I have no access to the serial port, how do I know what went
wrong?

Is there anything we can do to make sure that the kernel log contains all
the messages until before reboot?

# sysctl kernel.panic
kernel.panic = 30

If more information is needed, please let me know.

Best Regards,
Manty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210601/ae7da9dc/attachment.html>


More information about the Kernelnewbies mailing list