You are not logged in.

#1 2020-06-29 06:54:46

zandana
Member
Registered: 2020-04-29
Posts: 16

Dependency failed for Swap - 5.7.6 kernel

Hello,

I'm getting this error after latest upgrade to 5.7.6-arch1-1 GNU/Linux.

I think it is kernel related because I'm not getting this error when I switch to linux-lts

5.7.6-arch1-1 GNU/Linux
...
Jun 29 09:32:51 archie systemd[1]: Finished Remount Root and Kernel File Systems.
Jun 29 09:32:51 archie systemd[1]: Activating swap /swapfile...
Jun 29 09:32:51 archie systemd[1]: Condition check resulted in First Boot Wizard being skipped.
Jun 29 09:32:51 archie systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Jun 29 09:32:51 archie systemd[1]: Starting Load/Save Random Seed...
Jun 29 09:32:51 archie systemd[1]: Condition check resulted in Create System Users being skipped.
Jun 29 09:32:51 archie systemd[1]: Starting Create Static Device Nodes in /dev...
Jun 29 09:32:51 archie kernel: swapon: swapfile has holes
Jun 29 09:32:51 archie kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jun 29 09:32:51 archie kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jun 29 09:32:51 archie kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0
Jun 29 09:32:51 archie systemd[1]: swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION
Jun 29 09:32:51 archie systemd[1]: swapfile.swap: Failed with result 'exit-code'.
Jun 29 09:32:51 archie systemd[1]: Failed to activate swap /swapfile.
Jun 29 09:32:51 archie systemd[1]: Dependency failed for Swap.
Jun 29 09:32:51 archie systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.
Jun 29 09:32:51 archie systemd[1]: Mounting Temporary Directory (/tmp)...
Jun 29 09:32:51 archie systemd[1]: Mounted Temporary Directory (/tmp).
...

Do you have any idea what may cause this?

Last edited by zandana (2020-06-29 06:56:29)

Offline

#2 2020-06-29 07:03:22

finoderi
Member
Registered: 2020-06-12
Posts: 76

Re: Dependency failed for Swap - 5.7.6 kernel

Have you created your swap file with fallocate? If you have, remove and recreate it with dd as described in the wiki - https://wiki.archlinux.org/index.php/Sw … e_creation

Offline

#3 2020-07-01 20:02:55

zandana
Member
Registered: 2020-04-29
Posts: 16

Re: Dependency failed for Swap - 5.7.6 kernel

finoderi wrote:

Have you created your swap file with fallocate? If you have, remove and recreate it with dd as described in the wiki - https://wiki.archlinux.org/index.php/Sw … e_creation

Thanks, this solved my issue!

Offline

Board footer

Powered by FluxBB