Hibernation doesn't do anything but just lock screen

On 2014-01-03 14:36, ehjhsuse wrote:
> By the way, when I open the Boot Loader it takes a very long time to
> Initialize.

Mmm. Check the BIOS config page, make sure you don’t have a floppy configured in there in the list
of hardware (not in the list of boot devices, that’s a different one).


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

Hi Carlos
I checked BIOS settings and you are right, there was a 1’4 Mb A drive there.
I set it to “none” and then when I reset the PC again I got a black screen instead of the usual desktop.
The only thing on that screen was a little whiite box with a floppy icon on the top right corner.

I had to reboot, go into BIOS and mark the 1’4 Mb A floppy again to be able to get the desktop again.

saludo, Eduardo

Hm. Maybe you have set the Floppy as device to boot from in the BIOS settings?
Try to remove it from or put it after the hard disk in the boot order settings, then your system should boot when you set it to “none” I’d guess.

The problem is not that the system doesn’t boot, the system boots when I set the floppy in BIOS to none, but I get a black screen instead of the kde desktop.

I’ll leave that as it is.
I continue to not be able to suspend to disk.

What am going to try is to place the swap partition on the other disk, /dev/sda instead of /dev/sdb, because the hibernation is still complaining about the swap partition.

R/ Eduardo

Sorry, I have never seen anything like this. KDE should not depend on a Floppy drive being present.
Could you maybe provide a screenshot?

I continue to not be able to suspend to disk.

Try to run “swapon” as root and post the output.

Before installing 13.1 I had no problems with hibernating.
I had /dev/sdb4 as swap

Now I’ve set swap in sda just to change something and see if there is any change.
Here is some data …

linux-b6v0:~ # swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda4                               partition       11398112        0       -1
linux-b6v0:~ # fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000bd490

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *    25173855    46154744    10490445   83  Linux                                                                                        
/dev/sda2         4209030    25173853    10482412   83  Linux
/dev/sda3        46154745   465595828   209720542   83  Linux
/dev/sda4       465595830   488392064    11398117+  82  Linux swap / Solaris

Partition table entries are not in disk order
linux-b6v0:~ # cat /etc/fstab
/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part1 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3250820AS_5QE05JVL-part1 /backup              reiserfs   defaults              1 2
/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part3 /home                reiserfs   defaults              1 2
/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part4 swap                 swap       defaults              0 0
#/dev/disk/by-id/ata-ST3250820AS_5QE05JVL-part4 swap                 swap       defaults              0 0


I’m executing pm-hibernate in order to see what is happening.
I’ve taken a photo of the scree as I don’t know if there is any other way to save the log once system starts hibernate.
How can I post the photo here ?
/home/gloriyedu/tmp/IMG_4855.JPG

The insert image option seems to request a URL.

R / Eduardo

On 2014-01-04 14:16, ehjhsuse wrote:

> I’m executing pm-hibernate in order to see what is happening.
> I’ve taken a photo of the scree as I don’t know if there is any other
> way to save the log once system starts hibernate.

Unless the machine crash, there are two logs: /var/log/messages, and /var/log/pm-suspend.log.

> How can I post the photo here ?

You upload it to susepaste.org, then post the link here.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

On 2014-01-04 12:36, ehjhsuse wrote:
>
> Hi Carlos
> I checked BIOS settings and you are right, there was a 1’4 Mb A drive
> there.
> I set it to “none” and then when I reset the PC again I got a black
> screen instead of the usual desktop.

After you login, or before?

You could try with a new user, if it is after.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

So apparently the swap is working.

I’m executing pm-hibernate in order to see what is happening.

But have you changed the resume parameter to the new swap partition (/dev/sda4) for this boot?

I’ve taken a photo of the scree as I don’t know if there is any other way to save the log once system starts hibernate.

The log goes to /var/log/pm-suspend.log .

How can I post the photo here ?
/home/gloriyedu/tmp/IMG_4855.JPG

The insert image option seems to request a URL.

Upload the image to http://susepaste.org/ or some random picture share site and use the URL you get there.

I changed the swap partition, yes, and also the grub code:

linux-b6v0:/var/log # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Jan  4 13:31:01 CET 2014
# 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

default 0
timeout 4
##YaST - activate
gfxmenu (hd0,0)/boot/message
##YaST - generic_mbr

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 13.1
    root (hd0,0)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part1 resume=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part4 splash=silent quiet showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 13.1
    root (hd0,0)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset  x11failsafe
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: linux###
title Kernel-3.11.6-4-desktop
    root (hd0,0)
    kernel /boot/vmlinuz-3.11.6-4-desktop root=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part1    resume=/dev/disk/by-id/ata-ST3250820AS_5QE05JVL-part4 splash=silent quiet showopts
    initrd /boot/initrd-3.11.6-4-desktop


