• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Li Bin, He Yeping, Ma Hengtai, Rui Jianwu, Li Xiaozhuo. Recommending Interface Patches for Linux Drivers Porting Based on Root Cause of Error[J]. Journal of Computer Research and Development, 2022, 59(6): 1388-1408. DOI: 10.7544/issn1000-1239.20201082
Citation: Li Bin, He Yeping, Ma Hengtai, Rui Jianwu, Li Xiaozhuo. Recommending Interface Patches for Linux Drivers Porting Based on Root Cause of Error[J]. Journal of Computer Research and Development, 2022, 59(6): 1388-1408. DOI: 10.7544/issn1000-1239.20201082

Recommending Interface Patches for Linux Drivers Porting Based on Root Cause of Error

Funds: This work was supported by the Strategic Priority Research Program of Chinese Academy of Sciences (XDA-Y01-01, XDC02010600).
More Information
  • Published Date: May 31, 2022
  • Linux kernel version changes bring inconsistency errors in driver calls to kernel interfaces very frequently. It is not only a heavy workload through manual repair, but also may introduce new errors. To overcome this problem, exiting researches on driver porting of middle library auxiliary adaptation and driver porting of auxiliary information provide auxiliary examples, but manual analysis and manual patch construction are still required, so the manual repair workload is still relatively large and the efficiency is low. To this end, we recommend high-quality patches to reduce the workload and improve the efficiency of manual error repair. Unlike traditional methods that identify the same type of errors through the similarity of error code forms, we propose to identify the same type of errors based on the same cause and origin of the error. A hierarchical search algorithm is proposed to obtain the root cause of the error to be fixed, through the root cause to identify the same type of error fix instances, extract and select targeted fix patterns to implement high-quality patch recommendations for the same type of unfixed errors. Experiments on the collected 19 real driver data sets show that the method in this paper has significant improvement in the correct rate of patch recommendation compared with the traditional methods.
  • Related Articles

    [1]Zhang Yukun, Yuan Xiao. Quantum Error Mitigation: A Review[J]. Journal of Computer Research and Development, 2021, 58(9): 1843-1855. DOI: 10.7544/issn1000-1239.2021.20210367
    [2]Li Bin, He Yeping, Ma Hengtai, Rui Jianwu. Recommending Interface Patches for Forward Porting of Linux Device Drivers Based on Existing Instances[J]. Journal of Computer Research and Development, 2021, 58(1): 189-207. DOI: 10.7544/issn1000-1239.2021.20200284
    [3]Bai Chenjia, Liu Peng, Zhao Wei, Tang Xianglong. Active Sampling for Deep Q-Learning Based on TD-error Adaptive Correction[J]. Journal of Computer Research and Development, 2019, 56(2): 262-280. DOI: 10.7544/issn1000-1239.2019.20170812
    [4]Ma Junchi, Wang Yun, Cai Zhenbo, Zhang Qingxiang, Wang Ying, Hu Cheng. An Approach for Identifying SDC-Causing Instructions by Fault Propagation Analysis[J]. Journal of Computer Research and Development, 2016, 53(9): 1943-1952. DOI: 10.7544/issn1000/1239.2016.20148367
    [5]Zheng Fang, Shen Li, Li Hongliang, Xie Xianghui. Lightweight Error Recovery Techniques of Many-Core Processor in High Performance Computing[J]. Journal of Computer Research and Development, 2015, 52(6): 1316-1328. DOI: 10.7544/issn1000-1239.2015.20150119
    [6]Sun Xiaochao, Li Bao, and Lu Xianhui. LWE Problem with Uniform Secret and Errors and Its Application[J]. Journal of Computer Research and Development, 2014, 51(7): 1515-1519.
    [7]Zhang Zhaoliang, Chen Haiming, Huang Tingpei, Cui Li. Differentiated Bit Error Rate Estimation for Wireless Networks[J]. Journal of Computer Research and Development, 2014, 51(1): 138-150.
    [8]Song Wei, Yang Xuejun. Error Detection by Redundant Transaction in Transactional Memory System[J]. Journal of Computer Research and Development, 2013, 50(5): 1085-1099.
    [9]Li Aiguo, Hong Bingrong, Wang Si, Piao Songhao. Error Propagation Analysis in Software[J]. Journal of Computer Research and Development, 2007, 44(11): 1962-1970.
    [10]Li Qinghua and Zhao Feng. The PBL Method: A Novel Parallel Error Detection Method for Intrusion Tolerance Systems[J]. Journal of Computer Research and Development, 2006, 43(8): 1411-1416.
  • Cited by

    Periodical cited type(0)

    Other cited types(2)

Catalog

    Article views (154) PDF downloads (222) Cited by(2)

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return