Hello,
I am getting a kernel panic message after that the processor hangs and the only way to recover is to do a power on reset. Is there any other way that once kernel panic happens the processor reboots automatically?
Regards
Santhosh
Solved! Go to Solution.
Hi Santhosh
in general wdog can be used in such situations, it can reset pmic and all board,
example can be found in i.MX8M Mini EVK design
Best regards
igor
Hi Santhosh
in general wdog can be used in such situations, it can reset pmic and all board,
example can be found in i.MX8M Mini EVK design
Best regards
igor
Thanks,
Link: https://www.techrepublic.com/blog/linux-and-open-source/auto-reboot-linux-after-a-kernel-panic/
I also configured Linux to automatically reboot on a kernel panic by making a small modification to /etc/sysctl.conf,
Add the following to /etc/sysctl.conf:
kernel.panic = 20
This tells the kernel that if it encounters a panic, it is to reboot the system after a 20 second delay. By default, the kernel will never reboot when it encounters a panic, but with the above setting you can force it to.
Regards
Santhosh