I run pm-hibernate but after a while I had to reboot as screen stayed stuck, check the following logs.

Here is a photo of the screen after executing pm-hibernate
http://susepaste.org/97930647 I uploaded the photo to http://susepaste.org/97930647

and here is the corresponding pm-suspend.log

inux-b6v0:/var/log # more pm-suspend.log
Initial commandline parameters: 
Sat Jan  4 14:55:28 CET 2014: Running hooks for hibernate.
Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
hibernate initiated: Sat Jan  4 14:55:29 CET 2014

Linux linux-b6v0 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux
kernel command line: 'root=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part1 resume=/dev/disk/by-id/ata-ST3250820AS_5QE0CPYP-part4 splash=silent quiet s
howopts'
Module                  Size  Used by
fuse                   95850  2 
bnep                   19704  2 
bluetooth             396742  5 bnep
rfkill                 26487  2 bluetooth
xt_tcpudp              12884  2 
xt_pkttype             12504  3 
xt_LOG                 17718  10 
xt_limit               12711  10 
af_packet              39774  2 
ip6t_REJECT            12939  3 
nf_conntrack_ipv6      18938  3 
nf_defrag_ipv6         34645  1 nf_conntrack_ipv6
ip6table_raw           12683  1 
ipt_REJECT             12541  3 
iptable_raw            12678  1 
xt_CT                  12956  4 
iptable_filter         12810  1 
ip6table_mangle        12700  0 
nf_conntrack_netbios_ns    12665  0 
nf_conntrack_broadcast    12589  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      15012  3 
nf_defrag_ipv4         12729  1 nf_conntrack_ipv4
ip_tables              27239  2 iptable_raw,iptable_filter
xt_conntrack           12760  6 
nf_conntrack          105228  6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter        12815  1 
ip6_tables             27025  3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               34059  15 xt_tcpudp,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_m
angle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
nvidia              11317896  36 
reiserfs              258859  2 
snd_intel8x0           38104  2 
snd_ac97_codec        138428  1 snd_intel8x0
ac97_bus               12730  1 snd_ac97_codec
snd_pcm               110211  2 snd_intel8x0,snd_ac97_codec
snd_seq                69752  0 
snd_timer              29423  2 snd_pcm,snd_seq
snd_seq_device         14497  1 snd_seq
snd                    87417  10 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
sr_mod                 22411  0 
ppdev                  17671  0 
cdrom                  46652  1 sr_mod
serio_raw              13413  0 
pcspkr                 12718  0 
edac_core              62342  0 
powernow_k8            28360  1 
edac_mce_amd           22617  0 
k8temp                 12978  0 
forcedeth              71556  0 
firewire_ohci          40327  0 
soundcore              15047  1 snd
snd_page_alloc         18710  2 snd_intel8x0,snd_pcm
mperf                  12667  0 
firewire_core          72691  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
ata_generic            12910  0 
pata_amd               18225  0 
nv_tco                 13564  0 
i2c_nforce2            13221  0 
shpchp                 32936  0 
floppy                 69370  0 
parport_pc             37278  0 
parport                46360  2 ppdev,parport_pc
button                 13952  0 
sg                     40629  0 
dm_mod                 92428  0 
autofs4                42770  2 
sata_nv                31841  4 
ohci_pci               13561  0 
fan                    13002  0 
thermal                18754  0 
processor              44625  1 powernow_k8
thermal_sys            36646  3 fan,thermal,processor
scsi_dh_emc            17258  0 
scsi_dh_hp_sw          12895  0 
scsi_dh_alua           17295  0 
scsi_dh_rdac           17447  0 
scsi_dh                14882  4 scsi_dh_emc,scsi_dh_hp_sw,scsi_dh_alua,scsi_dh_rdac

             total       used       free     shared    buffers     cached
Mem:       1989144    1704604     284540          0      74136     527748
-/+ buffers/cache:    1102720     886424
Swap:     11398112       1164   11396948

/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/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)
   Active: inactive (dead)

/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/sda4
  setting image size to 916597555
  adding these parameters from /etc/suspend.conf:
    splash = n

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

/usr/lib/pm-utils/sleep.d/45pcmcia hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork hibernate hibernate:
redirecting to "systemctl --signal=9 kill network.service"

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

/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/95packagekit hibernate hibernate:

/usr/lib/pm-utils/sleep.d/95packagekit hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
nVidia binary video drive 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 #1, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz)
  preparing boot-loader: selecting entry 0, kernel /boot/3.11.6-4-desktop
  grub-once:   saving original /boot/grub/default
  running '/usr/sbin/grubonce 0'
