It seems that zram module it’s missing from the kernel. Is there any way to add it?
My steps:
- sudo apt install zram-config
- sudo systemctl status zram-config.service
Output 2 >
● zram-config.service - Initializes zram swaping
Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
Active: inactive (dead)
- sudo systemctl start zram-config.service
Output 3 >
Job for zram-config.service failed because the control process exited with error code. See “systemctl status zram-config.service” and “journalctl -xe” for details.
- systemctl status zram-config.service
Output 4 >
● zram-config.service - Initializes zram swaping Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled) Active: **failed** (Result: exit-code) since Sun 2018-12-09 14:44:19 UTC; 11s ago Process: 1513 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=1/FAILURE) Main PID: 1513 (code=exited, status=1/FAILURE) Dec 09 14:44:19 rock960 systemd[1]: Starting Initializes zram swaping... Dec 09 14:44:19 rock960 init-zram-swapping[1513]: libkmod: ERROR ../libkmod/libkmod.c:586 kmod_search_moddep: could not open moddep file '/lib/modules/4.4.103 Dec 09 14:44:19 rock960 init-zram-swapping[1513]: modinfo: ERROR: Module alias zram not found. Dec 09 14:44:19 rock960 init-zram-swapping[1513]: libkmod: ERROR ../libkmod/libkmod.c:586 kmod_search_moddep: could not open moddep file '/lib/modules/4.4.103 Dec 09 14:44:19 rock960 init-zram-swapping[1513]: modinfo: ERROR: Module alias zram not found. Dec 09 14:44:19 rock960 systemd[1]: zram-config.service: Main process exited, code=exited, status=1/FAILURE Dec 09 14:44:19 rock960 systemd[1]: **Failed to start Initializes zram swaping.** Dec 09 14:44:19 rock960 systemd[1]: zram-config.service: Unit entered failed state. Dec 09 14:44:19 rock960 systemd[1]: zram-config.service: Failed with result 'exit-code'.
Board based on the Rockchip RK3399 - ARM Cortex-A72 Dual-core up to 1.8GHz + Cortex A53 Quad-core up to 1.4GHz