AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1289424
Accepted
Bram
Bram
Asked: 2020-11-04 12:40:20 +0800 CST2020-11-04 12:40:20 +0800 CST 2020-11-04 12:40:20 +0800 CST

Suspend-To-Ram 有效,但所有粉丝都坚持

  • 772

我可以暂停到 RAM。屏幕变黑,然后显示器也进入省电模式。

但是,当暂停时,我系统中的所有风扇都保持打开状态:

  • CPU风扇
  • 机箱风扇
  • 显卡风扇

挂起时的内核日志:

[ 1377.806203] PM: suspend entry (s2idle)
[ 1377.809246] Filesystems sync: 0.003 seconds
[ 1377.809249] PM: Preparing system for sleep (s2idle)
[ 1378.070546] Freezing user space processes ... (elapsed 0.003 seconds) done.
[ 1378.073872] OOM killer disabled.
[ 1378.073873] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 1378.075361] PM: Suspending system (s2idle)
[ 1378.075363] printk: Suspending console(s) (use no_console_suspend to debug)
[ 1380.588027] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588031] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588033] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588035] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588037] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588039] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588040] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588042] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588044] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1380.588046] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f2f00
[ 1382.604016] snd_hda_intel 0000:17:00.1: azx_get_response timeout, switching to polling mode: last cmd=0x006f0900
[ 1383.324019] xpad 1-4:1.0: timed out waiting for output URB to complete, killing
[ 1383.324624] PM: suspend of devices complete after 5248.932 msecs
[ 1383.324629] PM: start suspend of devices complete after 5249.286 msecs
[ 1383.326763] PM: late suspend of devices complete after 2.130 msecs
[ 1383.383948] PM: noirq suspend of devices complete after 56.985 msecs
[ 1383.383951] PM: suspend-to-idle

唤醒时的内核日志:

[ 1399.984106] PM: Timekeeping suspended for 15.947 seconds
[ 1399.984279] PM: resume from suspend-to-idle
[ 1400.044023] PM: noirq resume of devices complete after 59.737 msecs
[ 1400.045312] PM: early resume of devices complete after 1.170 msecs
[ 1400.045645] pci 0000:16:05.0: disabled boot interrupts on device [8086:2034]
[ 1400.045766] pci 0000:64:05.0: disabled boot interrupts on device [8086:2034]
[ 1400.045831] pci 0000:b2:05.0: disabled boot interrupts on device [8086:2034]
[ 1400.212010] snd_hda_intel 0000:17:00.1: azx_get_response timeout, switching to single_cmd mode: last cmd=0x006f0900
[ 1400.212119] azx_single_wait_for_response: 6309 callbacks suppressed
[ 1400.212220] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.212522] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.212818] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.213112] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.213407] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.213701] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.213996] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.214291] snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD buf size -1
[ 1400.292802] nvme nvme0: 16/0/0 default/read/poll queues
[ 1401.944040] pcieport 0000:b2:00.0: pciehp: Timeout on hotplug command 0x07d5 (issued 1960 msec ago)
[ 1401.944044] pcieport 0000:b2:01.0: pciehp: Timeout on hotplug command 0x07d5 (issued 1960 msec ago)
[ 1401.944047] pcieport 0000:b2:03.0: pciehp: Timeout on hotplug command 0x07d5 (issued 1960 msec ago)
[ 1401.944051] pcieport 0000:b2:02.0: pciehp: Timeout on hotplug command 0x07d5 (issued 1960 msec ago)
[ 1401.944114] PM: resume of devices complete after 1898.804 msecs
[ 1401.945342] PM: Finishing wakeup.
[ 1401.945343] OOM killer enabled.
[ 1401.945344] Restarting tasks ... done.
[ 1401.956420] rfkill: input handler enabled
[ 1401.956718] PM: suspend exit
[ 1402.228867] snd_hdac_bus_update_rirb: 430 callbacks suppressed
[ 1402.228874] snd_hda_intel 0000:17:00.1: spurious response 0x80000000:0x0, last cmd=0x6f0900
[ 1402.269012] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x6f0900
[ 1402.285794] rfkill: input handler disabled
[ 1403.352002] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x820000
[ 1403.352037] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x820000
[ 1403.375973] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x1f0500
[ 1403.376011] snd_hda_intel 0000:17:00.1: spurious response 0x233:0x0, last cmd=0x1f0500
[ 1403.449159] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x1f0500
[ 1403.449198] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x4f0015
[ 1403.449239] snd_hda_intel 0000:17:00.1: spurious response 0x3:0x0, last cmd=0x473500
[ 1403.449281] snd_hda_intel 0000:17:00.1: spurious response 0x0:0x0, last cmd=0x470700
[ 1405.084501] igb 0000:04:00.0 eno1: igb: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

我检查了 Supermicro X11SRM-F BIOS 设置,但没有列出suspend-to-ram 选项。此外,暂停似乎确实有效,只是没有关闭风扇。

我尝试在 BIOS 中使用和不使用扩展 APIC选项,结果相同。

更新:

似乎是系统使用的挂起类型导致了这种情况。

在系统日志中,它指出使用了 s2idle,这不是一个非常深的睡眠。

检查其他支持的模式给了我:

$ cat /sys/power/mem_sleep 
[s2idle]

...这令人失望地意味着其他模式不可用。这里还不清楚限制因素是什么。主板?BIOS?

从内核:

ACPI: (supports S0 S4 S5)

所以没有S3,这意味着没有暂停RAM?

操作系统: Ubuntu 20.04.1 LTS

CPU:至强 W2140B

主板: Supermicro X11XRM-F

power-management suspend fan
  • 1 1 个回答
  • 1058 Views

1 个回答

  • Voted
  1. Best Answer
    Bram
    2020-11-13T12:46:14+08:002020-11-13T12:46:14+08:00

    系统没有执行suspend-to-ram (ACPI S3) 它停留在ACPI S0。

    从内核日志:

    ACPI: (supports S0 S4 S5)
    

    来自 Supermicro 支持:

    “X11SRM-F 是一款旨在支持 24/7 使用的服务器主板。它不支持 S3 状态。”

    因此我们可以得出结论,该主板无法挂起至 RAM。

    • 3

相关问题

  • 如何让我的电脑中的风扇在暂停时关闭?[关闭]

  • 延长笔记本电脑和笔记本电脑电池寿命的技巧

  • 为什么我的 Kubuntu 会话在恢复后需要相当长的时间才能响应?

  • 如何让“您的电池坏了”消息消失?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve