Hibernate stalls/freezes at 0%

I have installed the latest tumbleweed version 2015-06-15.

uname -aLinuxlinux 4.0.5-1-desktop #1 SMP PREEMPT Mon Jun 8 09:07:57UTC 2015 (f4cd21b) i686 i686 i386 GNU/Linux

When I suspend the system everything seems to be fine. I get to the text console screen where the system states the ammount of swap needed to store the image.
But when saving it, s2disk stalls at 0%. Even waiting one hour does not help.

I unplugged all USB devices and since my former openSUSE 12.2 had a problem with USB (took 2 minutes to hibernate or resume) also added

File: /etc/pm/config.d/00sleep_module 
Entry: SUSPEND_MODULES="$SUSPEND_MODULES ehci-hcd"

Unfortunately without success.

pm-suspend log file:


Initial commandline parameters: 
Sat Jun 20 20:31:14 CEST 2015: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
hibernate initiated: Sat Jun 20 20:31:14 CEST 2015

Linux linux.tws-home.de 4.0.5-1-desktop #1 SMP PREEMPT Mon Jun 8 09:07:57 UTC 2015 (f4cd21b) i686 i686 i386 GNU/Linux
kernel command line: 'BOOT_IMAGE=/boot/vmlinuz-4.0.5-1-desktop root=UUID=5d0d4ed0-04bf-49a8-a23a-73bc32aa6b13  resume=/dev/sda2 splash=silent quiet showopts'
Module                  Size  Used by
ctr                    16384  0 
ccm                    20480  0 
rfcomm                 69632  2 
vboxpci                28672  0 
vboxnetadp             28672  0 
vboxnetflt             32768  0 
vboxdrv               331776  3 vboxnetadp,vboxnetflt,vboxpci
nf_log_ipv6            16384  5 
xt_pkttype             16384  3 
af_packet              40960  0 
nf_log_ipv4            16384  5 
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
xt_LOG                 16384  10 
xt_limit               16384  10 
ip6t_REJECT            16384  3 
xt_tcpudp              16384  3 
nf_conntrack_ipv6      16384  3 
nf_defrag_ipv6         28672  1 nf_conntrack_ipv6
ip6table_raw           16384  1 
ipt_REJECT             16384  3 
iptable_raw            16384  1 
xt_CT                  16384  4 
iptable_filter         16384  1 
ip6table_mangle        16384  0 
nf_conntrack_netbios_ns    16384  0 
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      16384  3 
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
ip_tables              20480  2 iptable_filter,iptable_raw
xt_conntrack           16384  6 
nf_conntrack          106496  6 xt_CT,nf_conntrack_netbios_ns,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
ip6table_filter        16384  1 
ip6_tables             20480  3 ip6table_filter,ip6table_mangle,ip6table_raw
x_tables               28672  15 xt_pkttype,ip6table_filter,xt_CT,ip6table_mangle,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6table_raw,ipt_REJECT,ip6_tables,iptable_raw,ip6t_REJECT
bnep                   20480  2 
rtsx_usb_ms            20480  0 
memstick               16384  1 rtsx_usb_ms
uvcvideo               81920  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         53248  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              151552  3 uvcvideo,v4l2_common,videobuf2_core
btusb                  40960  0 
bluetooth             471040  26 bnep,btusb,rfcomm
xfs                   921600  1 
libcrc32c              16384  1 xfs
arc4                   16384  2 
brcmsmac              540672  0 
cordic                 16384  1 brcmsmac
brcmutil               16384  1 brcmsmac
b43                   421888  0 
dm_mod                106496  0 
mac80211              688128  2 b43,brcmsmac
cfg80211              524288  3 b43,brcmsmac,mac80211
ssb                    73728  1 b43
pcmcia                 57344  2 b43,ssb
pcmcia_core            28672  1 pcmcia
iTCO_wdt               16384  0 
iTCO_vendor_support    16384  1 iTCO_wdt
x86_pkg_temp_thermal    16384  0 
intel_powerclamp       20480  0 
coretemp               16384  0 
kvm_intel             159744  0 
kvm                   479232  1 kvm_intel
crc32_pclmul           16384  0 
aesni_intel            20480  0 
aes_i586               20480  1 aesni_intel
xts                    16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  2 lrw,xts
ablk_helper            16384  1 aesni_intel
cryptd                 16384  1 ablk_helper
joydev                 20480  0 
pcspkr                 16384  0 
serio_raw              16384  0 
i2c_i801               24576  0 
snd_hda_codec_hdmi     53248  1 
snd_hda_codec_conexant    24576  1 
snd_hda_codec_generic    69632  1 snd_hda_codec_conexant
snd_hda_intel          32768  3 
snd_hda_controller     36864  1 snd_hda_intel
snd_hda_codec         139264  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              16384  1 snd_hda_codec
ideapad_laptop         20480  0 
snd_pcm               114688  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
sparse_keymap          16384  1 ideapad_laptop
rfkill                 28672  6 cfg80211,ideapad_laptop,bluetooth
bcma                   53248  3 b43,brcmsmac
battery                16384  0 
snd_timer              24576  1 snd_pcm
snd                    77824  14 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
ac                     16384  0 
soundcore              16384  2 snd,snd_hda_codec
mei_me                 24576  0 
thermal                20480  0 
mei                    81920  1 mei_me
lpc_ich                20480  0 
shpchp                 32768  0 
processor              36864  0 
btrfs                1019904  1 
xor                    28672  1 btrfs
raid6_pq              102400  1 btrfs
rtsx_usb_sdmmc         28672  0 
mmc_core              122880  3 b43,ssb,rtsx_usb_sdmmc
crc32c_intel           16384  2 
sr_mod                 24576  0 
cdrom                  57344  1 sr_mod
alx                    36864  0 
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
mdio                   16384  1 alx
mfd_core               16384  2 lpc_ich,rtsx_usb
i915                 1044480  9 
i2c_algo_bit           16384  1 i915
drm_kms_helper        114688  1 i915
xhci_pci               16384  0 
drm                   315392  11 i915,drm_kms_helper
xhci_hcd              163840  1 xhci_pci
video                  20480  1 i915
button                 16384  1 i915
sg                     36864  0 

              total        used        free      shared  buff/cache   available
