New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zram-init fails if zramctl is available but no zstd support #15
Comments
The algorithms shown on the help page of zramctl are not the algorithms which it understands: |
There is a loaded zstd module for btrfs. The alpine kernel seems not to include support for it with zram though, as evidenced by the output from the other issue I posted. |
Oops did not mean to close! |
IMHO, this is not a bug. It is documented which kernel versions can provide support. Having zstd support in the kernel is not enough for zram. It must also be supported by the crypto API, that is, you will need CONFIG_CRYPTO_ZSTD. |
Thanks for your help with the other things. I will raise this one in the Alpine bug tracker. Edit - Alpine bug: |
zram support is now compiled in recent alpine kernels. https://git.alpinelinux.org/aports/commit/?id=4fcd763003fabfbff087413bd82d767b1862b6f9 thanks. |
Same system as in #14 but now with util-linux installed for zramctl suport.
No log, except on console.
In this case with zramctl installed, it will not create a zram device at all.
zramctl in Alpine 3.9.1:
No zstd support.
Maybe defaulting to zstd in the default /etc/conf.d/zram-init might be a bit premature.
The text was updated successfully, but these errors were encountered: