Shutdown problem

Here is my problem. This is my old test machine, not in daily use, I use it for experimenting only, so no urgent need to have things fixed. Below my hardware info. It says Mint, but I now have Xubuntu 22.04 and Zorin Core 16.1 on it.

The problem is, when I shutdown, the OS seems to go down nicely, I get a black screen and then I hear the hdd go silent, but the CPU fan is still on, so it does not shutdown completely. Only way to turn it off then is to hold down the power button for five seconds.

Not a huge big deal, but if I intend to use Zorin in the future, would be nice to have it fixed. I've had the same problem with Ubuntu 20.04 and Mint 20.3, but now with Pop! OS 22.04 it shutsdown nicely. I then replaced Pop with Zorin, so I no longer have a way to check what Pop did differently.

So what I'd like to ask is, where to start fixing the problem? Where do I find the logs for the shutdown process?

I've used Linux for ages but that does not mean I know this stuff. Now I'd like to get my hands dirty.

System:
  Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.7 Distro: Linux Mint 20.2 Uma 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: Acer model: Aspire X3470 serial: <filter> 
  UEFI: American Megatrends v: P01-A1 date: 08/05/2011 
CPU:
  Topology: Quad Core model: AMD A6-3600 APU with Radeon HD Graphics 
  bits: 64 type: MCP arch: Fusion L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 16768 
  Speed: 800 MHz min/max: 800/2100 MHz Core speeds (MHz): 1: 892 2: 820 
  3: 951 4: 1642 
Graphics:
  Device-1: AMD Sumo [Radeon HD 6530D] vendor: Acer Incorporated ALI 
  driver: radeon v: kernel bus ID: 00:01.0 
  Device-2: AMD Turks PRO [Radeon HD 6570/7570/8550] 
  vendor: PC Partner Limited driver: radeon v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.13 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD SUMO (DRM 2.50.0 / 5.4.0-92-generic LLVM 12.0.0) 
  v: 3.3 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: AMD BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G 
  series] 
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
  bus ID: 00:01.1 
  Device-2: AMD FCH Azalia vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 00:14.2 
  Device-3: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] 
  vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-92-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel port: d000 
  bus ID: 02:00.0 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 935.26 GiB used: 11.97 GiB (1.3%) 
  ID-1: /dev/sda vendor: Seagate model: ST31000524AS size: 931.51 GiB 
  ID-2: /dev/sdd type: USB vendor: Kingston model: DataTraveler 2.0 
  size: 3.75 GiB 
