Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727436

Summary: sys-kernel/gentoo-sources-5.7.0: swapfile has holes
Product: Gentoo Linux Reporter: Julien Delquié <julien.dlq>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julien Delquié 2020-06-07 16:44:33 UTC
Impossible to mount swapfile during boot.

[    7.766831] swapon: swapfile has holes
[    7.768753] systemd[1]: Started Load/Save Random Seed.
[    7.769423] systemd[1]: swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION
[    7.769443] systemd[1]: swapfile.swap: Failed with result 'exit-code'.
[    7.769527] systemd[1]: Failed to activate swap /swapfile.
[    7.769540] systemd[1]: Dependency failed for Swap.
[    7.769553] systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.

Issue happens also using sudo swapon /swapfile.

Reproducible: Always

Steps to Reproduce:
1. Boot Kernel 5.7.0
2. Impossible to mount swapfile
3. No swap
Actual Results:  
Swapfile not mounted.

Expected Results:  
Swapfile mounted.
Comment 1 Julien Delquié 2020-06-07 17:22:49 UTC
Ok, using dd to recreate swapfile, then mkswap, then swap on works!
Comment 2 Jonas Stein gentoo-dev 2020-06-07 22:51:30 UTC
I read it as: Problem on local machine was fixed.
And close here. Please reopen with full set of log if it was wrong.