Kernel 6.8 - Shutdown/Reboot hangs on Noble 24.04

Bug #2059738 reported by Richard Pratt
92
This bug affects 18 people
Affects Status Importance Assigned to Milestone
snapd
Confirmed
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Kleber Sacilotto de Souza
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[Overview]
I have been testing installations of a number of Lubuntu and Xubuntu Noble Numbat 24.04 Daily builds since Feb 2024 on a DELL Wyse 3040 (UEFI bios), more latterly focused on Lubuntu.

It would appear that since introduction of Kernel 6.8 into the daily builds, the installed system fails to carry out a successful reboot or power off when commanded from the desktop or the command line

[Symptoms]
When selecting either Leave-->Shutdown or Leave-->Reboot from the control panel, the process starts shutting down processes in an orderly fashion, until it gets to the part where it needs to power off hardware, where it hangs.

shutdown -H now also fails in the same manner
shutdown -r now also fails in the same manner

With quiet bootflag disabled, the last system message on display before the hang is
"Starting reboot..." or "Starting power-off..."

[Workaround]
The power button must be pressed for 5 secs to power down the hardware

[Possibly related bugs]
#1594023 Poweroff or reboot hangs. Laptop won't shutdown. 16.04
#2036987 Laptop Does Not Power Off After Installing Daily Build Of 23.10

[Unsuccessful Workarounds]
Tried boot flags acpi=force acpi=nocrq reboot=pci suggested in #1594023 - No effect

[Observations]
I do believe that shutdown/reboot was working correctly on a live USB Lubuntu Noble Numbat Alpha build on the same hardware downloaded 22-Feb-2024. This release had an earlier kernel than 6.8. Sadly i no longer have the .iso to confirm this.

All Lubuntu Noble daily builds since kernel 6.8 was introduced appear to exhibit the symptoms as above

[System info]
Operating System: Ubuntu Noble Numbat (development branch)
          Kernel: Linux 6.8.0-11-generic
    Architecture: x86-64
 Hardware Vendor: Dell Inc.
  Hardware Model: Wyse 3040 Thin Client
Firmware Version: 1.2.5
   Firmware Date: Mon 2018-08-20

Richard Pratt (rattyp)
affects: calamares (Ubuntu) → linux-meta (Ubuntu)
Revision history for this message
Richard Pratt (rattyp) wrote :

Last observed on Lubuntu Noble Numbat 24.04 Daily Build noble-desktop-amd64.iso 2024-03-28 both in the Live USB boot and installed to SSD (eMMC).

For some reason this build wont let me generated ubuntu-bug files as it reports

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.........................

*** Problem in linux-image-6.8.0-11-generic

The problem cannot be reported:

This does not seem to be an official Ubuntu package. Please retry after updating the indexes of available packages. If that does not work, then remove related third party packages and try again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
Coeur Noir (coeur-noir) wrote :

It also concerns « regular » Ubuntu 24.04

The reboot or shutdown hangs on for minutes ( ~5 min ) on ( maybe ) unmounting some snap :

Job run-snapd-ns-snapd\x2ddesktop\x2dintegration.mnt.mount/stop running (4min / 4min 33s)

I can also see this kind of warnings :

evict_inodes inode 00000000ff721d78, i_count = 1, was skipped!

( maybe unrelated to this topic.)

Changed in snapd (Ubuntu):
status: New → Confirmed
Changed in snapd:
status: New → Confirmed
summary: - Kernel 6.8 - Shutdown/Reboot hangs on Lubuntu Noble 24.04
+ Kernel 6.8 - Shutdown/Reboot hangs on Noble 24.04
no longer affects: linux-meta (Ubuntu)
Revision history for this message
Martin Randau (cmmrandau) wrote :

It happens about every other shutdown/reboot. I'm having occasional problems with suspend as well, which works fine 50% of the time or else freezes.

Changed in linux (Ubuntu):
assignee: nobody → Kleber Sacilotto de Souza (kleber-souza)
Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

Seeing this on my T460s as well

Suspend (on lid close) ; the machine reaches the state where the lid light and the light on the power button "throb" as they would with 22.04, but the machine will not resume from suspend in response to keyboard events, mouse events, or a brief press to the power button.

Poweroff : the machine reaches a state where everything appears "off", no lights, no screen activity etc, but the machine does not restart in response to a brief press of the power button.

In both cases, a long-press of the power button is required. You can tell this has "taken" when the lights on the hardwire ethernet port blink briefly on release.

Then a normal brief press will restart the machine.

Both of these conditions happen reliably on lid close (suspend) or poweroff (from menu or command). Going to test reboot now since this is mentioned above.

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote (last edit ):

Confirmed ; reboot ...

- Asked for elevation because of a process inhibiting shutdown
- This was cancelled
- I then got logged out of my session
- I logged in again and got prompted for a system program crash dump elevation
- This was provided but _then_ my system rebooted
- Same issue, unresponsive to power button until a long-press was completed first

Last entries in log from a lid-close are ...

2024-04-29T07:54:52.626549+01:00 hitomi systemd[1]: Reached target sleep.target - Sleep.
2024-04-29T07:54:52.640520+01:00 hitomi systemd[1]: Starting systemd-suspend.service - System Suspend...
2024-04-29T07:54:52.705918+01:00 hitomi kernel: PM: suspend entry (deep)
2024-04-29T07:54:52.706135+01:00 hitomi systemd-sleep[8809]: Performing sleep operation 'suspend'...

