计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

一种指令级Linux内核瞬时故障注入方法研究

张影,杨麦顺,张兴军,郭庆伟   

  1. (西安交通大学电子与信息工程学院,西安 710049)
  • 收稿日期:2014-05-13 出版日期:2015-08-15 发布日期:2015-08-15
  • 作者简介:张影(1989-),女,硕士研究生,主研方向:嵌入式系统;杨麦顺,高级工程师;张兴军,教授;郭庆伟,硕士研究生。
  • 基金项目:
    国家“863”计划基金资助重大项目(2008AA01A202)。

Research on Instruction-level Transient Fault Injection Method for Linux Kernel

ZHANG Ying,YANG Maishun,ZHANG Xingjun,GUO Qingwei   

  1. (School of Electronics and Information Engineering,Xi’an Jiaotong University,Xi’an 710049,China)
  • Received:2014-05-13 Online:2015-08-15 Published:2015-08-15

摘要: 为对Linux操作系统的可靠性和健壮性进行测试,提出一种指令级Linux内核瞬时故障注入方法。该方法允许测试人员动态地向指定的内核指令及其运行环境注入故障,并根据测试需求设计合适的故障模式,从而收集系统的反馈信息,研究导致系统失效的故障模式,实现对Linux系统可靠性与健壮性的有效测试。以Linux 2.6.32内核为目标系统进行故障注入实验,结果表明,该方法能够有效地对内核指令及其运行环境进行故障注入,并在此基础上完成Linux系统对不同故障的敏感度统计。

关键词: Linux内核, 故障注入, 可靠性, 健壮性, 测试, Linux系统

Abstract: This paper presents a Instruction-level Fault Injection Method for Linux Kernel(IFIMK),which tests the reliability and robustness of a Linux operating system.The proposed method can inject fault to special kernel instruction and its running environment to collect the information and summarize the fault models which lead to the failure of a system,so as to test the reliability and robustness of a computer system,and the fault can be designed by the testers depending on the specific needs.Through the fault injection test for the Linux kernel of version 2.6.32,it proves that the IFIMK method can inject the fault into kernel efficiently.According to this method,the sensitivity statistics of the Linux system for different faults can be achieved.

Key words: Linux kernel, fault injection, reliability, robustness, test, Linux system

中图分类号: