rico666 n00b
Joined: 03 May 2016 Posts: 5
|
Posted: Tue May 03, 2016 10:37 am Post subject: Hibernation of Server - no success |
|
|
Hi,
I've managed to buy a discarded server from my employer, so I have a pretty big iron at home.
Unfortunately big iron means noise and power consumption too, so I had a look into power management and hibernation in general.
Most of the HowTos seem to cover these topics for Notebooks so I do not have much to catch on.
I use Kernel 4.5.2, ACPI and hibernation seems to be enabled
Code: |
# cat /sys/power/state
freeze standby
|
After some tweaking, best result so far is that when I do a "pm-suspend", machine stops responding
But other than that all fans still run, all non-SSD disks still spin...
I can wake it up again by pressing a key on the attached keyboard (but not via IPMI keyboard)
The whole process of suspend/wakeup looks like that:
Code: |
May 3 07:51:49 host kernel: PM: Syncing filesystems ... done.
May 3 07:51:49 host kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
May 3 07:51:49 host kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
May 3 07:51:49 host kernel: Suspending console(s) (use no_console_suspend to debug)
May 3 07:51:49 host kernel: sd 7:0:0:0: [sdd] Synchronizing SCSI cache
May 3 07:51:49 host kernel: sd 7:0:0:0: [sdd] Stopping disk
May 3 07:51:49 host kernel: sd 2:0:0:0: [sdc] Synchronizing SCSI cache
May 3 07:51:49 host kernel: sd 2:0:0:0: [sdc] Stopping disk
May 3 07:51:49 host kernel: i8042 aux 00:07: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: i8042 kbd 00:06: System wakeup enabled by ACPI
May 3 07:51:49 host collectd[2864]: Not sleeping because the next interval is 38.600 seconds in the past!
May 3 07:51:49 host kernel: sd 1:0:0:0: [sdb] Synchronizing SCSI cache
May 3 07:51:49 host kernel: sd 1:0:0:0: [sdb] Stopping disk
May 3 07:51:49 host kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
May 3 07:51:49 host kernel: pcieport 0000:00:01.0: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: pcieport 0000:00:01.0: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: PM: suspend of devices complete after 2538.041 msecs
May 3 07:51:49 host kernel: PM: late suspend of devices complete after 0.265 msecs
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.2: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.1: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: ehci-pci 0000:00:1d.7: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.0: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: ehci-pci 0000:00:1a.7: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.2: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.1: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.0: System wakeup enabled by ACPI
May 3 07:51:49 host kernel: PM: noirq suspend of devices complete after 11.505 msecs
May 3 07:51:49 host kernel: ACPI: Preparing to enter system sleep state S1
May 3 07:51:49 host kernel: PM: Saving platform NVS memory
May 3 07:51:49 host kernel: Disabling non-boot CPUs ...
May 3 07:51:49 host kernel: smpboot: CPU 1 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 2 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 3 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 4 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 5 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 6 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 7 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 8 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 9 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 10 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 11 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 12 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 13 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 14 is now offline
May 3 07:51:49 host kernel: smpboot: CPU 15 is now offline
May 3 07:51:49 host kernel: PM: Restoring platform NVS memory
May 3 07:51:49 host kernel: Enabling non-boot CPUs ...
May 3 07:51:49 host kernel: x86: Booting SMP configuration:
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
May 3 07:51:49 host kernel: cache: parent cpu1 should not be sleeping
May 3 07:51:49 host kernel: CPU1 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 2 APIC 0x12
May 3 07:51:49 host kernel: cache: parent cpu2 should not be sleeping
May 3 07:51:49 host kernel: CPU2 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 3 APIC 0x14
May 3 07:51:49 host kernel: cache: parent cpu3 should not be sleeping
May 3 07:51:49 host kernel: CPU3 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 4 APIC 0x20
May 3 07:51:49 host kernel: cache: parent cpu4 should not be sleeping
May 3 07:51:49 host kernel: CPU4 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 5 APIC 0x22
May 3 07:51:49 host kernel: cache: parent cpu5 should not be sleeping
May 3 07:51:49 host kernel: CPU5 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 6 APIC 0x32
May 3 07:51:49 host kernel: cache: parent cpu6 should not be sleeping
May 3 07:51:49 host kernel: CPU6 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 7 APIC 0x34
May 3 07:51:49 host kernel: cache: parent cpu7 should not be sleeping
May 3 07:51:49 host kernel: CPU7 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 8 APIC 0x1
May 3 07:51:49 host kernel: cache: parent cpu8 should not be sleeping
May 3 07:51:49 host kernel: CPU8 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 9 APIC 0x3
May 3 07:51:49 host kernel: cache: parent cpu9 should not be sleeping
May 3 07:51:49 host kernel: CPU9 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 10 APIC 0x13
May 3 07:51:49 host kernel: cache: parent cpu10 should not be sleeping
May 3 07:51:49 host kernel: CPU10 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 11 APIC 0x15
May 3 07:51:49 host kernel: cache: parent cpu11 should not be sleeping
May 3 07:51:49 host kernel: CPU11 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 12 APIC 0x21
May 3 07:51:49 host kernel: cache: parent cpu12 should not be sleeping
May 3 07:51:49 host kernel: CPU12 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 13 APIC 0x23
May 3 07:51:49 host kernel: cache: parent cpu13 should not be sleeping
May 3 07:51:49 host kernel: CPU13 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 14 APIC 0x33
May 3 07:51:49 host kernel: cache: parent cpu14 should not be sleeping
May 3 07:51:49 host kernel: CPU14 is up
May 3 07:51:49 host kernel: smpboot: Booting Node 0 Processor 15 APIC 0x35
May 3 07:51:49 host kernel: cache: parent cpu15 should not be sleeping
May 3 07:51:49 host kernel: CPU15 is up
May 3 07:51:49 host kernel: ACPI: Waking up from system sleep state S1
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.0: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.1: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1a.2: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: uhci_hcd 0000:00:1d.2: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: ehci-pci 0000:00:1a.7: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: ehci-pci 0000:00:1d.7: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: PM: noirq resume of devices complete after 11.279 msecs
May 3 07:51:49 host kernel: PM: early resume of devices complete after 0.445 msecs
May 3 07:51:49 host kernel: usb usb3: root hub lost power or was reset
May 3 07:51:49 host kernel: usb usb4: root hub lost power or was reset
May 3 07:51:49 host kernel: usb usb5: root hub lost power or was reset
May 3 07:51:49 host kernel: pcieport 0000:00:01.0: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: usb usb6: root hub lost power or was reset
May 3 07:51:49 host kernel: rtc_cmos 00:01: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: usb usb7: root hub lost power or was reset
May 3 07:51:49 host kernel: usb usb8: root hub lost power or was reset
May 3 07:51:49 host kernel: i8042 kbd 00:06: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: pcieport 0000:00:01.0: System wakeup disabled by ACPI
May 3 07:51:49 host kernel: arcmsr0: msi enabled
May 3 07:51:49 host kernel: sd 1:0:0:0: [sdb] Starting disk
May 3 07:51:49 host kernel: sd 2:0:0:0: [sdc] Starting disk
May 3 07:51:49 host kernel: sd 7:0:0:0: [sdd] Starting disk
May 3 07:51:49 host kernel: usb 5-2: reset full-speed USB device number 2 using uhci_hcd
May 3 07:51:49 host kernel: ata4: SATA link down (SStatus 0 SControl 300)
May 3 07:51:49 host kernel: ata6: SATA link down (SStatus 0 SControl 300)
May 3 07:51:49 host kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
May 3 07:51:49 host kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
May 3 07:51:49 host kernel: ata5: SATA link down (SStatus 0 SControl 300)
May 3 07:51:49 host kernel: ata3: SATA link down (SStatus 0 SControl 300)
May 3 07:51:49 host kernel: ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
May 3 07:51:49 host kernel: ata1.00: configured for UDMA/133
May 3 07:51:49 host kernel: ata7.00: configured for UDMA/133
May 3 07:51:49 host kernel: ata2.00: configured for UDMA/133
May 3 07:51:49 host kernel: igb 0000:08:00.0 eth0: igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
May 3 07:51:49 host kernel: igb 0000:08:00.1 eth1: igb: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
May 3 07:51:49 host kernel: PM: resume of devices complete after 9641.222 msecs
May 3 07:51:49 host kernel: Restarting tasks ... done.
|
Any ideas what I could do to get the machine into "true" suspend? I really do not need any fancy stuff suspend-to-ram with disks and fans not spinning would be sufficient.
Rico |
|