FS#63841 - [linux] can't hibernate to a swap file on F2FS
Attached to Project:
Arch Linux
Opened by nl6720 (nl6720) - Thursday, 19 September 2019, 14:19 GMT
Last edited by Toolybird (Toolybird) - Sunday, 28 May 2023, 06:47 GMT
Opened by nl6720 (nl6720) - Thursday, 19 September 2019, 14:19 GMT
Last edited by Toolybird (Toolybird) - Sunday, 28 May 2023, 06:47 GMT
|
Details
Description:
After updating to linux 5.3.arch1-1 hibernating to a swap file on F2FS doesn't work. sep 19 13:53:49 systemd-sleep[1900]: Failed to write 'disk' to /sys/power/state: No such device sep 19 13:53:49 systemd-sleep[1900]: Failed to suspend system. System resumed again: No such device # cat /sys/power/state freeze mem disk # cat /etc/fstab /dev/mapper/root / f2fs rw,relatime,lazytime,background_gc=on,discard,no_heap,inline_xattr,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix 0 1 /swapfile none swap defaults 0 0 PARTUUID=5950c602-ced5-4a63-9b22-705a45677297 /boot vfat noauto,x-systemd.automount,x-systemd.idle-timeout=300,rw,relatime,discard,fmask=0133,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,tz=UTC,errors=remount-ro 0 2 /dev/mapper/home /home xfs rw,relatime,attr2,inode64,noquota 0 2 # cat /proc/cmdline \\vmlinuz-linux root=/dev/mapper/root rw resume=/dev/mapper/root resume_offset=20531525 add_efi_memmap apparmor=1 security=apparmor initrd=/intel-ucode.img initrd=/initramfs-linux.img debug # filefrag -v /swapfile Filesystem type is: f2f52010 File size of /swapfile is 17179869184 (4194304 blocks of 4096 bytes) ext: logical_offset: physical_offset: length: expected: flags: 0: 0.. 584076: 20531525.. 21115601: 584077: 1: 584077.. 1037699: 21115651.. 21569273: 453623: 21115602: 2: 1037700.. 2792540: 21569314.. 23324154: 1754841: 21569274: 3: 2792541.. 3513436: 23324225.. 24045120: 720896: 23324155: 4: 3513437.. 4194303: 24045192.. 24726058: 680867: 24045121: last,eof /swapfile: 5 extents found # grep . /sys/power/resume* /sys/power/resume:254:0 /sys/power/resume_offset:20531525 Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any linux 5.3.arch1-1 Steps to reproduce: Create a swapfile on F2FS and try to hibernate to it. |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 28 May 2023, 06:47 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Sunday, 28 May 2023, 06:47 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
> * Support swap file w/ DIO
Sounds suspiciously relevant, could well be what broke it. You probably can report directly upstream (ideally though, testing first whether reverting the commit helps).
I mean, [REGRESSION][BISECTED] tags on the report are always impressive.
I gave up on F2FS, so this bug is not that relevant to me anymore.
I'm currently on 5.5.5.arch1-1, let me know if there is any logs or testing I can help with.
I'm currently on 5.5.5.arch1-1, let me know if there is any logs or testing I can help with.