Compressed kernel modules can no longer be loaded outside initramfs
Describe your issue
What's the expected behaviour?
Kernel modules successfully load, probing WiFi and mobile data.
What's the current behaviour?
Most kernel modules do not load, and emit the error:
[ 253.926118] Invalid ELF header magic: != \x7fELF
How to reproduce your issue?
Upgrade to kmod-32-r2
.
To not reproduce it (and use an expensive workaround), compile the kernel with CONFIG_MODULE_COMPRESS_NONE
set.
What device are you using?
google-sargo
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v24.06
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2024-08-27
Additional information
This happens on btrfs (persistent installation, tested with apk upgrade
) and on ext4 (volatile installation, tested without apk upgrade -a
).
Edited by Administrator