~/talk

Linux Kernel Debugging: Going Beyond Printk Messages

links:none on file
slides:none on file

Demonstrations show concrete steps: use addr2line to map a panic PC to linux source lines, capture oops across reboots with pstore reserves 2MB to save kernel logs on soft reboot, collect a vmcore via crashkernel=64M + kexec/kdump and analyze with gdb/crash, and attach kgdb over serial (proxy created with TCP ports e.g. 5550) to step through kernel code. ftrace function_graph traces revealed a deadlock in the CPUfreq governor caused by nested mutex acquisition. Some demos need minor target-specific setup but all techniques work end-to-end.

AI-written summary · about

  1. 0:00Start
  2. 1:04THIS TALK IS NOT ABOUT
  3. 2:40DEBUGGING STEP-BY-STEP
  4. 3:30TYPES OF PROBLEMS
  5. 4:32TOOLS AND TECHNIQUES
  6. 6:09PROBLEMS VS TECHNIQUES
  7. 10:41KERNEL PANIC
  8. 18:57CONFIGURING PSTORE
  9. 29:30KERNEL DEBUGGING WITH GDB
  10. 39:00TRACE EVENTS
  11. 39:15KPROBE
  12. 39:37FRAMEWORKS AND TOOLS
  13. 40:44ENABLING FTRACE
  14. 41:19FUNCTION TRACER
  15. 51:01DEBUGGING LOCKUPS
  16. 51:20CONCLUSION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.