Open sercxjo opened 3 years ago
I'm afraid that the mainline kernel-ppa's never provided the linux-tools ever for any of the mainline builds. Thus the project by TuxInvader to make a version of the same mainline builds but actually using the correct libc libraries isn't going to change that fact likely.
Unfortunately the only way I've been able to solve that problem in the past is to build/compile the kernel myself when I needed turbostat before. Unless the author is planning to go above and beyond simply fixing the broken builds of the official mainline kernels I can't imagine he is going to be able and fix this particular issue.
Hi,
As @sepatel says, the tools are explicitly disabled in mainline builds along with the comment:
# Being used to build a mainline build -- turn off things which do not work.
They might be disabled due to missing build dependencies. if I override that then the tools can be built, but the additional dependencies take the container from 400MB in size to around 1.4GB. So I'm not sure if it's worth while adding the extra complexity, and if I did it would likely cause launchpad to run out of space during the build.
I might investigate building a container specifically to build the tools, but I don't think it's something I can add to the current container without causing issues on launchpad.
Cheers
Although if called from the old version (directly from /usr/lib/linux-tools/5.4.0-74-generic/), it seems to work
You can run these commands to use old version of linux-tools:
sudo apt-get -yy install linux-tools-generic
for f in /usr/lib/linux-tools/*/*; do
sudo ln -sf $f /usr/local/bin/$(basename $f)
done
5.4.0 it is not current kernel version
I found some similar names and tried to install linux-tools-common-5.12.10 linux-tools-host-5.12.10, but they does not contain binary files:
I am searching the following but for the new kernel: