Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69155 - [linux-hardened] 5.10.4.a-1 libbpf: Failed to find valid kernel BTF

Attached to Project: Arch Linux
Opened by Boudhayan Bhattacharya (bbhtt) - Thursday, 31 December 2020, 13:13 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 06 January 2021, 21:35 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

Following message can be seen while booting kernel Linux 5.10.4.a-1-hardened from today:

libbpf: Failed to find valid kernel BTF
libbpf: Error loading vmlinux BTF: -3
libbpf: Failed to load object ‘iterators_bpf’
libbpf: failed to load BPF skeleton iterators_bpf: -3
Failed load could be wrong endianess

Possibly related to not having BTF support in kernel config:

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_REDUCED=y
CONFIG_DEBUG_INFO_SPLIT=y
CONFIG_DEBUG_INFO_BTF=y
This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 06 January 2021, 21:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.10.5.a
Comment by (IrvineHimself) (IrvineHimself) - Friday, 01 January 2021, 01:44 GMT
I have same problem: While the system boots into the console, the Gnome desktop fails to launch. After downgrading to 'linux-hardened-5.9.16.a-1' Gnome launches fine.

Irvine
Comment by Doug Newgard (Scimmia) - Friday, 01 January 2021, 13:38 GMT
IrvineHimself, that is unrelated. Don't hijack tickets.
Comment by (IrvineHimself) (IrvineHimself) - Friday, 01 January 2021, 14:33 GMT
@Scimmia: Sorry about that. However,

Gnome fails with kernel version
~ 5.10.4.a-1-hardened (linux-hardened@archlinux)

But succeeds with kernel versions
~ 5.10.3-arch1-1 (linux@archlinux)
~ 5.9.16.a-1-hardened (linux-hardened@archlinux)

The only thing changed in any of the boots is the kernel version, should I open another bug report?

Irvine

Edit:
Added new bug report  FS#69171  here:
https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=69171
Comment by Oleksandr Natalenko (post-factum) - Friday, 01 January 2021, 14:51 GMT
Yes, please do open another bugreport.
Comment by Doug Newgard (Scimmia) - Friday, 01 January 2021, 15:00 GMT
Unless there's already a ticket for it. There are a lot against the linux package.
Comment by Michel Koss (MichelKoss1) - Saturday, 02 January 2021, 19:12 GMT
Disabling CONFIG_BPF_PRELOAD gets rid of those warnings. It seems to be a debug related option so disabling it makes sense while CONFIG_DEBUG_INFO is disabled at the same time.

Loading...