You are not logged in.
About 1-1/2 hours into an rsync backup, my workstation became unresponsive. I had to hard reset. Upon inspecting journalctl, I found the entire 100 MB of it was spammed with repeating lines like this:
Dec 05 09:27:43 quadruple kernel: get_swap_device: Bad swap file entry 3fffe7fffffff
Dec 05 09:27:43 quadruple kernel: get_swap_device: Bad swap file entry 3fffe7fffffff
...
This machine has 64G of memory and no swap defined. Kernel is 5.15.6.arch2-1. Googling this does not give relevant hits. Any insights are appreciated.
Last edited by graysky (2021-12-06 07:47:01)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
https://patchwork.kernel.org/project/li … intel.com/
Doesn't seem in https://git.kernel.org/pub/scm/linux/ke … ap_state.c
no swap defined
Offline
@seth - ah, yes
% cat /sys/module/zswap/parameters/enabled
Y
Was unaware of zswap, thanks for the pointer.
The patch you called out seems to just suppress the warning. I am wondering what put the machine in that state in the first place.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Not sure whether it's strictly zswap related.
swapon
Do you maybe keep a swapfile for hibernation?
Offline
I do not. I was able to finish the rsync backup with seeing this again. It is a bit disturbing that it caused a GUI and keyboard freeze. I could ping the box from another on the LAN. I do not have ssh enabled on it so I couldn't attempt a graceful reboot.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I could imagine that the system tries to swap out, but doesn't find valid swap space.
You could try to
a) add (and swapon) a dummy swapfile (doesn't have to be huge, just there)
b) set "sudo sysctl vm.swappiness=0" to lower the chance of a swapout
Offline
Check your memory health.
Offline
Check your memory health.
Good call, wrought with memtest86+ errors unfortunately. Looks like I am off to the lovely RMA game. Thanks for the suggestion.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline