On Mon, Feb 7, 2022 at 5:00 PM Wonhyuk Yang <vvghjk1234@xxxxxxxxx> wrote:
On Mon, Feb 7, 2022 at 7:59 PM David Kahurani <k.kahurani@xxxxxxxxx> wrote:
>> 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?
>
> echo c > /proc/sysrq-trigger [1]
Thanks, this could help too.
I figured I could use kdump to save the dmesg logs but it doesn't seem to work with later kernels.
Did you use the GUI terminal? In my ubuntu, I can see the panic
message when I used virtual terminal(Ctrl+Alt+F3).
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies