[opensuse] Complete hibernation failure in 12.3
Hi, I'm testing openSUSE 12.3 XFCE in a spare disk on my main computer. Almost everything works, but there is something crucial that does not: hibernation. Machine is: CPU: Core(TM)2 Quad CPU Q9550 @ 2.83GHz Memory Size: 8 GB gfcard: nVidia G96 [GeForce 9500 GT] driver: nouveau, drm. AFAIK, either called from the xfce menu or from commandline in text mode (pm-hibernate), it appears to go through the motions, but fails miserably to restore. In fact, I it is possible that nothing is saved to the swap, because pm-hibernate happens in 3 seconds. My work partition takes about half a minute to hibernate, but I also run more things, so more memory is used. During restore I see that the computer goes automatically to boot from the right hard disk (the key to choose boot device is disabled for one go), then goes through grub without waiting, loads something, black screen fast, and normal boot proceeds (with filesystem check). I see in "/var/log/pm-suspend.log" that the hooks are run, except one. For instance, "/etc/pm/sleep.d/99at" runs, but not "/etc/pm/sleep.d/05cosas", no mention on the log of this. But that is a minor issue. In my messages log, a normal halt/boot sequence goes like this: +++···························
2013-06-02T19:02:24.844337+02:00 rescate1 sshd[3693]: Received signal 15; terminating. 2013-06-02T19:02:24.844665+02:00 rescate1 systemd[1]: Stopped /etc/init.d/boot.local Compatibility. 2013-06-02T19:02:24.844946+02:00 rescate1 systemd[1]: Stopping Login Prompts. 2013-06-02T19:02:24.845574+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="1069" x-info="http://www.rsyslog.com"] exiting on signal 15. 2013-06-02 19:02:24+02:00 - Halting the system now =========================================== uptime: 19:02pm up 0:08, 0 users, load average: 0.09, 0.10, 0.07 2013-06-02 19:04:17+02:00 - Booting the system now ================================================================================ Linux rescate1.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux 2013-06-02T19:04:17.282712+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="844" x-info="http://www.rsyslog.com"] start 2013-06-02T19:04:17.282935+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpuset 2013-06-02T19:04:17.282939+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpu ···························++-
However, when I attempt to hibernate, I see this: +++···························
2013-06-02T20:00:01.639396+02:00 rescate1 /USR/SBIN/CRON[6191]: pam_unix(crond:session): session closed for user root 2013-06-02T20:02:24.794186+02:00 rescate1 systemd[1]: Starting Sleep. 2013-06-02T20:02:24.804959+02:00 rescate1 systemd[1]: Reached target Sleep. 2013-06-02T20:02:24.805326+02:00 rescate1 systemd[1]: Starting Hibernate... 2013-06-02T20:02:24.834189+02:00 rescate1 systemd-sleep[6270]: Hibernating system... 2013-06-02T20:02:24.962914+02:00 rescate1 network[6325]: redirecting to "systemctl --signal=9 kill network.service" 2013-06-02T20:02:27.702751+02:00 rescate1 kernel: [ 3145.119158] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] 2013-06-02T20:02:27.702768+02:00 rescate1 kernel: [ 3145.119164] PM: Marking nosave pages: [mem 0xbff90000-0xffffffff] 2013-06-02T20:02:27.703647+02:00 rescate1 kernel: [ 3145.120341] PM: Basic memory bitmaps created 2013-06-02 20:03:42+02:00 - Booting the system now ================================================================================ Linux rescate1.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux 2013-06-02T20:03:42.526203+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="911" x-info="http://www.rsyslog.com"] start 2013-06-02T20:03:42.526221+02:00 rescate1 systemd[1]: Started Collect Read-Ahead Data. 2013-06-02T20:03:42.526296+02:00 rescate1 systemd[1]: Started Replay Read-Ahead Data. 2013-06-02T20:03:42.526298+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpuset 2013-06-02T20:03:42.526301+02:00 rescate1 systemd[1]: Starting Load Kernel Modules... ···························++-
It does a normal boot after hibernate, not a restore. The kernel line used is: +++···························
2013-06-02T20:03:42.526307+02:00 rescate1 kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.7.10-1.11-desktop root=UUID=3f875e95-5323-4527-88bd-39bce605e6e9 resume=/dev/disk/by-label/aux_swap showopts splash=verbose console=tty1 loglevel=3 ···························++-
The partitions are correct: +++···························
cer@rescate1:~> l /dev/disk/by-uuid/3f875e95-5323-4527-88bd-39bce605e6e9 lrwxrwxrwx 1 root root 10 Jun 2 20:03 /dev/disk/by-uuid/3f875e95-5323-4527-88bd-39bce605e6e9 -> ../../sda1 cer@rescate1:~> l /dev/disk/by-label/aux_swap lrwxrwxrwx 1 root root 10 Jun 2 20:03 /dev/disk/by-label/aux_swap -> ../../sda2 cer@rescate1:~> su Password: rescate1:/home/cer # file -s /dev/sda1 /dev/sda1: x86 boot sector, code offset 0x63 rescate1:/home/cer # file -s /dev/sda2 /dev/sda2: Linux/i386 swap file (new style), version 1 (4K pages), size 1048575 pages, LABEL=aux_swap, UUID=dcc14c11-aa74-4ac9-955f-efd34a8cdb10 rescate1:/home/cer # exit cer@rescate1:~>
cer@rescate1:~> cat /etc/fstab LABEL=aux_extrasys / ext4 acl,user_xattr 1 1 LABEL=aux_swap swap swap defaults 0 0
#/dev/mapper/cr_ata-ST2000DM001-1CH164_W1E4056F-part3 /data/aux xfs nofail 0 2 /dev/mapper/cr_Aux_01 /data/aux xfs nofail 1 6
proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
...
rescate1:~ # swapon --summary Filename Type Size Used Priority /dev/sda2 partition 4194300 0 -1 ···························++-
Mmm... swap is smaller than RAM. Should not be a problem, but it might be... :-? [...] Ok, I switched swap to another, bigger, partition. But I have the same problem. This is the used memory and swap table, taken from "top": +++···························
top - 21:36:26 up 16 min, 6 users, load average: 0,09, 0,14, 0,13 Tasks: 186 total, 1 running, 185 sleeping, 0 stopped, 0 zombie %Cpu(s): 1,8 us, 1,0 sy, 0,0 ni, 95,6 id, 1,5 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem: 8193808 total, 1291152 used, 6902656 free, 29848 buffers KiB Swap: 10482376 total, 0 used, 10482376 free, 463608 cached ···························++-
The next thing I could try is using the proprietary NVidia driver, instead of nouveau :-? -- Cheers / Saludos, Carlos E. R. (from oS 12.3 "Dartmouth" GM (rescate 1)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 No ideas? Anybody? - -- Cheers / Saludos, Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) On 2013-06-02 21:50, Carlos E. R. wrote:
Hi,
I'm testing openSUSE 12.3 XFCE in a spare disk on my main computer. Almost everything works, but there is something crucial that does not: hibernation.
Machine is:
CPU: Core(TM)2 Quad CPU Q9550 @ 2.83GHz Memory Size: 8 GB gfcard: nVidia G96 [GeForce 9500 GT] driver: nouveau, drm.
AFAIK, either called from the xfce menu or from commandline in text mode (pm-hibernate), it appears to go through the motions, but fails miserably to restore. In fact, I it is possible that nothing is saved to the swap, because pm-hibernate happens in 3 seconds. My work partition takes about half a minute to hibernate, but I also run more things, so more memory is used.
During restore I see that the computer goes automatically to boot from the right hard disk (the key to choose boot device is disabled for one go), then goes through grub without waiting, loads something, black screen fast, and normal boot proceeds (with filesystem check).
I see in "/var/log/pm-suspend.log" that the hooks are run, except one. For instance, "/etc/pm/sleep.d/99at" runs, but not "/etc/pm/sleep.d/05cosas", no mention on the log of this. But that is a minor issue.
In my messages log, a normal halt/boot sequence goes like this:
+++ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ
2013-06-02T19:02:24.844337+02:00 rescate1 sshd[3693]: Received signal 15; terminating. 2013-06-02T19:02:24.844665+02:00 rescate1 systemd[1]: Stopped /etc/init.d/boot.local Compatibility. 2013-06-02T19:02:24.844946+02:00 rescate1 systemd[1]: Stopping Login Prompts. 2013-06-02T19:02:24.845574+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="1069" x-info="http://www.rsyslog.com"] exiting on signal 15. 2013-06-02 19:02:24+02:00 - Halting the system now =========================================== uptime: 19:02pm up 0:08, 0 users, load average: 0.09, 0.10, 0.07 2013-06-02 19:04:17+02:00 - Booting the system now ================================================================================
Linux rescate1.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May
16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux 2013-06-02T19:04:17.282712+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="844" x-info="http://www.rsyslog.com"] start 2013-06-02T19:04:17.282935+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpuset 2013-06-02T19:04:17.282939+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpu ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ++-
However, when I attempt to hibernate, I see this:
+++ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ
2013-06-02T20:00:01.639396+02:00 rescate1 /USR/SBIN/CRON[6191]: pam_unix(crond:session): session closed for user root 2013-06-02T20:02:24.794186+02:00 rescate1 systemd[1]: Starting Sleep. 2013-06-02T20:02:24.804959+02:00 rescate1 systemd[1]: Reached target Sleep. 2013-06-02T20:02:24.805326+02:00 rescate1 systemd[1]: Starting Hibernate... 2013-06-02T20:02:24.834189+02:00 rescate1 systemd-sleep[6270]: Hibernating system... 2013-06-02T20:02:24.962914+02:00 rescate1 network[6325]: redirecting to "systemctl --signal=9 kill network.service" 2013-06-02T20:02:27.702751+02:00 rescate1 kernel: [ 3145.119158] PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] 2013-06-02T20:02:27.702768+02:00 rescate1 kernel: [ 3145.119164] PM: Marking nosave pages: [mem 0xbff90000-0xffffffff] 2013-06-02T20:02:27.703647+02:00 rescate1 kernel: [ 3145.120341] PM: Basic memory bitmaps created 2013-06-02 20:03:42+02:00 - Booting the system now ================================================================================
Linux rescate1.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May
16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux 2013-06-02T20:03:42.526203+02:00 rescate1 rsyslogd: [origin software="rsyslogd" swVersion="7.2.7" x-pid="911" x-info="http://www.rsyslog.com"] start 2013-06-02T20:03:42.526221+02:00 rescate1 systemd[1]: Started Collect Read-Ahead Data. 2013-06-02T20:03:42.526296+02:00 rescate1 systemd[1]: Started Replay Read-Ahead Data. 2013-06-02T20:03:42.526298+02:00 rescate1 kernel: [ 0.000000] Initializing cgroup subsys cpuset 2013-06-02T20:03:42.526301+02:00 rescate1 systemd[1]: Starting Load Kernel Modules... ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ++-
It does a normal boot after hibernate, not a restore.
The kernel line used is:
+++ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ
2013-06-02T20:03:42.526307+02:00 rescate1 kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.7.10-1.11-desktop root=UUID=3f875e95-5323-4527-88bd-39bce605e6e9 resume=/dev/disk/by-label/aux_swap showopts splash=verbose console=tty1 loglevel=3 ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ++-
The partitions are correct:
+++ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ
cer@rescate1:~> l /dev/disk/by-uuid/3f875e95-5323-4527-88bd-39bce605e6e9 lrwxrwxrwx 1 root root 10 Jun 2 20:03 /dev/disk/by-uuid/3f875e95-5323-4527-88bd-39bce605e6e9 -> ../../sda1 cer@rescate1:~> l /dev/disk/by-label/aux_swap lrwxrwxrwx 1 root root 10 Jun 2 20:03 /dev/disk/by-label/aux_swap -> ../../sda2 cer@rescate1:~> su Password: rescate1:/home/cer # file -s /dev/sda1 /dev/sda1: x86 boot sector, code offset 0x63 rescate1:/home/cer # file -s /dev/sda2 /dev/sda2: Linux/i386 swap file (new style), version 1 (4K pages), size 1048575 pages, LABEL=aux_swap, UUID=dcc14c11-aa74-4ac9-955f-efd34a8cdb10 rescate1:/home/cer # exit cer@rescate1:~>
cer@rescate1:~> cat /etc/fstab LABEL=aux_extrasys / ext4 acl,user_xattr 1 1 LABEL=aux_swap swap swap defaults 0 0
#/dev/mapper/cr_ata-ST2000DM001-1CH164_W1E4056F-part3 /data/aux xfs nofail 0 2 /dev/mapper/cr_Aux_01 /data/aux xfs nofail 1 6
proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0
...
rescate1:~ # swapon --summary Filename Type Size Used Priority /dev/sda2 partition 4194300 0 -1 ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ++-
Mmm... swap is smaller than RAM. Should not be a problem, but it might be... :-?
[...]
Ok, I switched swap to another, bigger, partition. But I have the same problem. This is the used memory and swap table, taken from "top":
+++ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ
top - 21:36:26 up 16 min, 6 users, load average: 0,09, 0,14, 0,13 Tasks: 186 total, 1 running, 185 sleeping, 0 stopped, 0 zombie %Cpu(s): 1,8 us, 1,0 sy, 0,0 ni, 95,6 id, 1,5 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem: 8193808 total, 1291152 used, 6902656 free, 29848 buffers KiB Swap: 10482376 total, 0 used, 10482376 free, 463608 cached ᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋᄋ++-
The next thing I could try is using the proprietary NVidia driver, instead of nouveau :-?
- -- Cheers / Saludos, Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlGsYzMACgkQja8UbcUWM1yCgwD+JsFjfnNhL4vNGQeC6F2vZOlI EofoK/LCrb6J5fdwsXUA/0FJAmoulaR1Kbn0SP3MqKX1rmH2mm6k5s3MKMpim14q =iCeY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-03 11:34, Carlos E. R. wrote:
No ideas? Anybody?
Found the problem. The suspend package had been automatically and inadvertently removed when intentionally uninstalling plymouth. Reinstalling suspend (and libply2, libply-splash-core2, and libply-boot-client2 as dependencies) solved the problem, and hibernating is functioning. Special thanks to Patrick Shanahan for the key info, to Cristian Rodríguez for some useful information, and also indirectly to Malte Gell, because a post of him gave me ideas. All in the factory mail list. -- Cheers / Saludos, Carlos E. R. (from oS 12.3 "Dartmouth" GM (rescate 1)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
Carlos E. R.