Re: Debugging system hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux