Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Unable to suspend to RAM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 549
Location: London,UK

PostPosted: Tue Jan 30, 2018 12:29 pm    Post subject: [Solved] Unable to suspend to RAM Reply with quote

Hello,

Whenever i issue pm-suspend, the system tries to sleep but immediately comes back up.

/var/log/pm-powersave.log
Code:

Running hook /usr/lib64/pm-utils/power.d/disable_wol false:
Setting Wake On Lan for eno1 to enable...Done.
Setting Wake On Lan for eno2 to enable...Done.
Setting Wake On Lan for enp7s0 to enable...Done.
/usr/lib64/pm-utils/power.d/disable_wol false: success.

Running hook /usr/lib64/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.
/usr/lib64/pm-utils/power.d/intel-audio-powersave false: success.

Running hook /usr/lib64/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.
/usr/lib64/pm-utils/power.d/laptop-mode false: success.

Running hook /usr/lib64/pm-utils/power.d/pci_devices false:
Setting Host Bridge 0000:00:00.0 to on
Setting Audio device 0000:01:00.1 to on
Setting Ethernet device 0000:05:00.0 to on
Setting Ethernet device 0000:06:00.0 to on
Setting Ethernet device 0000:07:00.0 to on
/usr/lib64/pm-utils/power.d/pci_devices false: success.

Running hook /usr/lib64/pm-utils/power.d/pcie_aspm false:
/usr/lib64/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation not permitted
/usr/lib64/pm-utils/power.d/pcie_aspm false: success.

Running hook /usr/lib64/pm-utils/power.d/sata_alpm false:
Setting SATA ALPM on host1 to max_performance...Done.
Setting SATA ALPM on host2 to max_performance...Done.
Setting SATA ALPM on host3 to max_performance...Done.
Setting SATA ALPM on host4 to max_performance...Done.
Setting SATA ALPM on host5 to max_performance...Done.
Setting SATA ALPM on host6 to max_performance...Done.
/usr/lib64/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib64/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF
/usr/lib64/pm-utils/power.d/sched-powersave false: success.

Running hook /usr/lib64/pm-utils/power.d/usb_bluetooth false:
/usr/lib64/pm-utils/power.d/usb_bluetooth false: success.

Running hook /usr/lib64/pm-utils/power.d/wireless false:
/usr/lib64/pm-utils/power.d/wireless false: success.

Running hook /usr/lib64/pm-utils/power.d/xfs_buffer false:
/usr/lib64/pm-utils/power.d/xfs_buffer false: not applicable.

Running hook /usr/lib64/pm-utils/power.d/disable_wol false:
Setting Wake On Lan for eno1 to enable...Done.
Setting Wake On Lan for eno2 to enable...Done.
Setting Wake On Lan for enp7s0 to enable...Done.
/usr/lib64/pm-utils/power.d/disable_wol false: success.

Running hook /usr/lib64/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.
/usr/lib64/pm-utils/power.d/intel-audio-powersave false: success.

Running hook /usr/lib64/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.
/usr/lib64/pm-utils/power.d/laptop-mode false: success.

Running hook /usr/lib64/pm-utils/power.d/pci_devices false:
Setting Host Bridge 0000:00:00.0 to on
Setting Audio device 0000:01:00.1 to on
Setting Ethernet device 0000:05:00.0 to on
Setting Ethernet device 0000:06:00.0 to on
Setting Ethernet device 0000:07:00.0 to on
/usr/lib64/pm-utils/power.d/pci_devices false: success.

Running hook /usr/lib64/pm-utils/power.d/pcie_aspm false:
/usr/lib64/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation not permitted
/usr/lib64/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib64/pm-utils/power.d/sata_alpm false:
Setting SATA ALPM on host1 to max_performance...Done.
Setting SATA ALPM on host2 to max_performance...Done.
Setting SATA ALPM on host3 to max_performance...Done.
Setting SATA ALPM on host4 to max_performance...Done.
Setting SATA ALPM on host5 to max_performance...Done.
Setting SATA ALPM on host6 to max_performance...Done.
/usr/lib64/pm-utils/power.d/sata_alpm false: success.

Running hook /usr/lib64/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF
/usr/lib64/pm-utils/power.d/sched-powersave false: success.

Running hook /usr/lib64/pm-utils/power.d/usb_bluetooth false:
/usr/lib64/pm-utils/power.d/usb_bluetooth false: success.

Running hook /usr/lib64/pm-utils/power.d/wireless false:
/usr/lib64/pm-utils/power.d/wireless false: success.

