]> git.proxmox.com Git - pve-kernel.git/commit
KConfig: disable module BTF debug info
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 1 Dec 2021 09:57:48 +0000 (10:57 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Dec 2021 12:31:05 +0000 (13:31 +0100)
commitbc1d1913898940cabcea142f75a2a4759790a503
tree4ed2aa233176f10e27a7ec2335181f2075bae3d8
parent7c4bae56653e50d0c5cc7281fe0e3604188de0cf
KConfig: disable module BTF debug info

enabling this effectively makes the debug info of the kernel image part
of the kernel <-> module ABI[0], potentially breaking module loading for
otherwise compatible kernel/module combinations.

there were several user reports[1,2,3,..], and although a workaround
exists (re-installing the currently booted version, loading the module,
then upgrading again) disabling this until it's clear how to proceed
seems like the way to go.

disabling via patch is needed, since leaving it unset via `-d` or
explicitly disabled via `--set-val` doesn't work - it's auto-enabled
based on build-env pahole supporting split BTF generation.

0: https://lore.kernel.org/all/1637926692.uyvrkty41j.astroid@nora.none/
1: https://forum.proxmox.com/threads/realtek-8156-2-5gbe-usb-nic.69903/#post-433793
2: https://forum.proxmox.com/threads/usb-storage-can-not-be-mounted.100480/
3: https://forum.proxmox.com/threads/neuer-server-und-probleme.99098/#post-427862

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
patches/kernel/0009-disable-split-btf.patch [new file with mode: 0644]