System does not power off complete - Fan still running

Hi there,

as I got a quick solution for my recent issues here, I am quite confident, that this one may also come to an end and makes my Zorin OS 17 Pro almost perfect in the end.

I have a Lenovo AIO B40-30 which most times (sometimes it does) does not shut down the machine completely.
Not using the power off buttons, not using sudo shutdown, not using systemctl poweroff.

I am now back to Kernel 6.5 - but still the same - only once every 50 times, it works. Otherwise, I have to long press the powerbutton to switch the machine off completely.

Any ideas?

Thank you again for all your time to support newbees like me :grinning:

P.S I also played around with some grub entries from other forums, which did not help.

I believe you could check your previous shutdown logs with

journalctl -b -1 -r

At least, from my recollection this should bring up the last shutdown the system did in reverse order. It may show you what is causing the system to hang and that should hopefully lead to a solution.

1 Like

So, you click the in the Startmenu or in the Quck Settings the Power Off Button and it doesn't turn off?

Or do you simply close the Lid and You want that it then turns off?

It is a PC - AIO (all in one with touch screen) - not a Notebook.

.....Not using the power off buttons, not using sudo shutdown, not using systemctl poweroff.

Here's a part of the log which contains some red lined errors (ACPI Error).

ep 19 17:03:47 excruiser-Lenovo kernel: MXM: GUID detected in BIOS
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-5: Manufacturer: Lite-On Technology Corp.
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-5: Product: Lenovo silver silk (wireless) 2.4G K&M kit
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-5: New USB device found, idVendor=17ef, idProduct=6032, bcdDevice= 1.05
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-5: new full-speed USB device number 3 using xhci_hcd
Sep 19 17:03:47 excruiser-Lenovo kernel: ERROR: Unable to locate IOAPIC for GSI 38
Sep 19 17:03:47 excruiser-Lenovo kernel: ERROR: Unable to locate IOAPIC for GSI 37
Sep 19 17:03:47 excruiser-Lenovo kernel: sr 4:0:0:0: Attached scsi generic sg1 type 5
Sep 19 17:03:47 excruiser-Lenovo kernel: sr 4:0:0:0: Attached scsi CD-ROM sr0
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-4: Product: 2.4G Mouse
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-4: New USB device found, idVendor=1ea7, idProduct=0064, bcdDevice= 2.00
Sep 19 17:03:47 excruiser-Lenovo kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
Sep 19 17:03:47 excruiser-Lenovo kernel: sr 4:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi 4:0:0:0: CD-ROM PLDS DVD-RW DU8A6SH DL62 PQ: 0 ANSI: 5
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] Attached SCSI disk
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] supports TCG Opal
Sep 19 17:03:47 excruiser-Lenovo kernel: sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10 sda11
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] Preferred minimum I/O size 512 bytes
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] Write Protect is off
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
Sep 19 17:03:47 excruiser-Lenovo kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi 1:0:0:0: Direct-Access ATA Samsung SSD 850 2B6Q PQ: 0 ANSI: 5
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: configured for UDMA/133
Sep 19 17:03:47 excruiser-Lenovo kernel: ata5.00: configured for UDMA/133
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: No Arguments are initialized for method [_GTF]
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: No Local Variables are initialized for Method [_GTF]
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 19 17:03:47 excruiser-Lenovo kernel: Console: switching to colour frame buffer device 160x64
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: Features: Trust Dev-Sleep NCQ-sndrcv
Sep 19 17:03:47 excruiser-Lenovo kernel: ata5.00: ATAPI: PLDS DVD-RW DU8A6SH, DL62, max UDMA/133
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: No Arguments are initialized for method [_GTF]
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: No Local Variables are initialized for Method [_GTF]
Sep 19 17:03:47 excruiser-Lenovo kernel:
Sep 19 17:03:47 excruiser-Lenovo kernel: fbcon: Taking over console
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20230331/psargs-330)
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: 7814037168 sectors, multi 1: LBA48 NCQ (depth 32), AA
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: ATA-9: Samsung SSD 850 EVO 4TB, EMT02B6Q, max UDMA/133
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Sep 19 17:03:47 excruiser-Lenovo kernel: ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Sep 19 17:03:47 excruiser-Lenovo kernel: usb 3-4: new full-speed USB device number 2 using xhci_hcd
Sep 19 17:03:47 excruiser-Lenovo kernel: r8169 0000:05:00.0 enp5s0: renamed from eth0
Sep 19 17:03:47 excruiser-Lenovo kernel: hub 4-0:1.0: 2 ports detected
Sep 19 17:03:47 excruiser-Lenovo kernel: hub 4-0:1.0: USB hub found
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb4: SerialNumber: 0000:00:14.0
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb4: Manufacturer: Linux 6.5.0-45-generic xhci-hcd
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb4: Product: xHCI Host Controller
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
Sep 19 17:03:47 excruiser-Lenovo kernel: ata5: SATA max UDMA/133 abar m2048@0xf7b19000 port 0xf7b19300 irq 33
Sep 19 17:03:47 excruiser-Lenovo kernel: ata4: DUMMY
Sep 19 17:03:47 excruiser-Lenovo kernel: ata3: DUMMY
Sep 19 17:03:47 excruiser-Lenovo kernel: ata2: SATA max UDMA/133 abar m2048@0xf7b19000 port 0xf7b19180 irq 33
Sep 19 17:03:47 excruiser-Lenovo kernel: ata1: DUMMY
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi host4: ahci
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi host3: ahci
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi host2: ahci
Sep 19 17:03:47 excruiser-Lenovo kernel: hub 3-0:1.0: 10 ports detected
Sep 19 17:03:47 excruiser-Lenovo kernel: hub 3-0:1.0: USB hub found
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi host1: ahci
Sep 19 17:03:47 excruiser-Lenovo kernel: scsi host0: ahci
Sep 19 17:03:47 excruiser-Lenovo kernel: r8169 0000:05:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
Sep 19 17:03:47 excruiser-Lenovo kernel: r8169 0000:05:00.0 eth0: RTL8168g/8111g, 00:25:ab:90:29:1d, XID 4c0, IRQ 35
Sep 19 17:03:47 excruiser-Lenovo kernel: i2c i2c-0: Successfully instantiated SPD at 0x52
Sep 19 17:03:47 excruiser-Lenovo kernel: i2c i2c-0: Successfully instantiated SPD at 0x50
Sep 19 17:03:47 excruiser-Lenovo kernel: i2c i2c-0: 2/4 memory slots populated (from DMI)
Sep 19 17:03:47 excruiser-Lenovo kernel: i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb3: SerialNumber: 0000:00:14.0
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb3: Manufacturer: Linux 6.5.0-45-generic xhci-hcd
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb3: Product: xHCI Host Controller
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 19 17:03:47 excruiser-Lenovo kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000000009810
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
Sep 19 17:03:47 excruiser-Lenovo kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
Sep 19 17:03:47 excruiser-Lenovo kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (202>
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001C00-0x0000000000001C2F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20>
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (202>
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001C30-0x0000000000001C3F conflicts with OpRegion 0x0000000000001C00-0x0000000000001C3F (\GPRL) (20>
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001C40-0x0000000000001C4F conflicts with OpRegion 0x0000000000001C00-0x0000000000001FFF (\GPR) (202>
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI Warning: SystemIO range 0x0000000000001828-0x000000000000182F conflicts with OpRegion 0x0000000000001800-0x000000000000187F (\PMIO) (20>
Sep 19 17:03:47 excruiser-Lenovo kernel: ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems
Sep 19 17:03:47 excruiser-Lenovo kernel: ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x12 impl SATA mode
Sep 19 17:03:47 excruiser-Lenovo kernel: ahci 0000:00:1f.2: version 3.0
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: bus type drm_connector registered
Sep 19 17:03:47 excruiser-Lenovo kernel: r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
Sep 19 17:03:47 excruiser-Lenovo kernel: clocksource: Switched to clocksource tsc
Sep 19 17:03:47 excruiser-Lenovo kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x36a5f12a74d, max_idle_ns: 881590412319 ns
Sep 19 17:03:47 excruiser-Lenovo kernel: tsc: Refined TSC clocksource calibration: 1895.610 MHz
Sep 19 17:03:47 excruiser-Lenovo kernel: BOOT_IMAGE=/boot/vmlinuz-6.5.0-45-generic
Sep 19 17:03:47 excruiser-Lenovo kernel: TERM=linux
Sep 19 17:03:47 excruiser-Lenovo kernel: HOME=/
Sep 19 17:03:47 excruiser-Lenovo kernel: with environment:
Sep 19 17:03:47 excruiser-Lenovo kernel: splash
Sep 19 17:03:47 excruiser-Lenovo kernel: /init
Sep 19 17:03:47 excruiser-Lenovo kernel: with arguments:
Sep 19 17:03:47 excruiser-Lenovo kernel: Run /init as init process

The shutdown always ends without errors shown. Probably just missing to send termination to the power....

Sep 19 17:14:05 excruiser-Lenovo systemd-journald[392]: Journal stopped
Sep 19 17:14:05 excruiser-Lenovo systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Sep 19 17:14:05 excruiser-Lenovo systemd-shutdown[1]: Syncing filesystems and block devices.
Sep 19 17:14:05 excruiser-Lenovo sudo[4173]: pam_unix(sudo:session): session closed for user root
Sep 19 17:14:05 excruiser-Lenovo systemd[1]: Shutting down.
Sep 19 17:14:05 excruiser-Lenovo sudo[4173]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1001)
Sep 19 17:14:05 excruiser-Lenovo sudo[4173]: gt-rider : TTY=pts/0 ; PWD=/home/gt-rider ; USER=root ; COMMAND=/usr/bin/systemctl -f poweroff
Sep 19 17:14:05 excruiser-Lenovo sudo[4173]: pam_ecryptfs: pam_sm_authenticate: /home/gt-rider is already mounted
Sep 19 17:13:16 excruiser-Lenovo polkitd(authority=local)[921]: Unregistered Authentication Agent for unix-process:4153:57460 (system bus name :1.132, object path /org/freedesktop/P>
Sep 19 17:13:16 excruiser-Lenovo dbus-daemon[909]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.133" (uid=1001 pid=4153 comm="systemctl -f powerof>
Sep 19 17:13:16 excruiser-Lenovo polkitd(authority=local)[921]: Registered Authentication Agent for unix-process:4153:57460 (system bus name :1.132 [/usr/bin/pkttyagent --notify-fd >
Sep 19 17:13:04 excruiser-Lenovo systemd[1679]: Started VTE child process 4141 launched by gnome-terminal-server process 4123.

This looks good to me regarding ACPI

Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Using IOAPIC for interrupt routing
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: PM: (supports S0 S1 S3 S4 S5)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Interpreter enabled
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: _SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: EC: interrupt blocked
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: EC: EC started
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: SSDT 0xFFFF925100236400 000119 (v01 PmRef ApCst 00003000 INTL 20051117)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Dynamic OEM Table Load:
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: SSDT 0xFFFF925100D3D800 0005AA (v01 PmRef ApIst 00003000 INTL 20051117)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Dynamic OEM Table Load:
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: SSDT 0xFFFF9251012D6400 0003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20051117)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Dynamic OEM Table Load:
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: 8 ACPI AML tables successfully acquired and loaded
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Added _OSI(Processor Aggregator Device)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Added _OSI(Processor Device)
Sep 19 17:03:47 excruiser-Lenovo kernel: ACPI: Added _OSI(Module Device)

There are three things of note in your logs. One is ACPI tables being a bit off. This is not unusual, and I would suggest trying the grub parameter acpi_osi=Linux to see if that helps.
How to add a grub parameter

There is a network error and this could lead to failing to shutdown; you can see in the log where it switches from eth0 to enp5. You may need to check your network card and drivers.

Also - Check if there are firmare updates for your BIOS. This often does solve problems.

This is an APIC input output error. There are some grub kernel parameters you could try as a last resort (like noapci) but I would not try that first. Instead, it shows you are on the 6.2 kernel. Is there a reason you have selected this kernel or have not run system upgrades? Otherwise, testing a different kernel version would be a good step to try next.

1 Like

Thank you first - will try the Parameters.
For Bios updates, I am too stupid to identify the right ones - the machine is pretty old and even I git it used.
I am also quite sure, I am on Kernel 6.5 as I only can select 6.5 and 6.8 - I went back from 6.8 as I had the audio issue with HDMI (see other post).

Yes, I misread.

Believe in yourself. Think of all the daunting tasks you have conquered in life. What seems so simple to us now, like riding a bicycle, was once terrifying and daunting. We are often taught in life to not trust ourselves. Now it is time to resist that. :grin:

And you are not alone... If you need additional support or clarification - ask here.
Many of us have updated BIOS firmware regularly - I did it just recently.

As a start, we can check if any have been provided to the GnuLinux community using the firmware update manager in terminal:

sudo fwupdmgr refresh

sudo fwupdmgr get-updates

If any are listed, you can run this to install them:

sudo fwupdmgr update

:heart:

Thank you a lot - did not know, it is that easy. I browsed around on Lenovo sites and could not identify correct fws.

Devices with no available firmware updates:
• SDSSDH3 4T00
• System Firmware
• UEFI dbx
No updatable devices

That was the output - seems, I am actual.

If you are willing to post your year, make and model computer, we can double check.

Lenovo AIO PC B40-30 - I5-4460T cpu - I now have a 4TB SSD and 16GB ram
21,5" LED touch
Manufacturing date 22-Feb 2016
Machine type F0AW, MTM F0AW009CGE, Serial P90164KV

It is now running with zorin 17.2 / old Kernel 6.5 (due to audio issues with 6.8).

I am so happy - with Zorin quicker ad more relialble than with windows ever before.

I can see why you were having trouble. Lenovo's website is tricky to navigate and hard to find the relevant information.
I did look; but the website constantly spins you back around in circles and wants to sell you new products instead of directly leading you to the Firmware Page like Dell or HP does.

After an hour of jumping through their hoops; I gave up.

I have looked up BIOS Firmware for Gigabyte and MSi as well as other manufacturers that employ motherboards like HP - I have never experienced this. This was the first time I looked it up for Lenovo. Clearly, Lenovo does not want people to upgrade their firmware - they want you to buy a new computer.

The closest I got was a page that said your product was out of warranty and so they cannot display any Firmware Upgrades.
Which I disbelieve.

Well... this was a side-suggestion to see if the BIOS Firmware needed upgrading to help resolve your shutdown issue so I would say let's move on from this to other suggestions for now.
If other members know how to navigate the maelstrom of Lenovo - feel free to chime in.