Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Power Off or Reboot System with Kernel 6.5 #287

Closed
LucAce opened this issue Oct 10, 2023 · 1 comment
Closed

Cannot Power Off or Reboot System with Kernel 6.5 #287

LucAce opened this issue Oct 10, 2023 · 1 comment

Comments

@LucAce
Copy link

LucAce commented Oct 10, 2023

Issue/Bug Description:

When Powering Off or Rebooting, the system appears to complete the shutdown or reboot process but does not power off or reboot. The only way to recover the system is to do a hard reset or remove power. This issue started with Linux Kernel 6.5.4-76060504-generic and the previous Linux Kernel 6.4.6-76060406-generic works as expected.

The system is a Dell Optiplex 5040 (Intel i5-6500) which seems to have this issue on other distributions indicating it is likely a Kernel specific issue.

Final systemd-journal entries:

Oct 10 14:24:43 aXXXXX systemd[1]: Reached target System Shutdown.
Oct 10 14:24:43 aXXXXX systemd[1]: Reached target Late Shutdown Services.
Oct 10 14:24:43 aXXXXX systemd[1]: systemd-poweroff.service: Deactivated successfully.
Oct 10 14:24:43 aXXXXX systemd[1]: Finished System Power Off.
Oct 10 14:24:43 aXXXXX systemd[1]: Reached target System Power Off.
Oct 10 14:24:43 aXXXXX systemd[1]: Shutting down.
Oct 10 14:24:43 aXXXXX systemd-shutdown[1]: Syncing filesystems and block devices.
Oct 10 14:24:43 aXXXXX systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Oct 10 14:24:43 aXXXXX systemd-journald[284]: Journal stopped

OS Details:

$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Hardware Details:

$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Q170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
02:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01)
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Steps to reproduce:

On a Dell Optiplex 5040 SFF system with the latest Dell BIOS (1.22.0).

Shut Down Method:

1. Open terminal
2. Execute: "sudo shutdown -h now"

Reboot Method:

sudo reboot

Observed Behavior:

Kernel 6.5.4:

System starts shutting down or rebooting and appears to complete (screen is blank) but the system does not power off or it does not reboot.

Kernel 6.4.6:

System powers off or reboots as expected.

Expected Behavior:

System powers off or reboots.

@LucAce
Copy link
Author

LucAce commented Oct 19, 2023

The issue is resolved in v6.6-rc6, commit: torvalds@fbe1bf1

@LucAce LucAce closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant