Re: Debugging system hangs

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

 



>>>>> "Phil" == Phil Turmel <philip@xxxxxxxxxx> writes:

Phil> 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
>> 

Phil> +1 for netconsole.  Also enable the SysRq key for thread dumps.
Phil> So you have the dump before you reset.

Can you explain more about your hardware?  Is it new?  Have you made
any changes recently?  Is there any over clocking?  As for changes,
I'm talking both hardware and software.  What daemons are you running?
Anything that changed is a good thing to take a long hard look at.  

If you have another system, remote syslog might also be something to
add into the mix.  I also really like serial consoles, so you can
capture all the output onto another system easily.

It might also be useful to try going back to an older kernel, but I
haven't a clue how hard that is with gentoo.  Does the distro still
expect you to compile everything and bootstrap yourself these days?

Good luck!
John




[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