Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654106 - sys-block/zram-init-3.8 with sys-kernel/gentoo-sources-4.14.36 - systemd boot process stalls
Summary: sys-block/zram-init-3.8 with sys-kernel/gentoo-sources-4.14.36 - systemd boot...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2018-04-26 01:43 UTC by ernsteiswuerfel
Modified: 2018-07-17 20:32 UTC (History)
0 users

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


Attachments
kernel 4.14.36 .config (config_4.14.36.txt,89.85 KB, text/plain)
2018-04-26 01:43 UTC, ernsteiswuerfel
Details
dmesg output (with zram_swap disabled) (dmesg_4.14.36.txt,79.92 KB, text/plain)
2018-04-26 01:44 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-04-26 01:43:53 UTC
Created attachment 528532 [details]
kernel 4.14.36 .config

I use sys-block/zram-init-3.8 to create a 2 GiB swap partition at boot time with following config:

systemctl edit zram_swap
[Service]
ExecStart=
ExecStart=/usr/sbin/zram-init -d0 -s16 -alzo 2048
ExecStop=
ExecStop=/usr/sbin/zram-init -d0 0

This has worked really well until now. With gentoo-sources-4.34.36 the the systemd boot process stalls at the point where the zram swap is being created. To be able to boot again I had to disable zram_swap.

Kernel 4.31.35 and the 4.14.x kernels before work without issues. I did not change the .config, I simply copied it over from 4.14.35 to 4.14.36 and did a make oldconfig.

Same situation on another machine with kernel 4.16.4 (4.16.3 works).

I guess this must be a regression introduced with the latest stable kernel patchset.
Comment 1 ernsteiswuerfel archtester 2018-04-26 01:44:53 UTC
Created attachment 528534 [details]
dmesg output (with zram_swap disabled)
Comment 2 ernsteiswuerfel archtester 2018-07-17 20:32:34 UTC
Can no longer reproduce with recent zram-init gentoo-sources and systemd. No zram_var_tmp and zram_swap stalls any longer, yay!