Comparison of Fault Simulation Over Custom Kernel Module Using Various Techniques

  • Muhammad Ejaz Sandhu Department of Computer Science, The Institute of Management Sciences, Lahore, Pakistan
Keywords: Device Drivers, Fault simulation, KEDR Framework, Linux, Linux Test Project (LTP), Linux Fault-Injection (LFI), memory leak detection, SCSI


To test the behavior of the Linux kernel module, device drivers and file system in a faulty situation, scientists tried to inject faults in different artificial environments. Since the rarity and unpredictability of such events are pretty high, thus the localization and detection of Linux kernel, device drivers, file system modules errors become unfathomable. ‘Artificial introduction of some random faults during normal tests’ is the only known approach to such mystifying problems. A standard method for performing such experiments is to generate synthetic faults and study the effects. Various fault injection frameworks have been analyzed over the Linux kernel to simulate such detection. The following paper highlights the comparison of different approaches and techniques used for such fault injection to test Linux kernel modules that include simulating low resource conditions and detecting memory leaks. The frameworks chosen to be used in these experiments are; Linux Text Project (LTP), KEDR, Linux Fault-Injection (LFI), and SCSI.