Skip to content
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

Low-Mem devices: zram-swap does not work anymore #1031

Open
Noki opened this issue Oct 25, 2024 · 0 comments
Open

Low-Mem devices: zram-swap does not work anymore #1031

Noki opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Noki
Copy link
Member

Noki commented Oct 25, 2024

Low memory devices should load zram-swap:

- name: "Add zram-swap on low mem and big flash"
set_fact:
packages: "{{ packages + ['zram-swap'] }}"
when:
- low_mem | default(false)
- not (low_flash | default(false))

This however results in the following error:

Thu Oct 24 00:51:16 2024 daemon.crit zram_start: kernel doesn't support swap
Thu Oct 24 00:51:16 2024 daemon.notice procd: /etc/rc.d/S15zram: zram_start: kernel doesn't support swap

We should either stop loading zram-swap or make the kernel support it.

@Noki Noki added bug Something isn't working help wanted Extra attention is needed labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant