View Issue Details

IDProjectCategoryView StatusLast Update
0001320channel: kernel/el8--kernel--request-for-enhancement--public2024-02-28 19:08
Reporterlrfurtado Assigned Toburakkucat  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionnot fixable 
Summary0001320: Request to enable kernel option CONFIG_DEBUG_INFO_BTF
Descriptionhi elrepo friends,

I am doing bpf development and I would like to be able to do it on elrepo kernels for that I need CONFIG_DEBUG_INFO_BTF to be enabled. This would save me from building my own kernel.

Kind Regards,
-Luciano
TagsNo tags attached.

Relationships

related to 0001323 resolvedburakkucat channel: kernel/el8 Kernel 6.1.9 crash 
related to 0001350 resolvedburakkucat channel: kernel/el8 Cannot load nf_conntrack on kernel-ml 6.3.1 
related to 0001378 resolvedtoracat channel: kernel/el7 Enable support for CONFIG_DEBUG_INFO_BTF in kernels 

Activities

burakkucat

2023-02-01 19:14

administrator   ~0008945

The recently released kernel-ml update for el8 [1] now has the following configuration options enabled --

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y

When it is convenient, please test and report back with your observations.

I have also queued the equivalent configuration adjustment for the next update of kernel-lt for el8.

[1] https://lists.elrepo.org/pipermail/elrepo/2023-February/006363.html

burakkucat

2023-02-04 18:19

administrator   ~0008963

Unfortunately the above configuration change had to be reverted as it produced a kernel-ml package set that failed to boot. [1]

Further investigation is required .

[1] https://elrepo.org/bugs/view.php?id=1323

burakkucat

2023-05-02 10:08

administrator   ~0009174

Apologies to @lrfurtado for the length of time it has taken to resolve this RFE.

The resolution was to enable the following configuration options --

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
CONFIG_MODULE_ALLOW_BTF_MISMATCH=y

When convenient, please test the latest kernel-ml and/or kernel-lt package set(s) for el8.

fsy

2023-05-02 13:24

reporter   ~0009175

i suspect the change broke firewalld

@burakkucat we are running kernel-ml on ol8. When using 6.3.1-1.el8.elrepo.x86_64 firewalld cannot apply its rules throwing errors.
the kernel throws tons of "missing module BTF" messages like below:

Mai 02 15:58:06 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:06 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:06 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:06 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain systemd[1]: var-lib-containers-storage-overlay.mount: Succeeded.
Mai 02 15:58:07 localhost.localdomain systemd[1]: podman.service: Succeeded.
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain tuned[905]: libperf: mmap_per_cpu: nr cpu values 2 nr threads 1
Mai 02 15:58:07 localhost.localdomain tuned[905]: libperf: idx 0: mmapping fd 8
Mai 02 15:58:07 localhost.localdomain tuned[905]: libperf: idx 1: mmapping fd 9
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs
Mai 02 15:58:07 localhost.localdomain kernel: missing module BTF, cannot register kfuncs

fsy

2023-05-02 15:36

reporter   ~0009177

downgrading to https://elrepo.org/linux/kernel/el8/x86_64/RPMS/kernel-ml-6.3.0-1.el8.elrepo.x86_64.rpm fixes the issue

pperry

2023-05-02 18:52

administrator   ~0009179

Ack - thank you for the feedback.

We are considering if the changes need to be reverted (again).

burakkucat

2023-05-06 12:19

administrator   ~0009189

Unfortunately neither of the two potential configuration changes are viable as the first resulted in an non-bootable system and the second resulted in a regression in user-land.

As there is nothing else that can be tried I am closing this RFE as "not fixable".

Issue History

Date Modified Username Field Change
2023-01-30 07:12 lrfurtado New Issue
2023-01-30 07:12 lrfurtado Status new => assigned
2023-01-30 07:12 lrfurtado Assigned To => toracat
2023-01-30 18:29 burakkucat Project channel: elrepo/el8 => channel: kernel/el8
2023-01-30 20:53 burakkucat Status assigned => acknowledged
2023-01-30 20:54 burakkucat Assigned To toracat => burakkucat
2023-02-01 19:14 burakkucat Status acknowledged => feedback
2023-02-01 19:14 burakkucat Note Added: 0008945
2023-02-03 12:43 burakkucat Relationship added related to 0001323
2023-02-04 18:19 burakkucat Note Added: 0008963
2023-02-13 11:08 burakkucat Status feedback => acknowledged
2023-02-13 11:10 burakkucat Severity tweak => feature
2023-05-02 10:08 burakkucat Note Added: 0009174
2023-05-02 10:08 burakkucat Status acknowledged => feedback
2023-05-02 13:24 fsy Note Added: 0009175
2023-05-02 15:36 fsy Note Added: 0009177
2023-05-02 18:52 pperry Note Added: 0009179
2023-05-02 22:26 toracat Relationship added related to 0001350
2023-05-04 14:49 burakkucat Status feedback => assigned
2023-05-06 12:19 burakkucat Status assigned => closed
2023-05-06 12:19 burakkucat Resolution open => not fixable
2023-05-06 12:19 burakkucat Note Added: 0009189
2023-08-17 17:39 toracat Relationship added related to 0001378