Since 4.0.0 kernel is finally released, I tried it at once. However, I found a kernel bug on x86_64 platform. If I choose lz4 as my kernel compression mode, then the kernel will fail to decompress at startup. I think this should be a regression bug, and here I attach the related patch, which could fix this issue for me. Reproducible: Always Steps to Reproduce: Just emerge latest sys-kernel/gentoo-sources-4.0.0, and choose lz4 as kernel compression mode. Actual Results: Kernel failed to decompress, system halted
Created attachment 401158 [details, diff] Fix lz4 decompression issue
Christian, THANKS a lot, you saved my everything with this bug report. I was starting to freak out after being unable to boot with linux-4.0.1 with no errors at all. I CONFIRM that this bug report is STILL true for gentoo-sources-4.0.1, solved my issue temporarily by switching to LZO. For future reference, how can I catch these kind of errors on early boot? With my config, there was no output at all (EFI stub, start with rEFInd). Still, thanks.
This is queued up for gentoo-sources-4.0.2. Thanks.
Released in gentoo-sources-4.0.2