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

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

  • 相关阅读:
    es6箭头函数
    微信小程序入门
    浏览器常见错误代码
    nginx学习
    windows下mongodb安装与使用整理
    mongodb简单的增删改查
    github入门到上传本地项目
    Robomongo
    对象(面向对象、创建对象方式、Json)
    代码编辑器——Visual Studio Code
  • 原文地址:https://www.cnblogs.com/M-98k/p/15080806.html
Copyright © 2011-2022 走看看