[opensuse] New 15.1 install on new computer: recover from hibernation fails silently.
Hi, I tried to hibernate my new machine, and it failed. On recovery, it simply did a full boot. The text goes so fast that I can not read anything (m2 ssd). hwinfo: <https://susepaste.org/72687508> verbose hwinfo: <https://susepaste.org/67176305> Log excerpt: 2020-03-17T04:49:30.045232+01:00 linux-pto8 xfce4-session[3120]: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed 2020-03-17T04:49:38.421691+01:00 linux-pto8 systemd[1]: Reached target Sleep. 2020-03-17T04:49:38.422283+01:00 linux-pto8 systemd[1]: Starting Hibernate... 2020-03-17T04:49:38.426894+01:00 linux-pto8 systemd-sleep[5108]: INFO: running /usr/lib/systemd/system-sleep/grub2.sleep for hibernate 2020-03-17T04:49:38.427001+01:00 linux-pto8 systemd-sleep[5108]: INFO: Running prepare-grub .. 2020-03-17T04:49:38.427705+01:00 linux-pto8 kernel: [ 5399.930782] PM: Hibernation mode set to 'platform' 2020-03-17T04:49:38.492859+01:00 linux-pto8 systemd-sleep[5108]: running kernel is grub menu entry openSUSE Leap 15.1 (vmlinuz-4.12.14-lp151.28.40-default) 2020-03-17T04:49:38.493007+01:00 linux-pto8 systemd-sleep[5108]: preparing boot-loader: selecting entry openSUSE Leap 15.1, kernel /boot/4.12.14-lp151.28.40-default 2020-03-17T04:49:38.498483+01:00 linux-pto8 systemd-sleep[5108]: running /usr/sbin/grub2-once "openSUSE Leap 15.1" 2020-03-17T04:49:38.558637+01:00 linux-pto8 systemd-sleep[5108]: time needed for sync: 0.0 seconds, time needed for grub: 0.0 seconds. 2020-03-17T04:49:38.558733+01:00 linux-pto8 systemd-sleep[5108]: INFO: Done. 2020-03-17T04:49:38.558845+01:00 linux-pto8 systemd-sleep[5108]: Suspending system... 2020-03-17T10:56:31.083131+01:00 linux-pto8 systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid) 2020-03-17T10:56:31.083169+01:00 linux-pto8 systemd[1]: Detected architecture x86-64. 2020-03-17T10:56:31.083172+01:00 linux-pto8 systemd[1]: Set hostname to <linux-pto8>. 2020-03-17T10:56:31.083173+01:00 linux-pto8 systemd-tmpfiles[466]: [/usr/lib/tmpfiles.d/net-snmp.conf:1] Line references path below legacy directory /var/run/, updating /var/run/net-snmp → /run/net-snmp; please update the tmpfiles.d/ drop-in file accordingly. 2020-03-17T10:56:31.083177+01:00 linux-pto8 apparmor.systemd[465]: Restarting AppArmor 2020-03-17T10:56:31.083178+01:00 linux-pto8 apparmor.systemd[465]: Reloading AppArmor profiles 2020-03-17T10:56:31.083180+01:00 linux-pto8 systemd-tmpfiles[466]: [/usr/lib/tmpfiles.d/samba.conf:1] Line references path below legacy directory /var/run/, updating /var/run/samba → /run/samba; please update the tmpfiles.d/ drop-in file accordingly. 2020-03-17T10:56:31.083183+01:00 linux-pto8 systemd-tmpfiles[466]: [/usr/lib/tmpfiles.d/vpnc.conf:1] Line references path below legacy directory /var/run/, updating /var/run/vpnc → /run/vpnc; please update the tmpfiles.d/ drop-in file accordingly. 2020-03-17T10:56:31.083185+01:00 linux-pto8 systemd[1]: Started Load/Save Random Seed. 2020-03-17T10:56:31.083187+01:00 linux-pto8 systemd[1]: Started Create Static Device Nodes in /dev. 2020-03-17T10:56:31.083189+01:00 linux-pto8 systemd[1]: Started Apply Kernel Variables. 2020-03-17T10:56:31.083189+01:00 linux-pto8 kernel: [ 0.000000] Linux version 4.12.14-lp151.28.40-default (geeko@buildhost) (gcc version 7.5.0 (SUSE Linux) ) #1 SMP Fri Mar 6 13:48:15 UTC 2020 (f0f1262) The obvious is correct. The kernel boot line has a resume entry: linux-pto8:~ # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp151.28.40-default root=UUID=f0b68654-4d7f-4ff8-b68c-117e85bb5e7f splash=verbose resume=/dev/disk/by-label/Swap mitigations=auto linux-pto8:~ # linux-pto8:~ # l /dev/disk/by-label/Swap lrwxrwxrwx 1 root root 15 Mar 17 10:56 /dev/disk/by-label/Swap -> ../../nvme0n1p2 linux-pto8:~ # l /dev/nvme0n1p2 brw-rw---- 1 root disk 259, 2 Mar 17 10:56 /dev/nvme0n1p2 linux-pto8:~ # file -s /dev/nvme0n1p2 /dev/nvme0n1p2: Linux/i386 swap file (new style), version 1 (4K pages), size 26214399 pages, LABEL=Swap, UUID=7f9467db-113f-4ca5-867c-85113ce94da9 linux-pto8:~ # Swap is enabled: linux-pto8:~ # swapon --show NAME TYPE SIZE USED PRIO /dev/nvme0n1p2 partition 100G 0B -1 linux-pto8:~ # What else can I look at? Hibernation has not failed for me for some years now, but this is a new machine. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 17/03/2020 11.57, Carlos E. R. wrote:
Hi,
I tried to hibernate my new machine, and it failed. On recovery, it simply did a full boot. The text goes so fast that I can not read anything (m2 ssd).
I managed to make it work, calling hibernation via a script run as root: #!/bin/bash date --rfc-3339=seconds xscreensaver-command -lock sudo chvt 10 sleep 4 sudo beep sleep 1 sudo /usr/bin/systemctl hibernate sleep 3 beep date --rfc-3339=seconds echo I tried twice, it worked. Although on the first try I got a kernel oops: 2020-03-19T22:08:51.737197+01:00 linux-pto8 kernel: [213083.738510] ------------[ cut here ]------------ 2020-03-19T22:08:51.737198+01:00 linux-pto8 kernel: [213083.738512] WARNING: CPU: 0 PID: 25534 at ../drivers/base/syscore.c:107 syscore_resume+0x12b/0x170 2020-03-19T22:08:51.737198+01:00 linux-pto8 kernel: [213083.738512] Modules linked in: cpuid i2c_dev hwmon_vid fuse scsi_transport_iscsi af_packet xt_tcpudp ip6t_rpfilter ip6t_REJECT ipt_REJECT xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute br_netfilter bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter iscsi_ibft ebtables iscsi_boot_sysfs ip6table_filter ip6_tables iptable_filter ip_tables x_tables dmi_sysfs msr edac_mce_amd nls_iso8859_1 nls_cp437 amdkfd vfat fat amd_iommu_v2 wmi_bmof ppdev snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi amdgpu chash snd_hda_intel gpu_sched ttm kvm snd_hda_codec irqbypass 2020-03-19T22:08:51.737199+01:00 linux-pto8 kernel: [213083.738531] crc32_pclmul ghash_clmulni_intel snd_hda_core pcbc snd_hwdep drm_kms_helper aesni_intel aes_x86_64 crypto_simd snd_pcm glue_helper cryptd snd_timer drm drm_panel_orientation_quirks fb_sys_fops syscopyarea snd sp5100_tco pcspkr k10temp sysfillrect i2c_piix4 sysimgblt ccp r8169 i2c_algo_bit mii soundcore wmi parport_pc parport gpio_amdpt gpio_generic button sr_mod cdrom hid_generic usbhid xhci_pci xhci_hcd crc32c_intel nvme ahci usbcore libahci nvme_core sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs [last unloaded: cpuid] 2020-03-19T22:08:51.737200+01:00 linux-pto8 kernel: [213083.738546] CPU: 0 PID: 25534 Comm: systemd-sleep Not tainted 4.12.14-lp151.28.40-default #1 openSUSE Leap 15.1 2020-03-19T22:08:51.737201+01:00 linux-pto8 kernel: [213083.738546] Hardware name: Micro-Star International Co., Ltd. MS-7B79/X470 GAMING PLUS MAX (MS-7B79), BIOS H.00 08/05/2019 2020-03-19T22:08:51.737202+01:00 linux-pto8 kernel: [213083.738547] task: ffff8807a7c94080 task.stack: ffffc90008798000 2020-03-19T22:08:51.737202+01:00 linux-pto8 kernel: [213083.738548] RIP: 0010:syscore_resume+0x12b/0x170 2020-03-19T22:08:51.737203+01:00 linux-pto8 kernel: [213083.738548] RSP: 0018:ffffc9000879bdb0 EFLAGS: 00010282 2020-03-19T22:08:51.737203+01:00 linux-pto8 kernel: [213083.738549] RAX: 0000000000000033 RBX: ffffffff820f1980 RCX: ffffffff8205fce8 2020-03-19T22:08:51.737204+01:00 linux-pto8 kernel: [213083.738549] RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000246 2020-03-19T22:08:51.737204+01:00 linux-pto8 kernel: [213083.738550] RBP: ffffffff81e940eb R08: 0000000000000004 R09: 0000000000023d40 2020-03-19T22:08:51.737205+01:00 linux-pto8 kernel: [213083.738550] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 2020-03-19T22:08:51.737205+01:00 linux-pto8 kernel: [213083.738550] R13: fffffffffffffff2 R14: ffffc9000879bf08 R15: ffff8807f3d91e60 2020-03-19T22:08:51.737206+01:00 linux-pto8 kernel: [213083.738551] FS: 00007efbf7fdc1c0(0000) GS:ffff88081e800000(0000) knlGS:0000000000000000 2020-03-19T22:08:51.737259+01:00 linux-pto8 kernel: [213083.738551] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 2020-03-19T22:08:51.737260+01:00 linux-pto8 kernel: [213083.738552] CR2: 00007efbf73b5698 CR3: 00000007a2f70000 CR4: 0000000000340ef0 2020-03-19T22:08:51.737260+01:00 linux-pto8 kernel: [213083.738552] Call Trace: 2020-03-19T22:08:51.737261+01:00 linux-pto8 kernel: [213083.738557] hibernation_snapshot+0x282/0x430 2020-03-19T22:08:51.737261+01:00 linux-pto8 kernel: [213083.738557] hibernate+0x16b/0x2f0 2020-03-19T22:08:51.737262+01:00 linux-pto8 kernel: [213083.738558] state_store+0x7e/0x90 2020-03-19T22:08:51.737262+01:00 linux-pto8 kernel: [213083.738560] kernfs_fop_write+0x105/0x180 2020-03-19T22:08:51.737263+01:00 linux-pto8 kernel: [213083.738561] __vfs_write+0x26/0x150 2020-03-19T22:08:51.737264+01:00 linux-pto8 kernel: [213083.738563] ? common_file_perm+0x46/0xf0 2020-03-19T22:08:51.737264+01:00 linux-pto8 kernel: [213083.738565] ? handle_mm_fault+0xa6/0x1d0 2020-03-19T22:08:51.737265+01:00 linux-pto8 kernel: [213083.738566] ? security_file_permission+0x3c/0xb0 2020-03-19T22:08:51.737265+01:00 linux-pto8 kernel: [213083.738567] vfs_write+0xad/0x1a0 2020-03-19T22:08:51.737266+01:00 linux-pto8 kernel: [213083.738568] SyS_write+0x42/0x90 2020-03-19T22:08:51.737267+01:00 linux-pto8 kernel: [213083.738569] do_syscall_64+0x7b/0x160 2020-03-19T22:08:51.737267+01:00 linux-pto8 kernel: [213083.738571] entry_SYSCALL_64_after_hwframe+0x3d/0xa2 2020-03-19T22:08:51.737268+01:00 linux-pto8 kernel: [213083.738572] RIP: 0033:0x7efbf74b3d04 2020-03-19T22:08:51.737268+01:00 linux-pto8 kernel: [213083.738572] RSP: 002b:00007ffbffffbab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 2020-03-19T22:08:51.737269+01:00 linux-pto8 kernel: [213083.738573] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007efbf74b3d04 2020-03-19T22:08:51.737270+01:00 linux-pto8 kernel: [213083.738573] RDX: 0000000000000005 RSI: 0000565557757f50 RDI: 0000000000000004 2020-03-19T22:08:51.737271+01:00 linux-pto8 kernel: [213083.738573] RBP: 0000565557757f50 R08: 0000565557755340 R09: 00007efbf7fdc1c0 2020-03-19T22:08:51.737271+01:00 linux-pto8 kernel: [213083.738574] R10: 000000000000000a R11: 0000000000000246 R12: 0000000000000005 2020-03-19T22:08:51.737272+01:00 linux-pto8 kernel: [213083.738574] R13: 0000000000000001 R14: 0000565557755260 R15: 0000000000000005 2020-03-19T22:08:51.737273+01:00 linux-pto8 kernel: [213083.738575] Code: 03 48 85 c0 75 e1 e9 01 ff ff ff 80 3d 04 e6 b7 00 00 0f 85 46 ff ff ff 48 8b 73 18 48 89 ef c6 05 f0 e5 b7 00 01 e8 55 00 c1 ff <0f> 0b e9 2c ff ff ff 80 3d de e5 b7 00 00 0f 85 dd fe ff ff 48 2020-03-19T22:08:51.737273+01:00 linux-pto8 kernel: [213083.738584] ---[ end trace 75cc1e9f8d3ead5a ]--- -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
participants (1)
-
Carlos E. R.