Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546422 - sys-kernel/gentoo-sources-4.0.0: LZ4 decompress fail
Summary: sys-kernel/gentoo-sources-4.0.0: LZ4 decompress fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: 4.0.2
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 08:49 UTC by Christian Xia
Modified: 2015-05-08 14:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix lz4 decompression issue (fix-lz4.patch,874 bytes, patch)
2015-04-13 08:50 UTC, Christian Xia
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Xia 2015-04-13 08:49:30 UTC
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
Comment 1 Christian Xia 2015-04-13 08:50:13 UTC
Created attachment 401158 [details, diff]
Fix lz4 decompression issue
Comment 2 fmiz 2015-05-03 17:09:25 UTC
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.
Comment 3 Mike Pagano gentoo-dev 2015-05-03 23:55:41 UTC
This is queued up for gentoo-sources-4.0.2. Thanks.
Comment 4 Mike Pagano gentoo-dev 2015-05-08 11:47:07 UTC
Released in gentoo-sources-4.0.2