Giter VIP home page Giter VIP logo

Comments (9)

wanlce avatar wanlce commented on June 14, 2024 6

#121

支持 dae 的 xanmod 内核配置, 自己编译下叭
https://gist.github.com/wanlce/ff7cbc9bc6145219c222a02ddda9b11d

from dae.

kunish avatar kunish commented on June 14, 2024

感谢老铁提出的宝贵建议,喵喵 ;)

from dae.

newyorkthink avatar newyorkthink commented on June 14, 2024

#121

from dae.

Yuyuko-sama avatar Yuyuko-sama commented on June 14, 2024

#121

支持 dae 的 xanmod 内核配置, 自己编译下叭 https://gist.github.com/wanlce/ff7cbc9bc6145219c222a02ddda9b11d

大佬,为啥我编译的时候其他参数都编译上了,唯独:
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_BTF=y
这两条写进.config编译,编译后更新内核,我看/boot/config 依然是缺失的。

from dae.

wanlce avatar wanlce commented on June 14, 2024

@Yuyuko-sama 它是有一些前置依赖的
image
话说 xanmod 的主线内核这两个配置已经默认是 y 了哎
https://github.com/xanmod/linux/blob/b10e545792f07fd8245dffc013b45440a8dbc607/CONFIGS/xanmod/gcc/config_x86-64-v4#L11686

现在只需要改就好了

CONFIG_DEBUG_INFO_REDUCED=n
CONFIG_KPROBE_EVENTS=y
CONFIG_FTRACE=y
CONFIG_NET_CLS_BPF=y
CONFIG_BPF_EVENTS=y

from dae.

Yuyuko-sama avatar Yuyuko-sama commented on June 14, 2024

@Yuyuko-sama 它是有一些前置依赖的 image 话说 xanmod 的主线内核这两个配置已经默认是 y 了哎 https://github.com/xanmod/linux/blob/b10e545792f07fd8245dffc013b45440a8dbc607/CONFIGS/xanmod/gcc/config_x86-64-v4#L11686

现在只需要改就好了

CONFIG_DEBUG_INFO_REDUCED=n
CONFIG_KPROBE_EVENTS=y
CONFIG_FTRACE=y
CONFIG_NET_CLS_BPF=y
CONFIG_BPF_EVENTS=y

谢谢大佬,才发现xanmod 要V4才 y,V3里头好像没看到勾选。 主要是不确定我E5-2618L V4 支不支持V4 emmmm

from dae.

wanlce avatar wanlce commented on June 14, 2024

谢谢大佬,才发现xanmod 要V4才 y,V3里头好像没看到勾选。 主要是不确定我E5-2618L V4 支不支持V4 emmmm

https://github.com/xanmod/linux/blob/b10e545792f07fd8245dffc013b45440a8dbc607/CONFIGS/xanmod/gcc/config_x86-64-v3#L11686
xanmod 的 v1-v4 这个配置都一样的

支持不支持v4 不影响,前面提到的内核选项开了就可以润大鹅
想看架构可以执行 /lib/ld-linux-x86-64.so.2 --help | grep supported 看看

from dae.

Yuyuko-sama avatar Yuyuko-sama commented on June 14, 2024

编译成功了,谢谢大佬。这里头是编译好的6.5.5 xanmod内核文件,以及编译方法。
https://drive.google.com/drive/folders/1HRXJKYijv40HCmLDkcnUJt1asBi_Rsr0?usp=sharing

from dae.

xz-dev avatar xz-dev commented on June 14, 2024

#121

支持 dae 的 xanmod 内核配置, 自己编译下叭 https://gist.github.com/wanlce/ff7cbc9bc6145219c222a02ddda9b11d

大佬,为啥我编译的时候其他参数都编译上了,唯独: CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO_BTF=y 这两条写进.config编译,编译后更新内核,我看/boot/config 依然是缺失的。

有可能没安装 pahole 工具,或者 panhole 版本号低于 121,你应该用配置页面而不是直接改 .config

from dae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.