Kernel 6.8 - Shutdown/Reboot hangs on Noble 24.04

Bug #2059738 reported by Richard Pratt
30
This bug affects 6 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.

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.