No Oracle Linux 7 kernels are included
acybere opened this issue ยท 10 comments
Oracle Linux 7 kernels are missing.
Debug symbols for Oracle Linux kernels are at: https://oss.oracle.com/ol7/debuginfo/
OL release 7.8 is the first to ship with eBPF support according to documentation: https://docs.oracle.com/en/operating-systems/oracle-linux/7/relnotes7.8/ol7-features-changes.html#ol7-techpreview
Those beginning kernels are:
- kernel-3.10.0-1127.el7
- kernel-uek-4.14.35-1902.300.11.el7uek
A recent blog post indicates that newer releases provide BTFs. Assuming those are the latest available given the recentness of the blog post:
- kernel-3.10.0-1160.49.1.el7
- kernel-uek-5.4.17-2136.301.1.2.el7uek
BTFs for kernels between those versions may be produced for use.
Merged at: 26ec601
Im generating the BTF files and uploading to archives soon.
@acybere have u generated all the BTF files or just tried with a few ?
I'm generating them for the past couple of days but pahole seems to be spending LOTS of time trying to parse DWARF from older kernels such as these. I tried latest pahole to see if it improved but no success. Just wondering if you faced the same issue.
@rafaeldtinoco I haven't seen it run to completion for generating them all. It is actually still running on my VM. It is quite slow. I do not know why. Looks like it's done with x86_64 with 299 (one failed) and made it through about 60 for arm64.
@rafaeldtinoco I haven't seen it run to completion for generating them all. It is actually still running on my VM. It is quite slow. I do not know why. Looks like it's done with x86_64 with 299 (one failed) and made it through about 60 for arm64.
If you can get them all ready please put together a PR to the archive with them. I'll do the same if mine get ready. And then we do for amazon linux PR as well (after this one is merged and good). The updates (automatically run as cron) will be fine, the initial PR is the tricky one (to have done by github actions).
THanks
Archive PR created: aquasecurity/btfhub-archive#5
Alright, to close this issue now, we should only make sure that the cron GitHub action will update btfhub-archive automatically if/when needed.
Oh, nm, I see the current kernels have BTF support now, right ? Just confirming (or else we should update Makefile to include recurrent checks for ol7 kernels).
Oh, nm, I see the current kernels have BTF support now, right ? Just confirming (or else we should update Makefile to include recurrent checks for ol7 kernels).
Yes, they are providing BTF support going forward. I don't think we need to include recurrent checks for ol7 kernels.
@rafaeldtinoco I was wrong. We overlooked that additional patches for older kernels might still be released/maintained. We should continue checking for these for now. See #45 for the fix adding ol7 to the Makefile for continued updates.