Hi all! I have 13.2 installed and use hibernate everyday.
The problem is when the system turns on, it proceeds straight to a cold boot, complete with an fsck. Turning off for hibernate seems to work fine, as in the system manages to save state then turn off properly. I’ve tried disabling zram before hibernate and it doesn’t make a difference. Swap partition is 8GB, RAM is 16GB, but images don’t exceed 4GB most of the time. Running sudo pm-hibernate
makes no difference either.
Resuming from hibernate sporiadically used to work before (it used to resume properly at times), but after editing /etc/susend.conf to enable “suspend loglevel = 7”, resuming from hibernate broke completely.
When hibernate used to work and resumed properly, sometimes it doesn’t go to the desktop after loading, requiring me to press MagicSysRq+E to get to the desktop.
Laptop:
Asus N55SF
i5-2450M
Nvidia GT555M
16GB RAM
Thank you!
dmesg and pm-suspend.log
https://gist.github.com/tsdmgz/eeed0b67fb7b335cd88d
/etc/fstab
UUID=57539cb4-bc4c-474e-a9a5-29cca9dffab7 / ext4 acl,user_xattr 1 1
UUID=ed04644d-acd5-48aa-8e40-0ba013d293eb /boot ext2 acl,user_xattr 1 2
UUID=2345be2c-1a5d-4d94-80d2-09b70339d544 swap swap defaults 0 0
UUID=d2b42b5b-3082-4251-a20e-b39c4ab08320 /home ext4 defaults 1 2
UUID=DC7A3FE87A3FBE58 /mnt/d ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
UUID=993f858f-5108-4451-89d7-82b5f473735d /mnt/d/work ext4 defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
//xiaoyun.dmgzhome/share /mnt/z cifs noauto,_netdev,file_mode=0666,dir_mode=0777,username=guest,password=,users,gid=users 0 0
/proc/swaps
Filename Type Size Used Priority
/dev/sda8 partition 8288116 0 -1
/dev/zram0 partition 524284 0 100
/dev/zram1 partition 524284 0 100
/dev/zram2 partition 524284 0 100
/dev/zram3 partition 524284 0 100
/etc/default/grub
# Modified by YaST2. Last modification on Sat Jan 17 13:23:07 PHT 2015
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR=openSUSE
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=1
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/2345be2c-1a5d-4d94-80d2-09b70339d544 showopts elevator=deadline i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 nouveau.modeset=0"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
# Set to 'y' for grub to be installed on an encrypted partition
GRUB_ENABLE_CRYPTODISK=n
SUSE_BTRFS_SNAPSHOT_BOOTING=true
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
suspend.conf
#############################################################################
##
## note:
## using pm-utils or powersaved, this file (/etc/suspend.conf) only serves as
## a template, image_size and resume_device are filled in dynamically
## and the generated /var/lib/s2disk.conf is used to suspend.
## _If_ you enter stuff here, it will be copied to that file unchanged,
## but this might skip some features and sanity checks.
##
#############################################################################
##
## your snapshot device. You should not need to change this.
# snapshot device = /dev/snapshot
#
## enter your swap device here. Read the warning on pm-utils above, please!
#resume device = <path_to_resume_device_file>
#
## image size will also be filled in by pm-utils
#image size = 350000000
#
suspend loglevel = 7
#max loglevel =
#
## compute checksum will slow down suspend and resume.
## Debugging option, default n
#compute checksum = y
#
## compression will often speed up suspend and resume (default y)
#compress = n
#
## encryption support is rather basic right now - e.g. USB keyboards will not
## work to enter the key in the standard initrd, also beware of
## non-US keyboard layouts. Only use this if you know what you are doing.
#encrypt = y
#
## RSA key file that is used for encryption
#RSA key file = /etc/suspend.key
#
## start writing out the image early, before buffers are full.
## will most of the time speed up overall writing time (default y)
#early writeout = n
#
## use splash picture? (default y)
#splash = y
#
## shutdown method:
## platform - go through ACPI BIOS to power off the machine (default on
## machines that support it)
## shutdown - just power off like after a shutdown
## reboot - reboot instead of powering off. For debugging only.
#shutdown method = platform
#
## resume offset: for use with swapfiles, use "swap-offset" to find out.
#resume offset = 12345
#
## pause after resume for n seconds, so that the timing information can
## actually be read (default 0 => don't pause)
#resume pause = 3
#
## use threads for suspend? (default n)
## this hugely speeds up encryption and also compression on mulitcore machines
#threads = y