Changes between Version 5 and Version 6 of troubleshooting


Ignore:
Timestamp:
01/27/2021 09:17:11 PM (3 years ago)
Author:
Tim Harvey
Comment:

add initcall debug

Legend:

Unmodified
Added
Removed
Modified
  • troubleshooting

    v5 v6  
    8585* [https://www.kernel.org/doc/ols/2009/ols2009-pages-39-46.pdf Dynamic Debug by Jason Baron of Red Hat (2009)]
    8686
     87[=#initcall]
     88=== debugging kernel hangs by enabling initcall_debug
     89If you are troubleshooting a kernel hang it is usually best to pass {{{initcall_debug}}} to the kernel cmdline which will show you driver init calls entering and returning. If you see a driver enter init but not return, you know what driver is causing the hang.
     90
     91
    8792== Early Serial Debug ==
    8893Typically the serial drivers don't get initialized until after some of the more critical components. This can result in any kernel crash/hang not reporting anything from the serial console after {{{'Starting kernel ....'}}}