zramctl in util-linux broken

Problems with packages? Post here, using [tags] of the package name.

zramctl in util-linux broken

Postby EkriirkE » Fri Jun 13, 2025 6:51 pm

When supplying the streams parameter, the zramctl changes the device size to 0 even if explicitly specified

# zramctl -f --streams 2 --size 2048M
zramctl: /dev/zram3: failed to set number of streams: No such file or directory
[i](no dmesg, no new zram device)[/i]

# zramctl -f --size 2048M
/dev/zram3
dmesg: [12554.242003] zram: Added device: zram3

# zramctl /dev/zram3 --streams 2 --size 2048M
zramctl: /dev/zram3: failed to set number of streams: No such file or directory
dmesg: [12927.668971] zram3: detected capacity change from 4194304 to 0

# zramctl /dev/zram3 --size 2048M
[i](no output)[/i]
dmesg: [12993.323203] zram3: detected capacity change from 0 to 4194304

# zramctl -V
zramctl from util-linux 2.41

# pacman -Q util-linux
util-linux 2.41-4

# uname -a
Linux MyNAS 6.15.1-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Thu Jun 5 13:16:25 MDT 2025 aarch64 GNU/Linux
EkriirkE
 
Posts: 4
Joined: Sat Feb 11, 2023 11:40 am

Return to Packages

Who is online

Users browsing this forum: No registered users and 49 guests