Running hook /usr/lib64/pm-utils/power.d/xfs_buffer false:
/usr/lib64/pm-utils/power.d/xfs_buffer false: not applicable.


dmesg shows
Code:

[ 1018.688720] PM: Syncing filesystems ... done.
[ 1018.688731] PM: Preparing system for sleep (mem)
[ 1018.688876] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 1018.690281] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 1018.691375] PM: Suspending system (mem)
[ 1018.691394] Suspending console(s) (use no_console_suspend to debug)
[ 1018.691637] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[ 1018.691666] sd 2:0:0:0: [sdb] Stopping disk
[ 1018.691693] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1018.877786] serial 00:09: disabled
[ 1018.877914] serial 00:06: disabled
[ 1018.878023] serial 00:05: disabled
[ 1018.878256] mpt2sas_cm0: pdev=0xffff8807fac78000, slot=0000:02:00.0, entering operating state [D3]
[ 1018.878276] mpt2sas_cm0: sending message unit reset !!
[ 1018.879314] mpt2sas_cm0: message unit reset: SUCCESS
[ 1018.884033] igb 0000:06:00.0: System wakeup enabled by ACPI
[ 1018.914016] igb 0000:05:00.0: System wakeup enabled by ACPI
[ 1018.933296] PM: suspend of devices complete after 241.823 msecs
[ 1018.933577] PM: late suspend of devices complete after 0.280 msecs
[ 1018.934353] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
[ 1018.934591] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[ 1018.934613] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
[ 1018.958336] PM: noirq suspend of devices complete after 24.759 msecs
[ 1018.958605] ACPI: Preparing to enter system sleep state S3
[ 1019.207171] PM: Saving platform NVS memory
[ 1019.207176] Disabling non-boot CPUs ...
[ 1019.208321] smpboot: CPU 1 is now offline
[ 1019.222010] smpboot: CPU 2 is now offline
[ 1019.238141] smpboot: CPU 3 is now offline
[ 1019.253867] smpboot: CPU 4 is now offline
[ 1019.269794] smpboot: CPU 5 is now offline
[ 1019.285795] smpboot: CPU 6 is now offline
[ 1019.301730] smpboot: CPU 7 is now offline
[ 1019.310850] ACPI: Low-level resume complete
[ 1019.310901] PM: Restoring platform NVS memory
[ 1019.311186] Suspended for 2.401 seconds
[ 1019.311247] Enabling non-boot CPUs ...
[ 1019.313884] x86: Booting SMP configuration:
[ 1019.313885] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 1019.316414]  cache: parent cpu1 should not be sleeping
[ 1019.316653] CPU1 is up
[ 1019.319899] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 1019.322525]  cache: parent cpu2 should not be sleeping
[ 1019.322781] CPU2 is up
[ 1019.329930] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 1019.332458]  cache: parent cpu3 should not be sleeping
[ 1019.332706] CPU3 is up
[ 1019.337960] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 1019.340577]  cache: parent cpu4 should not be sleeping
[ 1019.340781] CPU4 is up
[ 1019.349908] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 1019.352342]  cache: parent cpu5 should not be sleeping
[ 1019.352526] CPU5 is up
[ 1019.357925] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 1019.360458]  cache: parent cpu6 should not be sleeping
[ 1019.360660] CPU6 is up
[ 1019.365947] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 1019.368487]  cache: parent cpu7 should not be sleeping
[ 1019.368697] CPU7 is up
[ 1019.375287] ACPI: Waking up from system sleep state S3
[ 1019.420756] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 1019.420756] pcieport 0000:00:1c.0: Enabling MPC IRBNCE
[ 1019.420761] pcieport 0000:00:1c.0: Intel PCH root port ACS workaround enabled
[ 1019.421863] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[ 1019.421877] pcieport 0000:00:1c.4: Enabling MPC IRBNCE
[ 1019.421878] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[ 1019.421879] pcieport 0000:00:1c.4: Intel PCH root port ACS workaround enabled
[ 1019.431822] pcieport 0000:00:1c.3: Enabling MPC IRBNCE
[ 1019.431823] pcieport 0000:00:1c.2: Enabling MPC IRBNCE
[ 1019.431824] pcieport 0000:00:1c.3: Intel PCH root port ACS workaround enabled
[ 1019.431825] pcieport 0000:00:1c.2: Intel PCH root port ACS workaround enabled


Any idea what could be the issue?


Last edited by trumee on Tue Jan 30, 2018 12:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 549
Location: London,UK

PostPosted: Tue Jan 30, 2018 12:40 pm    Post subject: Reply with quote

Solved by specifying SUSPEND_MODULES="mlx4_en" in /etc/pm/config.d/gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum