The officially official Devuan Forum!

You are not logged in.

#1 2025-05-16 20:36:39

Altoid
Member
Registered: 2017-05-07
Posts: 1,764  

[SOLVED] Compressor lz4 not available

Hello:

Wanting to get the last possible bit of ooompf from my Asus 1000HE, I installed zswap.
Chimaera+Openbox do a good job.
But the 2.0Gb RAM is rather limiting, especially when using my coffee roasting software.

The system is up to date and the kernel command line has all the needed bits:
zswap.enabled=1  zswap.compressor=lz4  zswap.max_pool_percent=40  zswap.zpool=z3fold.

/etc/initramfs-tools/modules also has the needed bits:

lz_4
lz4_compress
z3fold

Yet the dmesg printout reads:

--- snip ---
[     4.495646] zswap: compressor lz4 not available, using default lzo
--- snip ---

Interestingly enough, opening a terminal and doing modprobe lz4 will actually load it and it will show up with lsmod.
Maybe it is the order in which these are loaded?

I'd appreciate some input on this.

Best,

A.

Offline

#2 2025-05-16 23:33:51

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,407  

Re: [SOLVED] Compressor lz4 not available

Maybe having lz4 in /etc/initramfs-tools/modules (and an update-initramfs run) would work?
What's lz_4 ?

Offline

#3 2025-05-17 00:42:16

Altoid
Member
Registered: 2017-05-07
Posts: 1,764  

Re: [SOLVED] Compressor lz4 not available

Hello:

ralph.ronnquist wrote:

Maybe having lz4 in /etc/initramfs-tools/modules ...

Indeed ...
That would have done it.

Except that, for some reason, I decided to add an (obviously unneeded) underscore.
Hence it not working as expected.

ralph.ronnquist wrote:

What's lz_4 ?

Hmm ...
Direct consequence of not taking my 20:00 pill?
Or maybe taking it twice.  8^°

Now it works.  8^)

--- snip ---
[     4.473334] zswap: loaded using pool lz4/z3fold
--- snip ---

There's nothing like paying attention to what you are typing.
While you are typing it.

Thanks so much for you input.
Have a good week-end.

Best,

A.

Offline

Board footer