You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CONFIG_ZRAM: Compressed RAM block device support
General informations
The Linux kernel configuration item CONFIG_ZRAM has multiple definitions:
Compressed RAM block device support found in drivers/block/zram/Kconfig
The configuration item CONFIG_ZRAM:
prompt: Compressed RAM block device support
type: tristate
depends on: ( CONFIG_BLOCK && CONFIG_SYSFS && CONFIG_MMU ) && ( CONFIG_CRYPTO_LZO || CONFIG_CRYPTO_ZSTD || CONFIG_CRYPTO_LZ4 || CONFIG_CRYPTO_LZ4HC || CONFIG_CRYPTO_842 )
defined in drivers/block/zram/Kconfig
found in Linux kernels: 3.14–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.5
modules built: zram, zram
Unfortunately none of the ( CONFIG_CRYPTO_LZO || CONFIG_CRYPTO_ZSTD || CONFIG_CRYPTO_LZ4 || CONFIG_CRYPTO_LZ4HC || CONFIG_CRYPTO_842 ) is enabled at the moment:
pinetabv:~$ zcat /proc/config.gz | grep -i config_crypto_lzo
# CONFIG_CRYPTO_LZO is not set
pinetabv:~$ zcat /proc/config.gz | grep -i config_crypto_zstd
# CONFIG_CRYPTO_ZSTD is not set
pinetabv:~$ zcat /proc/config.gz | grep -i config_crypto_lz4
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set
pinetabv:~$ zcat /proc/config.gz | grep -i config_crypto_lz4hc
# CONFIG_CRYPTO_LZ4HC is not set
pinetabv:~$ zcat /proc/config.gz | grep -i config_crypto_842
# CONFIG_CRYPTO_842 is not set
Please enable: CONFIG_CRYPTO_LZO, CONFIG_CRYPTO_ZSTD, CONFIG_CRYPTO_LZ4, CONFIG_CRYPTO_LZ4HC, CONFIG_CRYPTO_842 in the kernel config, and that in turn should make available CONFIG_ZRAM and then set CONFIG_ZRAM=y.
Here is an example from PineTab2 /proc/config.gz for reference:
[root@danctnix mbohun]# zcat /proc/config.gz | grep -i zram
CONFIG_ZRAM=y
# CONFIG_ZRAM_DEF_COMP_LZORLE is not set
CONFIG_ZRAM_DEF_COMP_ZSTD=y
# CONFIG_ZRAM_DEF_COMP_LZ4 is not set
# CONFIG_ZRAM_DEF_COMP_LZO is not set
# CONFIG_ZRAM_DEF_COMP_LZ4HC is not set
CONFIG_ZRAM_DEF_COMP="zstd"
CONFIG_ZRAM_WRITEBACK=y
CONFIG_ZRAM_MEMORY_TRACKING=y
CONFIG_ZRAM_MULTI_COMP=y
[root@danctnix mbohun]# zcat /proc/config.gz | grep -i zswap
CONFIG_ZSWAP=y
CONFIG_ZSWAP_DEFAULT_ON=y
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4HC is not set
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT="zstd"
# CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD is not set
# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set
CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC=y
CONFIG_ZSWAP_ZPOOL_DEFAULT="zsmalloc"
NO
zram
orzswap
at the momentUnfortunately none of the
( CONFIG_CRYPTO_LZO || CONFIG_CRYPTO_ZSTD || CONFIG_CRYPTO_LZ4 || CONFIG_CRYPTO_LZ4HC || CONFIG_CRYPTO_842 )
is enabled at the moment:Please enable:
CONFIG_CRYPTO_LZO
,CONFIG_CRYPTO_ZSTD
,CONFIG_CRYPTO_LZ4
,CONFIG_CRYPTO_LZ4HC
,CONFIG_CRYPTO_842
in the kernel config, and that in turn should make availableCONFIG_ZRAM
and then setCONFIG_ZRAM=y
.Here is an example from PineTab2
/proc/config.gz
for reference:The text was updated successfully, but these errors were encountered: