Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727436 - sys-kernel/gentoo-sources-5.7.0: swapfile has holes
Summary: sys-kernel/gentoo-sources-5.7.0: swapfile has holes
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-07 16:44 UTC by Julien Delquié
Modified: 2020-06-07 22:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.