Mem:        8194328      570916     6685868      175244      937544     7120444
Swap:       8385532           0     8385532


/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:

/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate:

/usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate:
rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...

/usr/lib/pm-utils/sleep.d/02rtcwake hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate:
● autofs.service - Automounts filesystems on demand
   Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:automount(8)
           man:autofs(5)

/usr/lib/pm-utils/sleep.d/06autofs hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate:
INFO: checking for suspend-to-disk prerequisites...
  using userspace suspend method, temp. config file /var/lib/s2disk.conf
  setting resume device to /dev/sda2
  setting image size to 3775946342
  adding these parameters from /etc/suspend.conf:

/usr/lib/pm-utils/sleep.d/30s2disk-check hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate:
ejecting PCMCIA cards...

/usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate:

/usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:
Unloading kernel module ehci-hcd...Done.
Unloading kernel module ehci-hcd...Done.

/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:

/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:

/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate:
INFO: running prepare-grub
  Skipping grub entry #2, because it has the noresume option
  Skipping grub entry #4, because it has the noresume option
stat: missing operand
Try 'stat --help' for more information.
  Skipping grub entry #5, because its root= parameter ()
    does not match the current root device (/dev/sda1).
stat: missing operand
Try 'stat --help' for more information.
  Skipping grub entry #6, because its root= parameter ()
    does not match the current root device (/dev/sda1).
stat: missing operand
Try 'stat --help' for more information.
  Skipping grub entry #7, because its root= parameter ()
    does not match the current root device (/dev/sda1).
  Skipping grub entry #8, because it has the noresume option
stat: missing operand
Try 'stat --help' for more information.
  Skipping grub entry #9, because its root= parameter ()
    does not match the current root device (/dev/sda1).
  Skipping grub entry #10, because it has the noresume option
stat: missing operand
Try 'stat --help' for more information.
  Skipping grub entry #11, because its root= parameter ()
    does not match the current root device (/dev/sda1).
  Skipping grub entry #12, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz-4.0.5-1-desktop)
  preparing boot-loader: selecting entry 0, kernel /boot/4.0.5-1-desktop
  grub-once:   saving original /boot/grub2/grubenv
  running '/usr/sbin/grub2-once 0'
    time needed for sync: 0.0 seconds, time needed for grub: 0.0 seconds.

