Hi,
I have made a thread on the forum:
https://bbs.archlinux.org/viewtopic.php?id=293601
But I did not get much help. I don't know if it is appropriate to post here.

I have dug a bit into my issue, and when I build an official PKGBUILD
for a kernel, be it linux or linux-zen (pkctl repo clone linux);
makepkg --skippgpcheck; sudo pacman-U linux-...),
the kernel is not booting with an error.

At first, I was thinking it was related to either Secure Boot or shim,
or the UKI, but later tests in VMs using BIOS revealed the problem was
still there.
And I got an error message from the kernel: "ZSTD-compressed data is
corrupt" (when booting with limine in BIOS)
I found that very string in  ./lib/decompress_unzstd.c. in the kernel source.

I even rebuilt the kernel inside the VM to rule out host issue (?).
I later used an initramfs with no compression (COMPRESSION="cat") and
using uncompressed modules in it (MODULES_DECOMPRESS="yes"). But the
problem remained.

I tried to boot the kernel with the same package on another machine.
Still the same.

How could this happen? Is it my installation of archlinux? The
compilation of the kernel ? Is it something else? What?
mkinitcpio? but why does it work with the official package, then?
Could you reproduce it?

Thanks

Reply via email to