External kernel modules fail to load on optimized kernel builds
When using any of the optimized kernel builds external modules fail to load.
The kernel will say something like this in kmsg if attempting to load a module:
Jun 24 22:24:58 odin kernel: BPF: 2 type_id=106992 bits_offset=0
Jun 24 22:24:58 odin kernel: BPF:
Jun 24 22:24:58 odin kernel: BPF: Invalid name
Jun 24 22:24:58 odin kernel: BPF:
Jun 24 22:24:58 odin kernel: failed to validate module [vboxdrv] BTF: -22
Edited by Björn Bidar