Bug 1383604 - Resuming after hibernation reboots back to grub
Summary: Resuming after hibernation reboots back to grub
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 08:18 UTC by Joni Yrjana
Modified: 2016-10-11 11:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-11 11:09:57 UTC
Type: Bug


Attachments (Terms of Use)

Description Joni Yrjana 2016-10-11 08:18:29 UTC
Description of problem:
Resuming after hibernation reboots back to grub.

Version-Release number of selected component (if applicable):
4.7.6

How reproducible:
Always.

Steps to Reproduce:
1. Hibernate
2. Start computer

Actual results:
The resume image is loaded, system reboots back to grub.

Expected results:
After loading the resume image, the system should resume from where it was prior hibernation.

Additional info:
Resuming used to work up to and including kernel version 4.7.2

Suspending (and resuming from it) works 100%.

I have removed the "quiet" kernel argument, so I can see the resume image being loaded 100%, then some message about console, the screen goes black, and the system is soon back to grub.

I'm doing hibernation using the following commands:
echo shutdown > /sys/power/disk
echo disk > /sys/power/state
This is because the default method for /sys/power/disk hasn't worked reliably in the past.

Hardware: i7-4770k cpu, 32g ram, asus h97-pro motherboard, nvidia gtx750ti gpu

I'm using nvidia driver from rpmfusion:
# rpm -qa | grep -i nvidia
akmod-nvidia-367.44-1.fc24.x86_64
xorg-x11-drv-nvidia-libs-367.44-1.fc24.i686
xorg-x11-drv-nvidia-kmodsrc-367.44-1.fc24.x86_64
kmod-nvidia-4.7.4-200.fc24.x86_64-367.44-1.fc24.x86_64
kmod-nvidia-367.44-1.fc24.x86_64
kmod-nvidia-4.7.6-200.fc24.x86_64-367.44-1.fc24.x86_64
xorg-x11-drv-nvidia-367.44-1.fc24.x86_64
kmod-nvidia-4.7.5-200.fc24.x86_64-367.44-1.fc24.x86_64
xorg-x11-drv-nvidia-libs-367.44-1.fc24.x86_64

I've added resume and some nvidia commandline arguments to /etc/default/grub:
GRUB_CMDLINE_LINUX="resume=/dev/sda5 nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off"
# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-4.7.6-200.fc24.x86_64 root=UUID=95946f41-f607-46e6-b4a4-4e3b1d21b073 ro resume=/dev/sda5 nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off LANG=en_US.UTF-8

Comment 1 Josh Boyer 2016-10-11 11:09:57 UTC
Fedora does not support setups with out of tree drivers installed.  If you can recreate this without the nvidia modules loaded, please reopen.

As a secondary note, hibernation is known to be broken in various situations unrelated to driver issues.

Comment 2 Joni Yrjana 2016-10-11 11:43:35 UTC
Tested without nvidia drivers, and resuming from hibernation works.


Note You need to log in before you can comment on or make changes to this bug.