Edit : The power button also does not register when the laptop is running, usually it would trigger some response.

Revision history for this message
Charlie Wong (charlie-wong) wrote :

- Hardware: Lenovo Legion Y9000P IAH7H
- https://linux-hardware.org/?probe=2b78b64bb5

After upgrade to new kernel version `6.8.11-x64v3-xanmod1` today, the
reboot/shutdown works fine, and it no hangs anymore.

NOTE: I completely remove snap component, and `config-6.8.10-x64v3-xanmod1` is
with the same problems, now with new version of 6.8.11 it works fine.

Revision history for this message
Gert Rue Brigsted (grbrigsted) wrote :

Still happens on my Lenovo Thinkpad P50.

When shutting down, I have to hold down the power button for five seconds to get it to shut down completely, even though the external red LED (the dot of the "i" in "Thinkpad" on the lid) has turned off.

I cannot restart the machine, same story as when trying to shut it down.

If I close the lid, the power button will start pulsing after opening again. However, nothing can make it wake up again. Pressing keys, mouse or even the power button does nothing. The only thing that works is holding down the power button for five seconds to shut it down completely.

As far as I can tell, this happens 100% of the time.

My computer: https://linux-hardware.org/?probe=848e7fb28d

Revision history for this message
Berte (berte) wrote :

Same issue here.
Ubuntu 24.04 6.8.0-40-generic

Hardware info: https://linux-hardware.org/?probe=968548e225

Revision history for this message
André Tura Markus (andmarkus) wrote (last edit ):

It happens with my ThinkPad T460 as well. It apperars to be a problem in 6.8 Kernel, as described in this workaround:

https://github.com/pop-os/pop/issues/3269#issuecomment-2282823931

https://www.reddit.com/r/archlinux/comments/1brx6n3/arch_linux_wont_shutdown_or_restart_with_the/

The problem do not manifest in Fedora 40 with Kernel 6.10 or in Ubuntu 23.10 with older Kernel.

Revision history for this message
André Tura Markus (andmarkus) wrote :

Today I tried disabling the bluetooth in the BIOS, without success. I also tried the Mainline Kernel 6.10 and LTS Kernel 6.6.47, also without success.

Revision history for this message
André Tura Markus (andmarkus) wrote :

The shutdown/suspend problem stopped for the after disabling the TTL chip in the security tab in the BIOS

Revision history for this message
Ingo Valentin (fischbar) wrote :

Disabling the TTL chip in the security tab in the BIOS is the solution for my Lenovo T460s!

Revision history for this message
Tushar (rafattushar) wrote (last edit ):

I have changed the grub file and have not faced this issue for some days (previously I had to face this issue at least once a day).

I have edited the /etc/default/grub and changed the following

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" > GRUB_CMDLINE_LINUX_DEFAULT=""

and run "sudo update-grub".

Apart from seeing some texts during startup and shutdown, the machine shutdown and rebooted without this issue. Can anyone else confirm this?

UPDATE: above steps don't solve the issue.

Revision history for this message
Mgc Lude (mgc.lude) wrote :

I have the same issues with a Lenovo Thinkpad X260, Ubuntu 24.04.1

Note: I had the same exact issue on Ubuntu 22.04. I had hoped that a fresh install with 24.04.1 would solve this - it didn't.

If it goes to sleep, I can't wake it again, have to force shut down and reboot by pressing power button for more than 5 seconds.

I can't shut it down with just software (power off icon on menu). It seems to turn off, but keyboard led and fans keep working, depletes battery.
To power off, I must press power button for 5 seconds.

I discovered this when I had no battery left the next morning, after a normal shutdown, and had to troubleshoot to find the root cause.

Every other function seems to be working.

Revision history for this message
Marton Bartok (bmarton) wrote :

I also have Ubuntu 22.04, on a Lenovo Thinkpad P50. I have the same issue with described also by others:
-After suspend, it doesn't wake up
-Shutdown doesn't fully power off
Both cases manually pressing power button is the solution

Disabling Bluetooth in UEFI didn't help.

Changing the grub to GRUB_CMDLINE_LINUX_DEFAULT="" didn't help.

It'd be great if anybody has a solution

Hardware info: https://linux-hardware.org/?probe=751b558011

Revision history for this message
Thomas Pohl (polarbaerhh) wrote (last edit ):

I have been observing such problems on my notebook since kernel 6.1. A solution would be really nice. Especially as you can find loads of similar cases on the net.

In my case, the problem has a time component, it normally only occurs after the computer has been running for a long time. Not after a fresh start.

My hardware: https://linux-hardware.org/?probe=2a30e00bec
My report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2031969

Revision history for this message
Marton Bartok (bmarton) wrote :

For me, If I revert back to kernel version 6.5, the bug disappears.
Has anyone tried newer kernel versions?

Revision history for this message
Wicner (wicner) wrote :

HI I have the same problem on my laptop (Acer Nitro 5 with AMD Ryzen 5 2500u).

The version of kernel is 6.8.0-44-generic and SO is Ubuntu 24.04.01 and is an upgrade from 22.04 And other problem is for example when I try to acceso to Configuration - System - About the window display the error don´t response.

The same thing happens to me, the failure occurs when I use the laptop for a long period of time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.