I normally would test whether sysrq + sub
works when the kernel panic occurs, but "unfortunately" my system works pretty stable, and I have no idea how to make kernel panic. So the question is very simple. Does sysrq work when the kernel panics, or do I have to reboot the machine by using the reset button?
A bonus question: When the kernel reboots the system via the kernel.panic
sysctl parameter, is it the exact same situation compared to pressing the reset button? Does the kernel make any actions before restarting the system, for instance sync or remount read-only?