Cannot rebuild 5.11.0-36-generic with BTF support
I have attempted multiple permutations of trying to rebuild the existing kernel with BTF support while retaining the ability to still install packages with the package manager.
I followed the instructions in https:/
The additional instructions failed with the following:
git clone git://kernel.
Cloning into 'ubuntu-lucid'...
fatal: remote error: access denied or repository not exported: /ubuntu/
Attempted the instructions here (with the corresponding kernel changes) https:/
Which is outdated as I could not successfully get past the can't find command hwmatch when using a bzImage
Attempting to rebuild the kernel at 5.11.0.36 with dpkg -i
Generates the following in the dkpg.log
2021-09-26 20:32:29 upgrade linux-image-
2021-09-26 20:32:29 status half-configured linux-image-
2021-09-26 20:32:29 status unpacked linux-image-
2021-09-26 20:32:29 status half-installed linux-image-
2021-09-26 20:32:29 status unpacked linux-image-
2021-09-26 20:32:29 status installed linux-image-
What steps am I missing?
Is is possible to rebuild the kernel with BTF support (using pahole v1.20) and still retain package manager compatibility?
Secondly, Building the kernel with uapi headers does not install the headers and I cannot build anything in the kernel tools directory after rebooting.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dwight Browne
- Solved:
- Last query:
- Last reply: