~/talk

Making the Kernel Chat: How To Get Debug Output

links:none on file
slides:none on file

Begins with a practical claim: silent kernel boots or early crashes are solvable by choosing the right mechanism and knowing what output to expect. Shows how to use earlycon or architecture-specific earlyprintk on x86 and arm32 to get pre-serial output, how to stream logs offboard with netconsole, and how to persist or retrieve postmortem data with pstore or RAM oops. Covers command-line knobs (keep_bootcon, panic, initcall_debug, ftrace dump on oops), extracting the log buffer from memory or U-Boot, and simple hacks like GPIO blink markers or using OpenOCD to dump the log buffer.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:05Why kernel debug output matters
  3. 2:27Prerequisites for debugging
  4. 5:55When kernel output stops
  5. 8:01Kernel command line debugging options
  6. 9:48Runtime kernel crash debugging
  7. 13:45Early printk and debug mechanisms
  8. 18:19Netconsole for kernel logging
  9. 20:49Persistent storage with pstore
  10. 23:42Ftrace and kernel command line
  11. 25:06Reading kernel log from memory
  12. 27:15Magic SysRq key debugging
  13. 29:23Decoding kernel stack traces
  14. 30:47Alternative debugging tools
  15. 32:54Using Git bisect and GPIO debug
  16. 35:01Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.