Jump to content

Swapfile has holes


abt7

Recommended Posts

Hi.

I'm Using Armbian 21.05.6 Buster.

After some firmware update my Odroid freezes frequently.

Trying to fix this issue I found

 

root@nextcloudpi:~# dmesg 

(cut)

[   18.997342] swapon: swapfile has holes

 

Relevant further information could be:

root@nextcloudpi:~# zramctl
NAME       ALGORITHM DISKSIZE  DATA  COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram1 lz4hc          50M  1.2M 168.7K  636K       8 /var/log
/dev/zram0 lzo           998M    4K    81B   12K       8 [SWAP]

 

root@nextcloudpi:~# swapon --show 
NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition 998M   0B    5

 

root@nextcloudpi:~# swapon --show 
NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition 998M   0B    5

 

The only information I found is to recreate swap. But in my case there is no file or partition to recreate - or do I miss something?

Has anybody some help for me?

Link to comment
Share on other sites

On 9/4/2022 at 6:54 PM, abt7 said:

Armbian 22.05.3 Buster with Linux 4.14.222-odroidxu4


4.14.y is very old kernel, which even Hardkernel stop supporting awhile ago and problem could be related to that - ZRAM implementation.

 

Move to 5.4.y. At least.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines