You are not logged in.

#1 2016-04-21 19:11:26

Ambyjkl
Member
Registered: 2015-12-05
Posts: 33

TuxOnIce (linux-pf) resume fails every time

Hi!
I just compiled linux-pf from aur to try out TuxOnIce since the default kernel hibernate is very unreliable and fails about 50% of the time for me.
I followed the instructions in the Arch wiki TuxonIce page. I even installed the tuxonice-userui package from aur to see the progress of the hibernation progress.
I tried everything I could think of like disabling compression and messing around with the mkinitcpio configurations, but in vain. I am able to successfully get it to hibernate but I am not able get it to resume, the progress bar just freezes at atomic copy/restore and I am forced to power-off the laptop.
On the subsequent boot I am greeted with a big fat warning from tuxonice that retrying to resume will also most probably fail and I should rather delete the image file and do a normal boot.

Here is some of my journalctl:

Apr 22 05:44:47 localhost systemd[1]: Starting Resume from hibernation using device /dev/sda7...
Apr 22 05:44:47 localhost kernel: PM: Starting manual resume from disk
Apr 22 05:44:47 localhost kernel: random: nonblocking pool is initialized
Apr 22 05:44:47 localhost systemd[1]: Found device WDC_WD10SPCX-21KHST0 6.
Apr 22 05:44:48 localhost systemd[1]: dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device: Dev dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5
Apr 22 05:44:48 localhost systemd[1]: dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device: Dev dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda4 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1
Apr 22 05:44:48 localhost kernel: TuxOnIce: Image found.
Apr 22 05:44:48 localhost kernel: ------------[ cut here ]------------
Apr 22 05:44:48 localhost kernel: WARNING: CPU: 0 PID: 110 at kernel/workqueue.c:2416 check_flush_dependency+0x92/0x130()
Apr 22 05:44:48 localhost kernel: workqueue: PF_MEMALLOC task 110(systemd-hiberna) is flushing !WQ_MEM_RECLAIM events_freezable_power_:disk_events_workfn
Apr 22 05:44:48 localhost kernel: Modules linked in:
Apr 22 05:44:48 localhost kernel:  sd_mod rtsx_usb_sdmmc rtsx_usb atkbd libps2 ahci libahci i915 libata ehci_pci intel_gtt xhci_pci i2c_algo_bit ehci_hcd drm_kms_helper syscopyarea sysfillrect sysimgblt xhci_hcd fb_sys_fops scsi_mod drm usbcore usb_common i2c_core i8042 serio sdhci_acpi sdhci led_class video mmc_core button
Apr 22 05:44:48 localhost kernel: CPU: 0 PID: 110 Comm: systemd-hiberna Not tainted 4.5.1-pf #1
Apr 22 05:44:48 localhost kernel: Hardware name: Acer Aspire V3-371/Aspire V3-371, BIOS V1.15 11/19/2014
Apr 22 05:44:48 localhost kernel:  0000000000000086 00000000eea3244c ffff880252dc7910 ffffffff812de2b1
Apr 22 05:44:48 localhost kernel:  ffff880252dc7958 ffffffff8172ac6f ffff880252dc7948 ffffffff810779c2
Apr 22 05:44:48 localhost kernel:  ffff880256091c00 ffff880252c71800 ffffffff812c2910 ffff880256013800
Apr 22 05:44:48 localhost kernel: Call Trace:
Apr 22 05:44:48 localhost kernel:  [<ffffffff812de2b1>] dump_stack+0x63/0x82
Apr 22 05:44:48 localhost kernel:  [<ffffffff810779c2>] warn_slowpath_common+0x82/0xc0
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c2910>] ? disk_check_events+0x140/0x140
Apr 22 05:44:48 localhost kernel:  [<ffffffff81077a5c>] warn_slowpath_fmt+0x5c/0x80
Apr 22 05:44:48 localhost kernel:  [<ffffffff81592f93>] ? schedule_timeout+0x1d3/0x260
Apr 22 05:44:48 localhost kernel:  [<ffffffff8108c6a2>] check_flush_dependency+0x92/0x130
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c2910>] ? disk_check_events+0x140/0x140
Apr 22 05:44:48 localhost kernel:  [<ffffffff8108e969>] flush_work+0x79/0x1b0
Apr 22 05:44:48 localhost kernel:  [<ffffffff8108f305>] __cancel_work_timer+0xa5/0x1d0
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c2741>] ? exact_lock+0x11/0x20
Apr 22 05:44:48 localhost kernel:  [<ffffffff8140519f>] ? kobj_lookup+0x10f/0x160
Apr 22 05:44:48 localhost kernel:  [<ffffffff8108f463>] cancel_delayed_work_sync+0x13/0x20
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c3968>] disk_block_events+0x78/0x80
Apr 22 05:44:48 localhost kernel:  [<ffffffff8121f7a4>] __blkdev_get+0x74/0x430
Apr 22 05:44:48 localhost kernel:  [<ffffffff81220542>] blkdev_get+0x132/0x360
Apr 22 05:44:48 localhost kernel:  [<ffffffff811ff740>] ? iget5_locked+0x90/0x1e0
Apr 22 05:44:48 localhost kernel:  [<ffffffff8121e6e0>] ? bdev_test+0x20/0x20
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c140f>] part_matches_fs_info+0x9f/0x340
Apr 22 05:44:48 localhost kernel:  [<ffffffff810b0d95>] ? ___toi_get_nonconflicting_page+0x115/0x160
Apr 22 05:44:48 localhost kernel:  [<ffffffff812c36da>] blk_lookup_fs_info+0xaa/0x120
Apr 22 05:44:48 localhost kernel:  [<ffffffff810b7278>] toi_bio_read_header_init+0x1d8/0x340
Apr 22 05:44:48 localhost kernel:  [<ffffffff810b02cc>] read_pageset1+0x6c/0x7d0
Apr 22 05:44:48 localhost kernel:  [<ffffffff810c4d2a>] ? toi_alloc_bitmap+0x3a/0x70
Apr 22 05:44:48 localhost kernel:  [<ffffffff810ace7e>] do_load_atomic_copy+0x6e/0xc0
Apr 22 05:44:48 localhost kernel:  [<ffffffff810ad856>] toi_try_resume+0x76/0x90
Apr 22 05:44:48 localhost kernel:  [<ffffffff810ad898>] toi_sys_power_disk_try_resume+0x28/0x40
Apr 22 05:44:48 localhost kernel:  [<ffffffff810aa67c>] try_tuxonice_resume+0x2c/0x70
Apr 22 05:44:48 localhost kernel:  [<ffffffff810c1a1c>] software_resume+0x2c/0x390
Apr 22 05:44:48 localhost kernel:  [<ffffffff810c1e42>] resume_store+0xc2/0xd0
Apr 22 05:44:48 localhost kernel:  [<ffffffff812e03ef>] kobj_attr_store+0xf/0x20
Apr 22 05:44:48 localhost kernel:  [<ffffffff8125f697>] sysfs_kf_write+0x37/0x40
Apr 22 05:44:48 localhost kernel:  [<ffffffff8125ec2a>] kernfs_fop_write+0x11a/0x170
Apr 22 05:44:48 localhost kernel:  [<ffffffff811e46a8>] __vfs_write+0x18/0x40
Apr 22 05:44:48 localhost kernel:  [<ffffffff811e5497>] vfs_write+0xa7/0x1a0
Apr 22 05:44:48 localhost kernel:  [<ffffffff811e63d5>] SyS_write+0x55/0xc0
Apr 22 05:44:48 localhost kernel:  [<ffffffff8159402e>] entry_SYSCALL_64_fastpath+0x12/0x6d
Apr 22 05:44:48 localhost kernel: ---[ end trace 48377dc7aa44312c ]---
Apr 22 05:44:48 localhost kernel: Using dev_t 8:7, returned by blk_lookup_fs_info.
Apr 22 05:44:48 localhost kernel: === TuxOnIce ===
Apr 22 05:44:48 localhost kernel: BIG FAT WARNING!!
                                  
                                  You have tried to resume from this image before.
                                  If it failed once, it may well fail again.
                                  Would you like to remove the image and boot normally?
                                  This will be equivalent to entering noresume on the
                                  kernel command line.
                                  
                                  Press SPACE to remove the image or C to continue resuming.
Apr 22 05:44:48 localhost kernel: Default action if you don't select one in 25 seconds is: remove the image.
Apr 22 05:44:53 localhost kernel: TuxOnIce: Tried to resume before: Invalidated image.
Apr 22 05:44:53 localhost kernel: PM: Hibernation image partition 8:7 present
Apr 22 05:44:53 localhost kernel: PM: Looking for hibernation image.
Apr 22 05:44:53 localhost kernel: PM: Image not found (code -22)
Apr 22 05:44:53 localhost kernel: PM: Hibernation image not present or could not be loaded.
Apr 22 05:44:53 localhost systemd-hibernate-resume[110]: Could not resume from '/dev/sda7' (8:7).

Please help.

Offline

Board footer

Powered by FluxBB