On 12/14/21 12:46 PM, Roman Mamedov wrote:
On Tue, 14 Dec 2021 15:54:50 +0000
Wols Lists <antlists@xxxxxxxxxxxxxxx> wrote:
Any advice on how to debug a hang - basically I need something that'll
just sit there so when it crashes (and I press the reset button to
recover) I'll have some sort of trace. It would be nice to prove it's
not the disk stack at fault ...
Obviously, "set these options in the kernel" won't faze me ...
Set up "netconsole":
https://www.kernel.org/doc/html/latest/networking/netconsole.html
https://wiki.ubuntu.com/Kernel/Netconsole
+1 for netconsole. Also enable the SysRq key for thread dumps. So you
have the dump before you reset.