zoukankan      html  css  js  c++  java
  • Kernel 源码升级问题指南

    问题1.modules.order:No such file or directory
    =>make modules #集合modules,生成modules.order(目前没有遇到,网上收集的)

    问题2.make[1]: *** No rule to make target 'certs/rhel.pem', needed by 'certs/x509_certificate_list'. Stop.
    make: *** [Makefile:1729: certs] Error 2

    => 打开.config,注释掉这一行
    CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"

    将certs/rhel.pem内容清空,=" "      (亲测,有效)

    问题3.BTF: .tmp_vmlinux.btf: pahole (pahole) is not available

    Failed to generate BTF for vmlinux
    Try to disable CONFIG_DEBUG_INFO_BTF
    make: *** [Makefile:1113: vmlinux] Error 1
    =>修改CONFIG_DEBUG_INFO_BTF=n

    将.config中CONFIG_DEBUG_INFO_BTF参数由y改为n。      (亲测,有效)

    问题4.报错类似是Cryptographic API.......后面忘了截图了。

    解决是通过make menuconfig进入自定义内核特性,找到相同内容,回车进去将提示报错的内容勾掉后save,再退出就行。      (亲测,有效)

    还有一些问题是

    “Fedora32 kernel源码包安装升级过程遇到的问题”

    如果有遇到参考链接:https://blog.csdn.net/silent_ghost/article/details/108536716

    大家最后还遇到什么不同类型的问题,记得评论告诉一下,我验证后更新,谢谢。

  • 相关阅读:
    适配器和外观模式
    命令模式
    单件模式
    工厂模式
    装饰者模式
    观察者模式(发布--订阅模式)
    设计模式之策略模式
    C#学习笔记15
    C#学习笔记14
    lucky的时光助理-2017.02
  • 原文地址:https://www.cnblogs.com/M-98k/p/15080806.html
Copyright © 2011-2022 走看看