Using entry #0: openSUSE 13.1
    time needed for sync: 0.4 seconds, time needed for grub: 0.1 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 Jan  4 14:55:31 CET 2014: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.


Have you noted this thread: https://forums.opensuse.org/english/get-technical-help-here/laptop/493727-laptop-going-into-kernel-panic-when-sleeps.html#post2612929

What you are suggesting is that I update from my present 3.11.6 to 3.12.6 ?

I need some assistance with that because I don’t know which files I should select in Yast.
The thread you included mentioned: kernel-desktop, kernel source, kernel-devel and kernel-sys

I presently have for 3.11.6:

  • kernel-desktop
  • kernel-desktop-devel
  • kernel-devel

but in Yast I see for 3.12.6:

  • kernel-desktop-base
  • kernel-default
  • kernel-default-base
  • kernel-source
  • kernel-default-devel

and some others

R/ Eduardo

Then install the same for 3.12.6.
But be aware that any already installed 3rd party kernel modules won’t work anymore after installing 3.12.6. This includes proprietary graphics drivers and network drivers (if you had to install them manually because they are not included in the kernel package, that is).

But, your old kernel should still stay installed when you install the new one.
You can boot it by choosing “Advanced Options” in the boot menu if the 3.12.6 kernel would give you problems.

but in Yast I see for 3.12.6:

  • kernel-desktop-base
  • kernel-default
  • kernel-default-base
  • kernel-source
  • kernel-default-devel

and some others

Those are available for 3.11.6 in the standard OSS repo as well, so why is this surprising you? :wink:

Btw, you could also try the 3.11.10 kernel from here (as I also suggested in that other thread):
Index of /repositories/Kernel:/openSUSE-13.1/standard
This one should also contain the necessary fixes already.

Forgive my ignorance but what is confusing me is what packages to choose to go to a new version because the names are not the same.so I don’t know which to choose.

R/ Eduardo

There is no difference in the names.

But I think I know what you mean.

You already have those 3 kernel packages installed, they are not shown a 2nd time with the newer version.
Just select those 3 installed packages, click on “Versions” below the package list and select the 3.12.6 version for installation.

Or right-clicking on them and choosing “Update Unconditionally” should work as well I think.

That’s what I did, and the process was straightforward & successfully resolved the issue without raising new issues for me.

Ok, after upgrading to “3.11.10-7.g016ba65-desktop” hibernation still fails.

I can see the hibernation bar going from right to left, almost to 90 % but then never finishes.
I left it there for almost 5 minutes before rebooting.

R / Eduardo

As I mentioned in the post I linked to my success was with 3.12

:~ # uname -a
Linux p580.cutbeach 3.12.6-1.g080d0df-desktop #1 SMP PREEMPT Tue Dec 24 10:38:59 UTC 2013 (080d0df) x86_64 x86_64 x86_64 GNU/Linux

Hi
I updated to

linux-1hwf:~ # uname -a
Linux linux-1hwf  3.12.6-1.g080d0df-desktop #1 SMP PREEMPT Tue Dec 24 10:38:59 UTC 2013  (080d0df) x86_64 x86_64 x86_64 GNU/Linux

but hibernate still fails to finish.
It seems to do almost everything (?) but doesn’t finish.
Screed goes black but system does not power off.

Here is the last part of the pm-suspend.log file

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

/usr/lib/pm-utils/sleep.d/95packagekit hibernate hibernate: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
No quirk database entry for this system, using default.

/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
  Skipping grub entry #6, because it has the noresume option
  running kernel is grub menu entry 0 (vmlinuz-3.12.6-1.g080d0df-desktop)
  preparing boot-loader: selecting entry 0, kernel /boot/3.12.6-1.g080d0df-desktop
  grub-once:   saving original /boot/grub2/grubenv
  running '/usr/sbin/grub2-once 0'
    time needed for sync: 0.4 seconds, time needed for grub: 0.1 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.
Mon Jan  6 18:22:28 CET 2014: performing hibernate
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: '  --vbe_post --vbe_save --vbe_mode'.


Any idea where to look ?

R, Eduardo

Hi again
hibernate still fails.
I’ve uploaded a photo of the screen so you can see what is seen after clicking on hibernate.
http://susepaste.org/97653175
http://susepaste.org/97653175

gloriyedu@linux-ri96:~> uname -a
Linux linux-ri96 3.12.6-1.g080d0df-desktop #1 SMP PREEMPT Tue Dec 24 10:38:59 UTC 2013 (080d0df) x86_64 x86_64 x86_64 GNU/Linux

regards