ubuntu 19.04 关机时挂起

ubuntu 19.04 关机时挂起

我有一块技嘉主板 B360M D3H。系统在关机时挂起,但重新启动后正常。我尝试通过终端关机(shutdown -P 等),结果相同。

我禁用quiet splash并观察了屏幕。一切看起来都正常,Reached target Power-off但电源保持开启,风扇速度降低。

几分钟后,又有一条消息:

INFO:  task systemd-shutdow: 1 blocked for more than 120 seconds #20ubuntu Non tainted 5.0.0-19-generic


“echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message

此消息每隔几分钟就会无限重复。

当我遇到这个问题时,已经进行了几次内核更新——但没有变化。

请注意,自从硬件故障后更换主板/CPU/RAM 以来,我就遇到了这个问题。旧主板是 B75M-D3H。在此之前系统很好。我使用集成显卡。

输出sudo lshw -C memory

  *-firmware                
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: F12
       date: 03/14/2019
       size: 64KiB
       capacity: 15MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: 3a
       slot: System board or motherboard
       size: 16GiB
     *-bank:0
          description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
          product: KHX2666C16/8G
          vendor: Kingston
          physical id: 0
          serial: F1068B79
          slot: ChannelA-DIMM0
          size: 8GiB
          width: 64 bits
          clock: 2666MHz (0.4ns)
     *-bank:1
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-02 13:04+0000Last-Translator: Joel Addison <[email protected]>Language-Team: English (Australia) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2019-04-12 08:46+0000X-Generator: Launchpad (build 18920)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-02 13:04+0000Last-Translator: Joel Addison <[email protected]>Language-Team: English (Australia) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2019-04-12 08:46+0000X-Generator: Launchpad (build 18920) [empty]
          physical id: 1
          slot: ChannelA-DIMM1
     *-bank:2
          description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
          product: KHX2666C16/8G
          vendor: Kingston
          physical id: 2
          serial: F80696EE
          slot: ChannelB-DIMM0
          size: 8GiB
          width: 64 bits
          clock: 2666MHz (0.4ns)
     *-bank:3
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-02 13:04+0000Last-Translator: Joel Addison <[email protected]>Language-Team: English (Australia) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2019-04-12 08:46+0000X-Generator: Launchpad (build 18920)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-02 13:04+0000Last-Translator: Joel Addison <[email protected]>Language-Team: English (Australia) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2019-04-12 08:46+0000X-Generator: Launchpad (build 18920) [empty]
          physical id: 3
          slot: ChannelB-DIMM1
  *-cache:0
       description: L1 cache
       physical id: 44
       slot: L1 Cache
       size: 384KiB
       capacity: 384KiB
       capabilities: synchronous internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: 45
       slot: L2 Cache
       size: 1536KiB
       capacity: 1536KiB
       capabilities: synchronous internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: 46
       slot: L3 Cache
       size: 9MiB
       capacity: 9MiB
       capabilities: synchronous internal write-back unified
       configuration: level=3
  *-memory UNCLAIMED
       description: RAM memory
       product: Cannon Lake PCH Shared SRAM
       vendor: Intel Corporation
       physical id: 14.2
       bus info: pci@0000:00:14.2
       version: 10
       width: 64 bits
       clock: 33MHz (30.3ns)
       capabilities: pm bus_master cap_list
       configuration: latency=0
       resources: memory:a1216000-a1217fff memory:a121c000-a121cfff

答案1

检查新主板上的 BIOS。输入terminalsudo dmidecode -s bios-version然后转到制造商的网站并查找较新的 BIOS。

最新的 BIOS 是 F13,日期为 2019 年 6 月 27 日。请参阅https://www.gigabyte.com/us/Motherboard/B360M-D3H-rev-10/support#support-dl-bios以获取更新。

http://www.memtest.org或者https://www.memtest86.com/(使用第二个链接获取最新的免费版本),然后下载/运行 memtest 来测试您的内存。至少完成一次所有测试以确认内存良好。

答案2

如上所述,我在发帖前检查了是否安装了最新的 BIOS。就在那天,但显然在我查看之后,技嘉发布了一个更新来修复英特尔的安全问题。

我现在已经更新了 BIOS,问题已经解决。所以,要么是我的旧 BIOS 以某种方式损坏了,要么是技嘉在新版本中修复了这个问题。

感谢那些花时间帮助我的人,尤其是 heynnema。

答案3

我有同样的问题,当我关闭我的 Ubuntu 19.10 时,Ubuntu 停止了,但电脑仍在工作。

我已清除 BIOS 设置,然后从 F13 更新到最新版本至 F14。我的主板是 Gigabyte H310 D3 rev 1.0。CPU Intel 9400F。

问题已解决。

相关内容