Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654106

Summary: sys-block/zram-init-3.8 with sys-kernel/gentoo-sources-4.14.36 - systemd boot process stalls
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED INVALID    
Severity: normal Keywords: REGRESSION
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel 4.14.36 .config
dmesg output (with zram_swap disabled)

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!