adding kernel parameter usbcore.autosuspend=-1 solves the autosuspend problem.
pci_pm_freeze_noirq(): check_root_hub_suspended+0x0/0x60
[usbcore
] returns -16
Problem with saving the image on swap partition (lvm) instead of ram still
persist.
root /home/zifxify > cat /etc/fstab
# FSTAB FOR BASE SYSTEM
# <fs> <mountpoint> <type> <opts>
<dump/pass>
tmpfs /tmp tmpfs
strictatime,rw,nosuid,nodev,noexec,auto,nouser 0 0
shm /dev/shm tmpfs
relatime,rw,nosuid,nodev,noexec,auto,nouser 0 0
/dev/mapper/vg0-root / ext4
noatime,rw,suid,dev,exec,auto,nouser,errors=remount-ro 0 1
/dev/mapper/vg0-home /home ext4
relatime,rw,nosuid,nodev,exec,auto,nouser 0 2
/dev/mapper/vg0-var /var ext4
nodiratime,rw,nosuid,dev,exec,auto,nouser 0 2
/dev/mapper/vg0-swap none swap sw
0 0
[ 0.868053] PM: Checking hibernation image partition /dev/mapper/vg0-swap
[ 0.868056] PM: Hibernation image not present or could not be loaded.
[ 7.922659] PM: Hibernation image partition 254:1 present
[ 7.922660] PM: Looking for hibernation image.
[ 7.922804] PM: Hibernation image not present or could not be loaded.
[ 32.455147] PM: Preallocating image memory... done (allocated 221981 pages)
[ 33.047503] PM: Creating hibernation image:
Tried the following options:
adding resume=/dev/mapper/vg0-swap or resume=UUID=xxxx to
/etc/initramfs-tools/conf.d/resume
and
adding resume=/dev/mapper/vg0-swap or resume=UUID=xxxx to
GRUB_CMDLINE_LINUX_DEFAULT
update-grub && update-initramfs -u & cold boot before testing hibernate.
root /home/zifxify > zcat /boot/initrd.img-$(uname -r) | cpio -i --to-stdout
--quiet conf/conf.d/cryptroot && blkid /dev/sda2 && blkid /dev/mapper/vg0-swap
target=lvm,source=UUID=7bd7e2d0-6800-4d53-8827-389153fc7460,rootdev,lvm=vg0-root,key=none
target=lvm,source=UUID=7bd7e2d0-6800-4d53-8827-389153fc7460,lvm=vg0-swap,key=none
/dev/sda2: UUID="7bd7e2d0-6800-4d53-8827-389153fc7460" TYPE="crypto_LUKS"
PARTLABEL="Linux LVM" PARTUUID="284f5e27-d51f
/dev/mapper/vg0-swap: LABEL="swap" UUID="36f3464c-ba50-47db-a06b-4539d3efa616"
TYPE="swap"
root /home/zifxify > zcat /boot/initrd.img-$(uname -r) | cpio -i --to-stdout
--quiet conf/conf.d/resume
RESUME=UUID=36f3464c-ba50-47db-a06b-4539d3efa616