You are not logged in.

#1 2023-07-04 21:17:30

digital-_-mystik
Member
Registered: 2019-04-02
Posts: 17

[Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

Solved: add `tpm_tis.interrupts=0` to kernel parameters to revert TPM back to polling

---

Hello,


My laptop will not fully shutdown or reboot with kernel 6.4 - journalctl doesn't show anything out of the ordinary and am not sure where to start debugging this. My display will turn off but I know my laptop is still on due to my power button LED staying on.

Here is a given log chunk from the shutdown signal to subsequent force power off: https://paste.sr.ht/blob/93064aac2fc785 … 5d9d183293

Any advice on finding the cause? Could be a kernel issue in general that may not be "fixable" via configuration on my end? This issue is not seen on 6.3 for me.


Thanks for taking a look!

Last edited by digital-_-mystik (2023-07-16 00:47:30)

Offline

#2 2023-07-13 22:24:48

taraf
Member
Registered: 2021-07-28
Posts: 3

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

I'm having the same issue on my Alder Lake-based laptop. Unfortunately I've had no luck fixing it.

That said, here's what I've tried so far without success --
- Update BIOS to latest available. (laptop is a Tuxedo, which is a rebadged Clevo, with an i5-1240P)
- Disable VT-d in BIOS (the changelog for 6.4 mentioned reenabling some VT-d features following a bugfix)
- Disable hardware p-states & c-states
- Enable "legacy gaming mode" & park the e-cores
- Disable the Intel ME through BIOS

As with your log, it looks like Linux itself is properly shutting down but for some reason the ACPI shutdown command isn't being properly sent (there were changes to ACPI with 6.4 but none of them look like they could cause this). I've never had any complaints about the hard drive unmounting cleanly or wanting to replay the journal. Additionally, because I'm using systemd-boot instead of grub I have the option to have it boot directly to EFI BIOS through the shutdown menu, and have had it boot cleanly to EFI after hanging on shutdown. Finally, when I disabled the "quiet" option in the bootloader config, it goes through a normal shutdown on screen, reaches the halt, and the screen blanks, but like you the power light (and keyboard backlight) stay on.

It seems to be intermittent - about 10% of the time it seems to work normally, and I've seen no correlation with uptime. Additionally, I have a Kaby Lake-based laptop which isn't having any issues at all, and a Ryzen 5-based desktop which is also working perfectly. My guess is it's either a ucode or kernel bug, but I couldn't find anything referencing it in their bugtrackers either. sad Sadly, I'm at a loss as to what else I could try.

Offline

#3 2023-07-14 13:39:52

loqs
Member
Registered: 2014-03-06
Posts: 17,571

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

Have you tried following Kernel#Debugging_regressions?

Offline

#4 2023-07-16 00:45:48

digital-_-mystik
Member
Registered: 2019-04-02
Posts: 17

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

It appears setting TPM back to polling fixed the issue (in my case at least) with `tpm_tis.interrupts=0` in one's kernel params as noted here: https://community.frame.work/t/tracking … 1/32956/33

Offline

#5 2023-07-19 12:23:07

taraf
Member
Registered: 2021-07-28
Posts: 3

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

Can confirm - this worked for me as well. Thank you!

Offline

#6 2023-10-03 15:12:24

schasj
Member
From: 83401
Registered: 2010-01-18
Posts: 17

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

This does not fix the issue on 2 boxen of mine. They are Dell OptiPlex 5040 with i5-6500 processors and 6.5.5-arch1-1. I have no idea what "lake" these are.

What I did:
Edited /etc/default/grub to GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet tpm_tis.interrupts=0"
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -p linux
systemctl poweroff (or reboot)

The power LED remains lit until the power button is held for 4s or longer but the system is off for all practical purposes. One of these systems is remotely managed and this bug makes it a PITA.

Yes I know I can change to an LTS kernel or a non-bleeding edge distro.

Last edited by schasj (2023-10-03 15:13:51)


When all is said and done... a lot more will have been said than done.

Offline

#7 2023-10-03 15:16:51

loqs
Member
Registered: 2014-03-06
Posts: 17,571

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

schasj wrote:

This does not fix the issue on 2 boxen of mine.

This would indicate the issue is not the same.  Please start a new topic for your issue.

Offline

#8 2023-10-03 15:18:30

schasj
Member
From: 83401
Registered: 2010-01-18
Posts: 17

Re: [Solved] Alder Lake - reboot/shutdown hangs on kernel 6.4

Fair enough. Thanks


When all is said and done... a lot more will have been said than done.

Offline

Board footer

Powered by FluxBB