{"title":"Linux错误注入框架测试直接内存访问地址错误的局限性","authors":"Roberto Jung Drebes, T. Nanya","doi":"10.1109/PRDC.2008.44","DOIUrl":null,"url":null,"abstract":"Device drivers can be traced as the source of most operating system (OS) bugs. The Linux kernel includes a fault injection framework which developers can use to implement simple fault injection tools to test device drivers. This paper presents our results in applying the fault injection framework to inject DMA address errors. Our experiments show that while the injected errors reach the device driver, the asynchronous nature of DMA makes the framework an ill-suited approach if the fault injection campaign expects the errors to reach the hardware I/O devices, as when trying to test IOMMU implementations.","PeriodicalId":369064,"journal":{"name":"2008 14th IEEE Pacific Rim International Symposium on Dependable Computing","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-12-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Limitations of the Linux Fault Injection Framework to Test Direct Memory Access Address Errors\",\"authors\":\"Roberto Jung Drebes, T. Nanya\",\"doi\":\"10.1109/PRDC.2008.44\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Device drivers can be traced as the source of most operating system (OS) bugs. The Linux kernel includes a fault injection framework which developers can use to implement simple fault injection tools to test device drivers. This paper presents our results in applying the fault injection framework to inject DMA address errors. Our experiments show that while the injected errors reach the device driver, the asynchronous nature of DMA makes the framework an ill-suited approach if the fault injection campaign expects the errors to reach the hardware I/O devices, as when trying to test IOMMU implementations.\",\"PeriodicalId\":369064,\"journal\":{\"name\":\"2008 14th IEEE Pacific Rim International Symposium on Dependable Computing\",\"volume\":\"3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2008-12-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2008 14th IEEE Pacific Rim International Symposium on Dependable Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PRDC.2008.44\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 14th IEEE Pacific Rim International Symposium on Dependable Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PRDC.2008.44","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Limitations of the Linux Fault Injection Framework to Test Direct Memory Access Address Errors
Device drivers can be traced as the source of most operating system (OS) bugs. The Linux kernel includes a fault injection framework which developers can use to implement simple fault injection tools to test device drivers. This paper presents our results in applying the fault injection framework to inject DMA address errors. Our experiments show that while the injected errors reach the device driver, the asynchronous nature of DMA makes the framework an ill-suited approach if the fault injection campaign expects the errors to reach the hardware I/O devices, as when trying to test IOMMU implementations.