當前正在運行CENTOS 7機器,試圖安裝lttng-tools
和lttng-modules
。lttng:無法列出內核事件:內核跟蹤器不可用
我正在經歷所需的步驟,以便在位於http://lttng.org/docs/v2.9/的計算機上獲得lttng安裝,並且我幾乎每一步都遇到了問題。我現在的問題是安裝lttng-modules
。我試圖運行的集中提供安裝lttng-modules
命令:
cd $(mktemp -d) &&
wget http://lttng.org/files/lttng-modules/lttng-modules-latest2.9.tar.bz2 &&
tar -xf lttng-modules-latest-2.9.tar.bz2 &&
cd lttng-modules-2.9.* &&
make &&
sudo make modules_install &&
sudo depmod -a
對此我收到錯誤「Can't read private key
」之後INSTALL /probe/path/name/probe_name.ko
用於探測的完整列表。我閱讀了自述文件,並確保正確設置了OS配置變量依賴關係。從這裏,我完全不確定,任何幫助,將不勝感激。
終端輸出的一個片段如下:
Can't read private key
INSTALL /tmp/tmp.frbWYvVaL8/lttng-modules-2.9.1/probes/lttng-probe-x86-exceptions.ko
Can't read private key
INSTALL /tmp/tmp.frbWYvVaL8/lttng-modules-2.9.1/probes/lttng-probe-x86-irq-vectors.ko
Can't read private key
INSTALL /tmp/tmp.frbWYvVaL8/lttng-modules-2.9.1/tests/lttng-clock-plugin-test.ko
Can't read private key
INSTALL /tmp/tmp.frbWYvVaL8/lttng-modules-2.9.1/tests/lttng-test.ko
Can't read private key
DEPMOD 3.10.0-327.el7.x86_64
make[1]: Leaving directory `/usr/src/kernels/3.10.0-327.el7.x86_64'
dadrexel,您是否使用Secureboot?當你建立外部模塊,並且您的內核已經簽署,您必須登錄與您的MOK關鍵的模塊,但如果你的內核是從CentOS的,你有沒有高手你有兩個變種:1)禁用安全啓動和模塊簽名(CONFIG_MODULE_SIG_FORCE - http://askubuntu.com/questions/755238)或2 )使用您自己的私鑰對模塊(和內核)進行簽名,然後使用mokutil將此密鑰安裝到UEFI中:http://lxr.free-electrons.com/source/Documentation/module-signing.txt?v=4.8 – osgx