/usr/lib/pm-utils/sleep.d/99Zgrub hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99info hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99info hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:

/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Sat Jun 20 20:31:14 CEST 2015: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.

Content from journal


Jun 20 20:31:13 linux.tws-home.de NetworkManager[1894]: <info>  sleep requested (sleeping: no  enabled: yes)
Jun 20 20:31:13 linux.tws-home.de NetworkManager[1894]: <info>  sleeping...
Jun 20 20:31:13 linux.tws-home.de NetworkManager[1894]: <info>  (enp1s0): device state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
Jun 20 20:31:13 linux.tws-home.de NetworkManager[1894]: <info>  (wlp2s0b1): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Jun 20 20:31:13 linux.tws-home.de NetworkManager[1894]: <info>  (wlp2s0b1): deactivating device (reason 'sleeping') [37]
Jun 20 20:31:13 linux.tws-home.de kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
Jun 20 20:31:14 linux.tws-home.de NetworkManager[1894]: <info>  (wlp2s0b1): canceled DHCP transaction, DHCP client pid 2728
Jun 20 20:31:14 linux.tws-home.de NetworkManager[1894]: <info>  (wlp2s0b1): DHCPv4 state changed bound -> done
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Withdrawing address record for fe80::c214:3dff:fed8:fd on wlp2s0b1.
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Leaving mDNS multicast group on interface wlp2s0b1.IPv6 with address fe80::c214:3dff:fed8:fd.
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Interface wlp2s0b1.IPv6 no longer relevant for mDNS.
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Withdrawing address record for 192.168.178.34 on wlp2s0b1.
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Leaving mDNS multicast group on interface wlp2s0b1.IPv4 with address 192.168.178.34.
Jun 20 20:31:14 linux.tws-home.de avahi-daemon[1814]: Interface wlp2s0b1.IPv4 no longer relevant for mDNS.
Jun 20 20:31:14 linux.tws-home.de kernel: brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 0 addresses (implement)
Jun 20 20:31:14 linux.tws-home.de kernel: wlp2s0b1: deauthenticating from bc:05:43:72:6a:c7 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 20 20:31:14 linux.tws-home.de kernel: brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: disassociated
Jun 20 20:31:14 linux.tws-home.de kernel: brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
Jun 20 20:31:14 linux.tws-home.de kernel: cfg80211: Calling CRDA for country: US
Jun 20 20:31:14 linux.tws-home.de NetworkManager[1894]: <info>  NetworkManager state is now ASLEEP
Jun 20 20:31:14 linux.tws-home.de kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
Jun 20 20:31:14 linux.tws-home.de dbus[1822]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Jun 20 20:31:14 linux.tws-home.de systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 20 20:31:14 linux.tws-home.de systemd[1]: Reached target Sleep.
Jun 20 20:31:14 linux.tws-home.de systemd[1]: Starting Sleep.
Jun 20 20:31:14 linux.tws-home.de systemd[1]: Starting Hibernate...
Jun 20 20:31:14 linux.tws-home.de dbus[1822]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 20 20:31:14 linux.tws-home.de systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 20 20:31:14 linux.tws-home.de unknown[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success
Jun 20 20:31:14 linux.tws-home.de nm-dispatcher[3878]: Dispatching action 'down' for wlp2s0b1
Jun 20 20:31:14 linux.tws-home.de systemd-sleep[3884]: Suspending system...

The system has 8GB RAM and when I try to suspend about 1,5GB RAM and 0GB SWAP are used. So it will fit into swap partitition.

Do you need more information?

UPDATE: I have removed one memory chip. So my RAM size is now 4GB. Then the system hibernates. According to the pm-suspend.logeverything seems to be fine (except for the grup entries. Then I have changes the filesystem of /boot from btrfs to ext4. This also solved the huge number of "Skipping grub entry … ".

So when I hibernate now the system really turns off. But only with 4GB or RAM. With 8GB hibernate still stalls.

There seems to be an issue still. Because the resume is just staring the system without using the suspended image. Grub uses the saved entry (I have no choice to change anything in the grub start menu).