Debugging RISC-V Kernel Crashes - KDUMP, vmcore, and Crash Utility Enhancements
Linux Plumbers Conference via YouTube
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to debug RISC-V kernel crashes through this 20-minute conference talk that demonstrates practical techniques for enabling KDUMP, extracting vmcore files, and analyzing them using crash utility enhancements. Discover the challenges of debugging kernel crashes on real RISC-V hardware boards like VisionFive2, where traditional kernel logs provide insufficient debugging information. Explore the process of enabling KDUMP on actual hardware rather than just QEMU emulation, understanding why real board testing is crucial for production environments. Examine specific patches required to successfully extract vmcore files from RISC-V devices when standard methods fail. Investigate solutions for crash utility limitations that prevent proper display of debugging information when analyzing RISC-V vmcore files. Understand the importance of vmcore analysis for silicon vendors developing RISC-V devices, particularly for accessing critical signatures like CSRs and kernel data structures. Review future development plans for extending KDUMP support to additional RISC-V boards including Beagle boards and ongoing improvements to crash utility functionality for comprehensive RISC-V debugging support.
Syllabus
Debugging RISC-V Kernel Crashes: KDUMP, vmcore, and Crash Utility Enhancements - Austin Kim
Taught by
Linux Plumbers Conference