gpt4 book ai didi

linux - systemtap 无法在 Ubuntu : "unable to find a suitable compile server" 上运行

转载 作者:太空宇宙 更新时间:2023-11-04 12:12:07 27 4
gpt4 key购买 nike

当我在我的 Ubuntu 上运行 systemtap 时,我总是遇到这个错误:

lwtools# ./biolatency-nd.stp 
Using a compile server.
Unable to find a suitable compile server. [man stap-server]
No servers online to select from.
Passes: via server failed. Try again with another '-v' option.
The kernel on your system requires modules to be signed for loading.
The module created by compiling your script must be signed by a systemtap compile-server. [man stap-server]
--use-server was automatically selected in order to request compilation by a compile-server.
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

最佳答案

在启用 SecureBoot 的系统上,systemtap 依赖编译服务器(stap-server 服务)来为内核模块文件签名。如果没有这些签名,SecureBoot 内核可能会完全拒绝这些模块。参见 https://sourceware.org/systemtap/wiki/SecureBoot .

有可能这个 Ubuntu 内核的编译方式使得即使在 SecureBoot 模式下,也可以加载未签名的 .ko 文件。即便如此,一旦设置完毕,支持安全启动的 stap-server 就可以工作了。

关于linux - systemtap 无法在 Ubuntu : "unable to find a suitable compile server" 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48565392/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com