computer starts up immediatley after hibernate

General support questions
jody
Posts: 26
Joined: 2015/05/12 12:58:08

computer starts up immediatley after hibernate

Postby jody » 2017/11/21 14:12:00

Hi
When i hibernate my Centos machine, either by choosing the 'Hibernate' menu item on the greeter screen, or by typing

Code: Select all

 sudo /usr/lib/systemd/systemd-sleep hibernate
it seems to go into hibernation at first but then immediately starts up again (it's like a 'warm' start - there are no beeps from the motherboard).

My kernel is 3.10.0-693.5.2.el7.x86_64

Here's the relevant output from dmesg

Code: Select all

[22178.658043] PM: Hibernation mode set to 'shutdown'
[22179.101412] PM: Syncing filesystems ... done.
[22179.329416] Freezing user space processes ... (elapsed 0.001 seconds) done.
[22179.332526] PM: Marking nosave pages: [mem 0x0009b000-0x000fffff]
[22179.332528] PM: Marking nosave pages: [mem 0x75acc000-0x75b78fff]
[22179.332531] PM: Marking nosave pages: [mem 0x7a1f9000-0x7b7d6fff]
[22179.332583] PM: Marking nosave pages: [mem 0x7b800000-0xffffffff]
[22179.333406] PM: Basic memory bitmaps created
[22179.333407] PM: Preallocating image memory... done (allocated 20239784 pages)
[22188.714760] PM: Allocated 80959136 kbytes in 9.38 seconds (-526.-67 MB/s)
[22188.714762] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.
[22188.740046] Suspending console(s) (use no_console_suspend to debug)
[22188.740664] serial 00:02: disabled
[22188.820605] pcieport 0000:00:01.0: System wakeup enabled by ACPI
[22188.893516] pcieport 0000:00:01.0: System wakeup enabled by ACPI
[22188.903827] PM: freeze of devices complete after 163.777 msecs
[22188.904658] PM: late freeze of devices complete after 0.829 msecs
[22188.907592] PM: noirq freeze of devices complete after 2.931 msecs
[22188.907593] Disabling non-boot CPUs ...
[22188.907717] intel_pstate CPU 1 exiting
[22188.917069] smpboot: CPU 1 is now offline
[22188.917800] intel_pstate CPU 2 exiting
[22188.927063] smpboot: CPU 2 is now offline
[22188.927728] intel_pstate CPU 3 exiting
[22188.939113] smpboot: CPU 3 is now offline
[22188.939681] intel_pstate CPU 4 exiting
[22188.951081] smpboot: CPU 4 is now offline
[22188.951675] intel_pstate CPU 5 exiting
[22188.963107] smpboot: CPU 5 is now offline
[22188.963676] intel_pstate CPU 6 exiting
[22188.975064] smpboot: CPU 6 is now offline
[22188.975594] intel_pstate CPU 7 exiting
[22188.987062] smpboot: CPU 7 is now offline
[22189.126809] intel_pstate CPU 8 exiting
[22189.134014] smpboot: CPU 8 is now offline
[22189.273763] intel_pstate CPU 9 exiting
[22189.280981] smpboot: CPU 9 is now offline
[22189.420777] intel_pstate CPU 10 exiting
[22189.428007] smpboot: CPU 10 is now offline
[22189.567798] intel_pstate CPU 11 exiting
[22189.574989] smpboot: CPU 11 is now offline
[22189.715777] intel_pstate CPU 12 exiting
[22189.722985] smpboot: CPU 12 is now offline
[22189.862802] intel_pstate CPU 13 exiting
[22189.869981] smpboot: CPU 13 is now offline
[22190.009790] intel_pstate CPU 14 exiting
[22190.016972] smpboot: CPU 14 is now offline
[22190.017570] intel_pstate CPU 15 exiting
[22190.029029] smpboot: CPU 15 is now offline
[22190.029695] PM: Creating hibernation image:
[22192.864487] PM: Need to copy 13154048 pages
[22192.864492] PM: Normal pages needed: 13154048 + 1024, available pages: 20373964
[22217.886377] PM: Hibernation image created (13154048 pages copied)
[22190.033556] Enabling non-boot CPUs ...
[22190.033645] smpboot: Booting Node 0 Processor 1 APIC 0x2
[22190.039951] CPU1 is up
[22190.039991] smpboot: Booting Node 0 Processor 2 APIC 0x4
[22190.046323] CPU2 is up
[22190.046361] smpboot: Booting Node 0 Processor 3 APIC 0x6
[22190.052602] CPU3 is up
[22190.052636] smpboot: Booting Node 0 Processor 4 APIC 0x8
[22190.058802] CPU4 is up
[22190.058840] smpboot: Booting Node 0 Processor 5 APIC 0xa
[22190.065106] CPU5 is up
[22190.065142] smpboot: Booting Node 0 Processor 6 APIC 0xc
[22190.071285] CPU6 is up
[22190.071320] smpboot: Booting Node 0 Processor 7 APIC 0xe
[22190.077421] CPU7 is up
[22190.077462] smpboot: Booting Node 1 Processor 8 APIC 0x10
[22190.101673] intel_rapl: Found RAPL domain package
[22190.101688] intel_rapl: Found RAPL domain dram
[22190.101690] intel_rapl: DRAM domain energy unit 15300pj
[22190.101725] powercap intel-rapl:0: parent intel-rapl should not be sleeping
[22190.101754] CPU8 is up
[22190.101791] smpboot: Booting Node 1 Processor 9 APIC 0x12
[22190.107871] CPU9 is up
[22190.107905] smpboot: Booting Node 1 Processor 10 APIC 0x14
[22190.113921] CPU10 is up
[22190.113952] smpboot: Booting Node 1 Processor 11 APIC 0x16
[22190.119950] CPU11 is up
[22190.119980] smpboot: Booting Node 1 Processor 12 APIC 0x18
[22190.126009] CPU12 is up
[22190.126044] smpboot: Booting Node 1 Processor 13 APIC 0x1a
[22190.132088] CPU13 is up
[22190.132117] smpboot: Booting Node 1 Processor 14 APIC 0x1c
[22190.138137] CPU14 is up
[22190.138166] smpboot: Booting Node 1 Processor 15 APIC 0x1e
[22190.144263] CPU15 is up
[22190.193029] PM: noirq thaw of devices complete after 0.702 msecs
[22190.193800] PM: early thaw of devices complete after 0.676 msecs
[22190.194709] power_meter ACPI000D:00: Found ACPI power meter.
[22190.195648] rtc_cmos 00:00: System wakeup disabled by ACPI
[22190.196081] serial 00:02: activated
[22190.205812] pcieport 0000:00:01.0: System wakeup disabled by ACPI
[22190.205836] pcieport 0000:00:01.0: System wakeup disabled by ACPI
[22190.205920] igb 0000:01:00.1: irq 32 for MSI/MSI-X
[22190.205923] igb 0000:01:00.0: irq 33 for MSI/MSI-X
[22190.205966] igb 0000:01:00.1: irq 34 for MSI/MSI-X
[22190.205968] igb 0000:01:00.0: irq 35 for MSI/MSI-X
[22190.205996] igb 0000:01:00.1: irq 36 for MSI/MSI-X
[22190.205997] igb 0000:01:00.0: irq 37 for MSI/MSI-X
[22190.206026] igb 0000:01:00.1: irq 38 for MSI/MSI-X
[22190.206027] igb 0000:01:00.0: irq 39 for MSI/MSI-X
[22190.206053] igb 0000:01:00.1: irq 40 for MSI/MSI-X
[22190.206072] igb 0000:01:00.0: irq 43 for MSI/MSI-X
[22190.206100] igb 0000:01:00.1: irq 44 for MSI/MSI-X
[22190.206107] igb 0000:01:00.0: irq 45 for MSI/MSI-X
[22190.206129] igb 0000:01:00.1: irq 46 for MSI/MSI-X
[22190.206135] igb 0000:01:00.0: irq 47 for MSI/MSI-X
[22190.206156] igb 0000:01:00.1: irq 48 for MSI/MSI-X
[22190.206164] igb 0000:01:00.0: irq 49 for MSI/MSI-X
[22190.206185] igb 0000:01:00.1: irq 50 for MSI/MSI-X
[22190.206190] igb 0000:01:00.0: irq 51 for MSI/MSI-X
[22190.554528] ata2: SATA link down (SStatus 0 SControl 300)
[22190.554531] ata8: SATA link down (SStatus 0 SControl 300)
[22190.556695] ata3: SATA link down (SStatus 0 SControl 300)
[22190.556732] ata1: SATA link down (SStatus 0 SControl 300)
[22190.556902] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[22190.558550] ata4: SATA link down (SStatus 0 SControl 300)
[22190.558554] ata7: SATA link down (SStatus 0 SControl 300)
[22190.560537] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[22190.560564] ata10: SATA link down (SStatus 0 SControl 300)
[22190.562543] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[22190.565735] ata9.00: configured for UDMA/100
[22190.599792] ata5.00: configured for UDMA/133
[22190.665553] PM: thaw of devices complete after 471.760 msecs
[22190.758121] ata6.00: configured for UDMA/133
[22190.769808] PM: writing image.
[22190.771631] PM: Using 3 thread(s) for compression.
PM: Compressing and saving image data (13179740 pages)...
[22190.771648] PM: Image saving progress:   0%
[22193.277915] igb 0000:01:00.0 enp1s0f0: igb: enp1s0f0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[22200.817144] PM: Image saving progress:  10%
[22206.023192] PM: Wrote 52718960 kbytes in 15.25 seconds (640.60 MB/s)
[22208.069751] PM: Basic memory bitmaps freed
[22208.069756] Restarting tasks ... done.
(it looks like this output is not properly ordered: after the shut-down and the immediate start-up, the image saving process is still going on...

So i don't know if this message was written *before* the automatic restart or after:

Code: Select all

[22217.886377] PM: Hibernation image created (13154048 pages copied)


Is there an explanation/fix for this unwanted behavior?

Thank you