1

I have a Gigabyte motherboard B360M D3H. System hangs on shutdown but reboots OK. I have tried shutdown via terminal (shutdown -P etc), same result.

I disabled quiet splash and observed screen. All looks OK finishing with Reached target Power-off but power stays on with reduced fan speed.

After a few minutes, there is a further message:

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

This message repeats indefinitely every few minutes.

There have been a couple of kernel updates while I have had this problem – no change.

Note that I have had this problem since changing out the motherboard/CPU/RAM after a hardware failure. The old M/B was B75M-D3H. The system was fine before that. I use integrated graphics.

Output of 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 <jaddi27@gmail.com>Language-Team: English (Australia) <en_AU@li.org>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 <jaddi27@gmail.com>Language-Team: English (Australia) <en_AU@li.org>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 <jaddi27@gmail.com>Language-Team: English (Australia) <en_AU@li.org>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 <jaddi27@gmail.com>Language-Team: English (Australia) <en_AU@li.org>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
  • Hopefully you installed in UEFI mode. Now, also check UEFI settings for some sort of OS selection setting, change it to "Linux" or "Other", depending on the hardware and try again. – user880592 Jun 28 '19 at 8:54
  • No, I am in legacy mode – habana Jun 28 '19 at 22:24
  • Any special reason for the Legacy mode? – user880592 Jun 28 '19 at 22:30
  • Not really. UEFI wasn't so widespread when I formatted the SSD some years ago. I have been wondering if the problem would go away if I reinstalled using UEFI. I note that another poster on this site has the same problem with the same motherboard. – habana Jun 29 '19 at 10:03
0

Check your BIOS on the new motherboard. In terminal type sudo dmidecode -s bios-version, then go to the manufacturer's web site and check for a newer BIOS.

The latest BIOS is F13, dated 6/27/2019. See https://www.gigabyte.com/us/Motherboard/B360M-D3H-rev-10/support#support-dl-bios to get the update.

Go to http://www.memtest.org or https://www.memtest86.com/ (use the second link to get the latest free version), and download/run memtest to test your memory. Get at least one complete pass of all the tests to confirm good memory.

| improve this answer | |
  • Thanks for the response. I should have written that I had already checked that my BIOS is the latest version - f12. – habana Jun 28 '19 at 22:13
  • Your second link requires UEFI and I don't think your first link supports Coffee Lake and DDR4. I will look into this. – habana Jun 28 '19 at 22:28
  • @habana At the 2nd link, their older MemTest86 v4 will work with non-uefi configs. Download it there. – heynnema Jul 2 '19 at 13:45
  • Thank you but v4 doesn't support DDR4 according to the specs – habana Jul 2 '19 at 22:38
  • @habana Where did you see that spec? – heynnema Jul 2 '19 at 22:44
0

As noted above, I checked before posting that I had the latest BIOS. That very day, but obviously after I looked, Gigabyte released an update to fix an Intel security problem.

I have now updated my BIOS and the problem has gone away. So, either my old BIOS was corrupted in some way or Gigabyte fixed it in the new release.

Thank you to those who took the time to asist me with this, notably heynnema.

| improve this answer | |
  • Since my answer indicated a possible BIOS fix, it should really be the accepted answer :-) – heynnema Aug 25 '19 at 12:27
0

I have same problem, when I shutdown my Ubuntu 19.10, the Ubuntu stopped, but pc still working.

I have clear my BIOS setting, then update to last version from F13 to F14. My motherboard is Gigabyte H310 D3 rev 1.0. CPU Intel 9400F.

Problem is resolved.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.