Partition:
  ID-1: / size: 915.40 GiB used: 10.04 GiB (1.1%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 26.4 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: radeon temp: 29 C device: radeon temp: 38 C 
Info:
  Processes: 226 Uptime: 5m Memory: 5.51 GiB used: 1.05 GiB (19.0%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38

----------------------
Memory:
  RAM: total: 5.51 GiB used: 1.09 GiB (19.7%) 
  Array-1: capacity: 16 GiB slots: 4 EC: None max module size: 4 GiB 
  note: est. 
  Device-1: DIMM1 size: 2 GiB speed: 1333 MT/s type: DDR3 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Unifosa part-no: GU512303EP0202 serial: N/A 
  Device-2: DIMM2 size: 2 GiB speed: 1333 MT/s type: DDR3 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Unifosa part-no: GU512303EP0202 serial: N/A 
  Device-3: DIMM3 size: 2 GiB speed: 1333 MT/s type: DDR3 
  detail: synchronous bus width: 64 bits total: 64 bits manufacturer: A-DATA 
  part-no: N/A serial: N/A 
  Device-4: DIMM4 size: 2 GiB speed: 1333 MT/s type: DDR3 
  detail: synchronous bus width: 64 bits total: 64 bits manufacturer: A-DATA 
  part-no: N/A serial: N/A

There are several things that can be checked on a long or no-shutdown; but the usual culprits are Graphics Drivers or Kernel.

Oh man, thanks for that. Will investigate.

OK here we go:

user@acerbox journalctl -rb -1

-- Logs begin at Sun 2022-05-22 11:34:27 EEST, end at Mon 2022-05-23 11:11:21 EEST. --
touko 22 21:26:24 acerbox systemd-journald[300]: Journal stopped
touko 22 21:26:24 acerbox systemd-shutdown[1]: Sending SIGTERM to remaining processes...
touko 22 21:26:24 acerbox systemd-shutdown[1]: Syncing filesystems and block devices.
touko 22 21:26:23 acerbox systemd[1]: Shutting down.
touko 22 21:26:23 acerbox systemd[1]: Reached target Power-Off.
touko 22 21:26:23 acerbox systemd[1]: Finished Power-Off.
touko 22 21:26:23 acerbox systemd[1]: systemd-poweroff.service: Succeeded.
touko 22 21:26:23 acerbox systemd[1]: Reached target Final Step.
touko 22 21:26:23 acerbox systemd[1]: Reached target Shutdown.
touko 22 21:26:23 acerbox systemd[1]: Stopped Remount Root and Kernel File Systems.
touko 22 21:26:23 acerbox systemd[1]: systemd-remount-fs.service: Succeeded.
touko 22 21:26:23 acerbox systemd[1]: Reached target Unmount All Filesystems.
touko 22 21:26:23 acerbox systemd[1]: Deactivated swap /swapfile.
touko 22 21:26:23 acerbox systemd[1]: swapfile.swap: Succeeded.
touko 22 21:26:23 acerbox systemd[1]: Stopped Create System Users.
touko 22 21:26:23 acerbox systemd[1]: systemd-sysusers.service: Succeeded.
touko 22 21:26:23 acerbox systemd[1]: Stopped Create Static Device Nodes in /dev.
touko 22 21:26:23 acerbox systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.
touko 22 21:26:23 acerbox systemd[1]: Stopped target Local File Systems (Pre).
touko 22 21:26:23 acerbox systemd[1]: Removed slice system-systemd\x2dfsck.slice.
touko 22 21:26:23 acerbox systemd[1]: Stopped File System Check on /dev/disk/by-uuid/AD13-71A4.
touko 22 21:26:23 acerbox systemd[1]: systemd-fsck@dev-disk-by\x2duuid-AD13\x2d71A4.service: Succeeded.

It says everything has shutdown properly, if I read correctly? What now?

Also my mysterious testing Acer computer has two GPU:s, AMD Sumo and AMD Turks, as shown in the inxi printout, the other one makes the system really slow... Can't move windows and the mouse lags behind, when hdmi is plugged into that. So if graphics drivers are usually the problem, then that other GPU might have to go, since I don't need it. Just a thought, but what the heck do I know...

Edited to add, glxinfo says it's the integrated Sumo GPU that sadly is the one that works, with shared memory, the Turks AMD HD 6570 would have a whopping 2GB of memory, but does not work properly. May be a driver issue again, time for yet another kernel, or it may simple be physically broken. Could look into that as well...

Starting a seperate thread on my GPU.

Given this crosslinked thread:

And that graphics driver issues can utterly halt a system shutdown, we may see if that can get resolved, then return to this thread depending on those results...

Removed the other GPU, now the GPU issue is "fixed", but alas, still will not shutdown properly. The logs now say exactly what they said before. So the GPU was not broken, not really doing anything, now I removed it, so I have only the onboard GPU doing its work.

So any ideas what I should try next? Upgrading my test machine is one option, this computer is ancient and might be a good idea to get something with at least 8GB RAM and a decent GPU...

Which kernel are you on, now? I cannot keep track. :wink:

Tried to install LMDE5, but the boot gave a no disk found error, weird... Now I have no OS at all on my test machine. Which is exactly why I have a test machine for trying out new stuff. On my main computer I have Debian 11. Will give Zorin a go again on the test machine but having had these problems, I'm sticking with Debian for now on my main machine.

Yes, Zorin looks very promising, could be just my bad luck that the wifi didn't work, shutdown problem occurs with other distros too it is not that big of deal that you can't flash a usb by righ clicking on the iso image as you can with Mint.

Thank you all! What a great forum. On the Mint forums I am still waiting to get any feedback on my LMDE 5 boot issue.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.