The kdump test automation suite helps run the kdump tests and report
results. The testscript cycle through a series of crash scenarios.
Each test cycle does the following:
1. Sets up a crash scenario.
2. Forces a crash.
3. Kdump kernel boots and saves a vmcore.
4. System reboots to 1st kernel.
5. vmcore is validated and results are saved.
6. After a 1 to 2 minute delay, the next crash scenario is setup and invoked.
The test machine would be unavailable for any other work during the
period of the test run.
The scripts make use of the crasher module for basic testing of kdump
and the new Linux Kernel Dump Test Module (LKDTM) for more involved
testing. LKDTM makes use of the kprobes infrastructure for inserting
crashpoints into the kernel at run-time. Thus the kernel need not
be patched and rebuilt.
Kdump functionality has been a part of kernel.org kernels, SuSE
Enterprise Linux Version 10 and other distributions like RedHat.
The tests will be useful for testing the kdump functionality.
The code has been tested on different architecture like ia32, x86_64
and IBM powerpc.
Attaching here is the patch to add these tests to LTP. Let me know if
it can be integrated with LTP.
I will be glad to answer any questions you may have about these test
The patch is around 1.1M so have gzipped it before attaching.