The command I use to panic the kernel is:

echo c > /proc/sysrq-trigger


On Mon, Feb 7, 2022 at 1:21 PM David Kahurani <[email protected]> wrote:

> Hello,
>
> I have an Ubuntu system on which I have compiled a kernel and booted into
> it. I mostly based the config on the old configuration.
>
> I expect that running this command [1] should lead to a kernel panic but
> strangely it does not and it only leads to freeze. I don't see the kernel
> panic messages but the system does freeze and I have to use the power
> button to reboot. It is possible that I am supposed to configure something
> but have not, maybe I missing something. Could someone tell me what I am
> missing out on?
>
> Thanks in advance.
>
> Regards,
> David
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to