用软件中断实现的Linux内核故障注入方法  被引量:3

Software interrupt implemented fault injection method in Linux kernel

在线阅读下载全文

作  者:郭庆伟[1] 杨麦顺[1] 张影[1] 张兴军[1] 

机构地区:[1]西安交通大学电子与信息工程学院,西安710049

出  处:《计算机应用》2014年第A02期200-203,共4页journal of Computer Applications

基  金:国家863计划项目(2008AA01A202)

摘  要:针对容错操作系统的可靠性评测问题,提出一种向Linux内核注入"单个位"故障的方法。基于x86体系结构中的软件中断机制,首先利用可加载内核模块机制在时钟中断中设置一个探测点,然后将用户态的故障数据传输到内核空间,最后利用一种C/S结构的故障注入模型,分别向Linux内核的arch、fs、kernel和mm四个子系统注入故障(瞬时型、间歇型和永久型)6 700余次。实验结果表明,与arch和fs子系统相比,kernel和mm子系统对故障的敏感度较高,平均检测故障覆盖率达到38.23%;与数据段相比,内核代码段对故障的敏感度较高,平均检测故障覆盖率达到73.49%,该方法提高了容错型操作系统可靠性评测的速度和准确度。Aiming at the problem of evaluating the dependability of fault-tolerant operating system, a scheme was proposed to inject single-bit faults in the Linux kernel. Based on software interrupt technology existing in x86 architecture, a probe point was firstly installed in the timer interrupt using loadable kernel module. Then the faults data were delivered from user space to kernel space. Finally about 6 700 faults including transient, intermittent and permanent type were conducted targeting four kernel subsystems, i. e. arch, fs, kernel and mm, by means of a C / S fault injecting model. Experiments indicate that compared with arch and fs subsystems, the kernel and mm are more sensitive to faults, the average detection fault coverage reaches 38. 23%. Compared with data segment, the code segment is more sensitive to faults, the average detection fault coverage reaches 73. 49%. This scheme improves the speed and accuracy when evaluating the dependability of faulttolerant operating system.

关 键 词:可靠性评测 软件中断 软件实现的故障注入 LINUX内核 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象