My system freezes after waking from suspend

Bug #2076048 reported by Christopher Sale
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have installed Ubuntu 24.04 on my Lenovo ThinkPad T14 Gen 3 (AMD Ryzen™ 7 PRO 6850U with Radeon™ Graphics × 16). Type - 21CF-003QAU

Since installation, the following problem has occurred:

- Whenever I suspend the system (e.g. power off menu > suspend), the system successfully goes into a suspended state.
- When I wake the computer, the computer wakes and presents me with the login screen
- I can log into the system, and the mouse and all previously open windows appear to be working, sound is working etc
- I CAN'T seem to open any new applications or run any new commands at this time (no error messages, just nothing starting)
- Approximately 30 seconds to 1 minute later, the system freezes completely. No error messages, and I can see everything on the screen. But mouse/keyboard input stops, sound stops, and I have to physically hard restart the laptop.
- Example is caplock key light on keyboard stops responding. Interestingly the Esc/FnLock key light still works

I have updated all the firmware / BIOS to the latest versions, and the issue still persists.

I have run Ubuntu from a Live USB on the same machine, and when suspending, all appears to work OK.

I have done a completely fresh install with default installation parameters, and system freeze as explained above occurs every time.

Also reported to Lenovo here -> https://forums.lenovo.com/t5/Ubuntu/Lenovo-T14-Gen3-AMD-with-Ubuntu-24-04-System-freezes-30-seconds-after-waking-from-sleep/m-p/5324170?page=1#6404090

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-39-generic 6.8.0-39.39
ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
Uname: Linux 6.8.0-39-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 5 09:21:52 2024
InstallationDate: Installed on 2024-08-01 (4 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: LENOVO 21CF003QAU
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-39-generic root=UUID=a12931b8-49e7-4226-b38f-3febeac4f41d ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-39-generic N/A
 linux-backports-modules-6.8.0-39-generic N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/29/2024
dmi.bios.release: 1.53
dmi.bios.vendor: LENOVO
dmi.bios.version: R23ET77W (1.53 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21CF003QAU
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76538 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.32
dmi.modalias: dmi:bvnLENOVO:bvrR23ET77W(1.53):bd05/29/2024:br1.53:efr1.32:svnLENOVO:pn21CF003QAU:pvrThinkPadT14Gen3:rvnLENOVO:rn21CF003QAU:rvrSDK0T76538WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21CF_BU_Think_FM_ThinkPadT14Gen3:
dmi.product.family: ThinkPad T14 Gen 3
dmi.product.name: 21CF003QAU
dmi.product.sku: LENOVO_MT_21CF_BU_Think_FM_ThinkPad T14 Gen 3
dmi.product.version: ThinkPad T14 Gen 3
dmi.sys.vendor: LENOVO

Revision history for this message
Christopher Sale (christophersale) wrote :
Revision history for this message
Christopher Sale (christophersale) wrote :

After the last freeze, I ran journalctl -b -1 and attached is the output

affects: ubuntu → linux (Ubuntu)
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
Revision history for this message
Martin Randau (cmmrandau) wrote :

Identical behaviour here on a P14s Gen3 AMD. Suspend works, but it freezes seconds after logging in from GDM after resume.

Revision history for this message
Martin Randau (cmmrandau) wrote :

This problem does not seem to exist with the latest mainline kernel (6.10.3-061003-generic).

Revision history for this message
Torsten Krah (tkrah) wrote :

Same here. Freeze after resume on my Lenovo ThinkPad T14 Gen 3, model 21CFCTO1WW.

Additionally, with this 6.8.0-x kernel, I can no longer boot without my LID open and just use the docking station monitors. It boots, docking station is working (both displays are working) - I can enter my decryption password and after that it just continues to boot and goes straight into suspend mode.
6.5.x does not show this strange behavior.

Boot log has:

Aug 05 20:43:15 TORSTENKNBL2 kernel: amdgpu 0000:04:00.0: [drm] *ERROR* Failed to get ACT after 3000ms, last status: 00
Aug 05 20:43:15 TORSTENKNBL2 kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008
Aug 05 20:43:15 TORSTENKNBL2 kernel: #PF: supervisor read access in kernel mode
Aug 05 20:43:15 TORSTENKNBL2 kernel: #PF: error_code(0x0000) - not-present page
Aug 05 20:43:15 TORSTENKNBL2 kernel: PGD 0 P4D 0
Aug 05 20:43:15 TORSTENKNBL2 kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI

Revision history for this message
Philip Cox (philcox) wrote :

Thank you for taking the time to report this bug.

Would you be able to boot off of the Noble (24.04) USB install media, and select the "Try Ubuntu", and see if it reproduces with the kernel that is on the install media? I would like to know if this is a regression from when Noble originally shipped, or if it is older than that.

Revision history for this message
Martin Randau (cmmrandau) wrote :

I think that has been tried, as described in the first post: “I have run Ubuntu from a Live USB on the same machine, and when suspending, all appears to work OK.” :)

Revision history for this message
Christopher Sale (christophersale) wrote :

Yes, I am confirming that I downloaded the 24.04 LTS iso from the website, imaged it to a USB, and booted from it. When booting from the USB, the ubuntu installer opens by default. I closed the installer, which drops you into the live USB Ubuntu environment.

I clicked suspend from the power menu in the top right, and the laptop suspended without issue.

I woke the laptop, and the laptop woke without issue.

I continued to use the laptop for 5-10 minutes, and it did not freeze. Freezing from the installed version I have on my laptop now happens withing approx 1 min.

I am happy to boot from the live USB and run commands to get any version numbers or data you you need.

Revision history for this message
Matthew Ruffell (mruffell) wrote :

I think this is going to be fixed in 6.8.0-40-generic, currently in -proposed. You could try install it now and see if it fixes your issue. Let me know if it doesn't.

Revision history for this message
Christopher Sale (christophersale) wrote :

Hi,

I have installed 6.8.0-40-generic, and it appears to have resolved the issue. Thank you.

For the technically challenged like myself who are reading, here is how I installed it:

sudo nano /etc/apt/sources.list.d/ubuntu.sources
(Add "noble-proposed" to the end of the line "Suites:" under the archive.ubuntu.com URI)
sudo apt update
sudo apt install linux-tools-6.8.0-40-generic
sudo apt install linux-headers-generic=6.8.0-40.40
sudo apt install linux-generic/noble-proposed

Restart system

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Great to hear it! Everyone else, hold tight, 6.8.0-40-generic will be released soon.

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.