4

When I type

sudo systemctl hibernate

My computer (Sony Vaio VPCEB1E9J) doesn't hibernate and instead freezes up. I have to do a hard reboot to gain control of the machine again. Furthermore, I do not use any btrfs partitions. I also use a swap file.

I am using Ubuntu 17.04.

fosslinux
  • 3,881
Salem Masoud
  • 183
  • 2
  • 15

1 Answers1

2

First off, given that you're using a swap file, can we assume that you're currently configuring your grub file with both resume and resume_offset tags? To review these requirements, check out the Arch reference here: https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Hibernation_into_swap_file (much of the text will still be relevant for Debian/Ubuntu).

That said, I had a hard time myself getting hibernate to work with my Dell XPS 9560. The issue I had appears to have been ACPI-related, and I could only hibernate if I had completely disabled ACPI in the kernel (acpi=off).

It turns out that more recent Ubuntu kernels now ship with ACPI rev. 6 support (where compiled with the CONFIG_ACPI_REV_OVERRIDE_POSSIBLE flag). Not sure exactly when this flag was getting compiled into the kernel, but I suspect recently (>4.10.0-20 or so?).

Regardless, forcing ACPI to use rev. 5 (acpi_rev_override=5) in grub seems to resolve my hibernation issues.

Worth a shot...

Rich

richbl
  • 2,373