System freeze (does not wake from sleep)

Bug #1937321 reported by sheepscrossing
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-5.11 (Ubuntu)
New
Undecided
Unassigned
linux-hwe-5.8 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

System freezes after I close the lid on the laptop and leave it closed overnight. It doesn't respond to any key presses or mouse clicks including Ctrl-Alt+F4. my only recourse is to force the power off. Sometimes it has the "suspend" screen showing but mostly it's just black. The Power settings -Dim screen when inactive = yes
          Blank screen = never
          Wifi and Bluetooth can be turned off to save power = yes
          Automatic suspend on battery power = yes
          Power button action = Power off

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.8.0-63.71~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-63-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 22 17:34:17 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GpuHangFrequency: Several times a week
GpuHangReproducibility: Seems to happen randomly
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c2) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Renoir [103c:87cf]
InstallationDate: Installed on 2021-06-30 (22 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
MachineType: HP HP Laptop 15-ef1xxx
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-63-generic root=UUID=f66ca4c6-ec88-43af-81a3-7d994d7a217b ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/10/2021
dmi.bios.release: 15.34
dmi.bios.vendor: AMI
dmi.bios.version: F.34
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 8707
dmi.board.vendor: HP
dmi.board.version: 37.19
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 37.19
dmi.modalias: dmi:bvnAMI:bvrF.34:bd03/10/2021:br15.34:efr37.19:svnHP:pnHPLaptop15-ef1xxx:pvr:rvnHP:rn8707:rvr37.19:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Laptop 15-ef1xxx
dmi.product.sku: 27A48UA#ABA
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-1ubuntu1~20.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 20.2.6-0ubuntu0.20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.9-2ubuntu1.2~20.04.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
sheepscrossing (sheepscrossing) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

tags: added: amdgpu
summary: - Xorg freeze
+ System freeze
affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: Xorg freeze

Error reports

|
|
| |
Error reports

 |

 |

 |

| 2021-07-02 20:07 | 2021-07-03 01:07 UTC | Crash | xscreensaver-data-extra |
| 2021-06-30 16:06 | 2021-06-30 21:06 UTC | Crash | nautilus |

Duane

    On Thursday, July 22, 2021, 9:20:40 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Thank you for taking the time to report this bug and helping to make
Ubuntu better. It sounds like some part of the system has crashed. To
help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where
ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine.
Do you find any links to recent problems on that page? If so then please
send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921,
reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are
unable to process them as file attachments. It would also be a security
risk for yourself.

** Tags added: amdgpu

** Summary changed:

- Xorg freeze
+ System freeze

** Package changed: xorg (Ubuntu) => ubuntu

** Changed in: ubuntu
      Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

Sorry it took so long to reply, I'm a little Ubuntu illiterate.

| 2021-07-02 20:07 | 2021-07-03 01:07 UTC | Crash | xscreensaver-data-extra |
| 2021-06-30 16:06 | 2021-06-30 21:06 UTC | Crash | nautilus |

Duane

    On Thursday, July 22, 2021, 9:20:40 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Thank you for taking the time to report this bug and helping to make
Ubuntu better. It sounds like some part of the system has crashed. To
help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where
ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine.
Do you find any links to recent problems on that page? If so then please
send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921,
reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are
unable to process them as file attachments. It would also be a security
risk for yourself.

** Tags added: amdgpu

** Summary changed:

- Xorg freeze
+ System freeze

** Package changed: xorg (Ubuntu) => ubuntu

** Changed in: ubuntu
      Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

In looking at what I sent I still don't think I sent the right stuff.  Here's the ID # from whoopsie-id.
6b8e33fe437c1034a81072912cfe9c22792a3f69c4d33e45a69c800783a88079fb6601dc059840bc806cd850c6efecc383497b22497a8c8536c063887939dd99

Duane

    On Thursday, July 22, 2021, 9:20:40 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Thank you for taking the time to report this bug and helping to make
Ubuntu better. It sounds like some part of the system has crashed. To
help us find the cause of the crash please follow these steps:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where
ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine.
Do you find any links to recent problems on that page? If so then please
send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921,
reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are
unable to process them as file attachments. It would also be a security
risk for yourself.

** Tags added: amdgpu

** Summary changed:

- Xorg freeze
+ System freeze

** Package changed: xorg (Ubuntu) => ubuntu

** Changed in: ubuntu
      Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze

Thanks but those crashes in xscreensaver-data-extra and nautilus don't appear to be relevant.

Instead, next time the system freezes please:

1. Wait 10 seconds.

2. Reboot.

3. Run:

   journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze

Duane

    On Sunday, July 25, 2021, 9:25:39 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Thanks but those crashes in xscreensaver-data-extra and nautilus don't
appear to be relevant.

Instead, next time the system freezes please:

1. Wait 10 seconds.

2. Reboot.

3. Run:

  journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze

Launchpad can't seem to handle the file name in comment #7. Please attach it again with a simpler file name.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze

Duane

    On Monday, July 26, 2021, 10:10:55 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Launchpad can't seem to handle the file name in comment #7. Please
attach it again with a simpler file name.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

How much simpler can it get? FDP.txt.

Duane

    On Monday, July 26, 2021, 11:50:36 PM CDT, sheepscrossing <email address hidden> wrote:

 Duane

    On Monday, July 26, 2021, 10:10:55 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Launchpad can't seem to handle the file name in comment #7. Please
attach it again with a simpler file name.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

** Attachment added: "=?UTF-8?b?RkRQLnR4dA==?="
  https://bugs.launchpad.net/bugs/1937321/+attachment/5513941/+files/%3D%3FUTF-8%3Fb%3FRkRQLnR4dA%3D%3D%3F%3D

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze

The problem still seems to be happening in comments #9 and #10. Please try using a web browser instead of email.

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

I don't know what comments 9 and 10 are, but here's the file again.

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

Sorry the command was: "journalctl -b-1 > prevboot.txt". I truncated it accidently. The file was renamed to FDP.txt.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It appears the problem is the 'amdgpu' kernel driver crashing on resume-from-suspend:

Jul 26 14:29:32 HP-Laptop kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=741, emitted seq=743
Jul 26 14:29:32 HP-Laptop kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process pid 0 thread pid 0
Jul 26 14:29:32 HP-Laptop kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!

...

Jul 26 14:29:32 HP-Laptop kernel: Call Trace:
Jul 26 14:29:32 HP-Laptop kernel: pm_uninit+0x16/0x20 [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: stop_cpsch+0xa5/0xd0 [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: kgd2kfd_suspend.part.0+0x35/0x50 [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: kgd2kfd_pre_reset+0x3c/0x50 [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: amdgpu_amdkfd_pre_reset+0x1a/0x20 [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: amdgpu_device_gpu_recover.cold+0x204/0xc4a [amdgpu]
Jul 26 14:29:32 HP-Laptop kernel: amdgpu_job_timedout+0x123/0x150 [amdgpu]

summary: - System freeze
+ System freeze (amdgpu kernel crash on resume from suspend)
affects: ubuntu → linux (Ubuntu)
affects: linux (Ubuntu) → linux-hwe-5.8 (Ubuntu)
tags: added: suspend-resume
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

Looks like it could be the same issue as bug 1917674.

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

Had another crash and unlike bug 1917674 the keyboard won't respond at all. I tried the ALT SYSREQ (prt sc) REISUB and REISUO and nothing worked. Any comments Daniel?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is a bug in the kernel that ships with Ubuntu 20.04 so you need a newer one. Try this:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

How do I install these files, I'm not that conversant with Linux.

Duane

    On Thursday, August 5, 2021, 7:33:24 PM CDT, Daniel van Vugt <email address hidden> wrote:

 This is a bug in the kernel that ships with Ubuntu 20.04 so you need a
newer one. Try this:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)
Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

That failed when I rebooted:
Error:/boot/vmlunz-5.13.7-051307-generic has invalid signatureError: you need to load the kernel firstPress any key to continuePressing a key takes me back to the Grub screen and I can select 5.11.0-25 to reboot the system

I don't think I did anything wrong, but I received the following errors when I installed them:
dpkg: dependency problems prevent configuration of linux-headers-5.13.7-051307-generic:
 linux-headers-5.13.7-051307-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.7-051307-generic (--install):
 dependency problems - leaving unconfigured
Duane

    On Thursday, August 5, 2021, 9:30:47 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Yes we do need to make this process easier for people.

1. Download these four files:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307_5.13.7-051307.202107310732_all.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
image-
unsigned-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
modules-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

2. Install them all at once:

  sudo dpkg -i linux*.deb

3. Reboot.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Fw: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

Can I use the Grub editor and comment out the 5.13.7-053107 kernel?

Duane

   ----- Forwarded Message ----- From: Duane Palmer <email address hidden>To: Daniel van Vugt <email address hidden>Sent: Thursday, August 5, 2021, 11:29:09 PM CDTSubject: Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)
 That failed when I rebooted:
Error:/boot/vmlunz-5.13.7-051307-generic has invalid signatureError: you need to load the kernel firstPress any key to continuePressing a key takes me back to the Grub screen and I can select 5.11.0-25 to reboot the system

I don't think I did anything wrong, but I received the following errors when I installed them:
dpkg: dependency problems prevent configuration of linux-headers-5.13.7-051307-generic:
 linux-headers-5.13.7-051307-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.7-051307-generic (--install):
 dependency problems - leaving unconfigured
Duane

    On Thursday, August 5, 2021, 9:30:47 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Yes we do need to make this process easier for people.

1. Download these four files:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307_5.13.7-051307.202107310732_all.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
image-
unsigned-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
modules-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

2. Install them all at once:

  sudo dpkg -i linux*.deb

3. Reboot.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

Can I use "apt upgrade" to refresh libc6?

Duane

   ----- Forwarded Message ----- From: Duane Palmer <email address hidden>To: Daniel van Vugt <email address hidden>Sent: Thursday, August 5, 2021, 11:35:10 PM CDTSubject: Fw: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)
 Can I use the Grub editor and comment out the 5.13.7-053107 kernel?

Duane

   ----- Forwarded Message ----- From: Duane Palmer <email address hidden>To: Daniel van Vugt <email address hidden>Sent: Thursday, August 5, 2021, 11:29:09 PM CDTSubject: Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)
 That failed when I rebooted:
Error:/boot/vmlunz-5.13.7-051307-generic has invalid signatureError: you need to load the kernel firstPress any key to continuePressing a key takes me back to the Grub screen and I can select 5.11.0-25 to reboot the system

I don't think I did anything wrong, but I received the following errors when I installed them:
dpkg: dependency problems prevent configuration of linux-headers-5.13.7-051307-generic:
 linux-headers-5.13.7-051307-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.7-051307-generic (--install):
 dependency problems - leaving unconfigured
Duane

    On Thursday, August 5, 2021, 9:30:47 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Yes we do need to make this process easier for people.

1. Download these four files:

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
headers-5.13.7-051307_5.13.7-051307.202107310732_all.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
image-
unsigned-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13.7/amd64/linux-
modules-5.13.7-051307-generic_5.13.7-051307.202107310732_amd64.deb

2. Install them all at once:

  sudo dpkg -i linux*.deb

3. Reboot.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

That failed when I rebooted:

Error:/boot/vmlunz-5.13.7-051307-generic has invalid signature
Error: you need to load the kernel first
Press any key to continue
Pressing a key takes me back to the Grub screen and I can select 5.11.0-25 to reboot the system

I don't think I did anything wrong, but I received the following errors when I installed them:

dpkg: dependency problems prevent configuration of linux-headers-5.13.7-051307-generic:
 linux-headers-5.13.7-051307-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.7-051307-generic (--install):
 dependency problems - leaving unconfigured

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh I didn't realize Ubuntu 20.04 has a version of libc that's a little too old for that. You will need to try an older kernel version that's still newer than the 5.8.0 that caused this bug. Maybe try:

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.56/amd64/

Also the "invalid signature" problem I think is caused by Secure Boot. Try disabling Secure Boot in your BIOS.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

Did you mean for me to download all 7 of the modules at this URL and compile them?

BTW the system booted this time with the 5.07.13 kernel but it had errors I didn't have time to see.  I guess because I disabled the "invalid signature" parameter. These are the only errors I encountered in the Boot.log:
        Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0...
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.
See 'systemctl status systemd-backlight@backlight:amdgpu_bl0.service' for details.
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details
....[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.
 Should I be looking somewhere else?

Duane

    On Friday, August 6, 2021, 12:35:28 AM CDT, Daniel van Vugt <email address hidden> wrote:

 Oh I didn't realize Ubuntu 20.04 has a version of libc that's a little
too old for that. You will need to try an older kernel version that's
still newer than the 5.8.0 that caused this bug. Maybe try:

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.56/amd64/

Also the "invalid signature" problem I think is caused by Secure Boot.
Try disabling Secure Boot in your BIOS.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

That failed when I rebooted:

Error:/boot/vmlunz-5.13.7-051307-generic has invalid signature
Error: you need to load the kernel first
Press any key to continue
Pressing a key takes me back to the Grub screen and I can select 5.11.0-25 to reboot the system

I don't think I did anything wrong, but I received the following errors when I installed them:

dpkg: dependency problems prevent configuration of linux-headers-5.13.7-051307-generic:
 linux-headers-5.13.7-051307-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.7-051307-generic (--install):
 dependency problems - leaving unconfigured

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

I compiled the new images that you sent. Linux 5.10.56-xxxxxxxx and received the same error about Libc6 being downlevel, but when I rebooted that kernel it booted with what appeared to be the same errors as 5.13.7.
Boot.log shows:
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.

I didn't see any other errors. Where should I be looking for the startup messages that I'm seeing?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The "invalid signature" problem I think is caused by Secure Boot. Try disabling Secure Boot in your BIOS.

Also sorry again because it sounds like that libc6 problem is going to keep getting in the way. But good news: Kernel 5.11 has now been officially released to Ubuntu 20.04 updates. So you can delete the test kernel packages with:

  sudo dpkg -P PACKAGENAME1 PACKAGENAME2 ....

and then do a system update to get the official update to 5.11:

  sudo apt update
  sudo apt full-upgrade

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please install "linux-oem-20.04c" and see if the OEM 5.13 kernel helps...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm hoping the official update to 5.11 is enough so the suggestion in comment #29 won't be necessary.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

What are the package names Daniel?

Duane

    On Sunday, August 8, 2021, 8:30:42 PM CDT, Daniel van Vugt <email address hidden> wrote:

 The "invalid signature" problem I think is caused by Secure Boot. Try
disabling Secure Boot in your BIOS.

Also sorry again because it sounds like that libc6 problem is going to
keep getting in the way. But good news: Kernel 5.11 has now been
officially released to Ubuntu 20.04 updates. So you can delete the test
kernel packages with:

  sudo dpkg -P PACKAGENAME1 PACKAGENAME2 ....

and then do a system update to get the official update to 5.11:

  sudo apt update
  sudo apt full-upgrade

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

Please advise the name of the packages I need to purge. I've tried a lot of different things but haven't found the right name.

Also I have booted 5.11.0-25 and the system locked up when I lifted the lid to resume, I hard to do a hard boot as even Alt/Sysreq REISUB won't work. I guess I'll try Mr. Feng's kernel next.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't know all the names of the packages you have installed and need to remove. They include but might not be limited to:

  linux-headers-5.13.7-051307-generic
  linux-headers-5.13.7-051307
  linux-image-unsigned-5.13.7-051307-generic
  linux-modules-5.13.7-051307-generic

If you run:

  dpkg -l > packages.txt

and attach the resulting text file then we can give you a clearer answer.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

I only installed what you told me to:

Duane

    On Monday, August 9, 2021, 9:05:42 PM CDT, Daniel van Vugt <email address hidden> wrote:

 I don't know all the names of the packages you have installed and need
to remove. They include but might not be limited to:

  linux-headers-5.13.7-051307-generic
  linux-headers-5.13.7-051307
  linux-image-unsigned-5.13.7-051307-generic
  linux-modules-5.13.7-051307-generic

If you run:

  dpkg -l > packages.txt

and attach the resulting text file then we can give you a clearer
answer.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

Please run:

sudo dpkg -P \
linux-headers-5.10.56-051056 \
linux-headers-5.13.7-051307 \
linux-image-unsigned-5.10.56-051056-generic \
linux-image-unsigned-5.13.7-051307-generic \
linux-modules-5.10.56-051056-generic \
linux-modules-5.13.7-051307-generic

then reboot. You should be left with a working 5.11 kernel.

Revision history for this message
sheepscrossing (sheepscrossing) wrote : Re: [Bug 1937321] Re: System freeze (amdgpu kernel crash on resume from suspend)

Thanks Daniel. I think 5.11 kernel locks up as well but I'll test it again to be sure.

Duane

    On Monday, August 9, 2021, 10:55:35 PM CDT, Daniel van Vugt <email address hidden> wrote:

 Please run:

sudo dpkg -P \
linux-headers-5.10.56-051056 \
linux-headers-5.13.7-051307 \
linux-image-unsigned-5.10.56-051056-generic \
linux-image-unsigned-5.13.7-051307-generic \
linux-modules-5.10.56-051056-generic \
linux-modules-5.13.7-051307-generic

then reboot. You should be left with a working 5.11 kernel.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1937321

Title:
  System freeze (amdgpu kernel crash on resume from suspend)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.8/+bug/1937321/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: System freeze (amdgpu kernel crash on resume from suspend)

If you experience lockups with kernel 5.11 then please:

1. Wait 10 seconds.

2. Reboot.

3. Run this command:

   journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

The 5.11 kernel locks up when left in suspend mode overnight and Alt/Sysrq REISUB will not be recognized either. I have been able to suspend the laptop by shutting the kid for smaller amounts of time and having the system respond again when the the lid is reopened, 1 to 2 hours. But leaving it suspended for overnight will cause it to hang every time. I have booted the other kernel on the system, 5.8.0-63 and will see if that works. I haven't downloaded the linux-oem-20.04c package yet.
Any more advice?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The instructions in comment #37 would still apply in that case. Please follow those.

Revision history for this message
sheepscrossing (sheepscrossing) wrote :

8/12/21 Line 37

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. The log in comment #40 shows the system sleeping but never waking up again. It's not clear if that's the same bug and just missing log entries or a new bug. To help us figure it out please try:

1. Suspend.

2. Open the lid.

3. Wait 10 seconds.

4. Reboot or REISUB.

5. Run this command:

   journalctl -b-1 > prevboot.txt

6. Attach the resulting text file here.

Changed in linux-hwe-5.8 (Ubuntu):
status: Incomplete → New
Changed in linux-hwe-5.11 (Ubuntu):
status: New → Incomplete
Revision history for this message
sheepscrossing (sheepscrossing) wrote :

I was gone on Friday after 3:00 PM and all of Saturday and my first chance to do what you asked was today, 8/15.Here's the file preboot#2.txt.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, same problem - either that log is missing the crash details or we have a new similar bug in kernel 5.11. Regardless it's probably safe to say the original bug in kernel 5.8 won't be fixed since that's now been officially replaced by 5.11. So whatever the issue is in comment #42/#40 is what this bug should be about now.

summary: - System freeze (amdgpu kernel crash on resume from suspend)
+ System freeze (does not wake from sleep)
Changed in linux-hwe-5.8 (Ubuntu):
status: New → Won't Fix
Changed in linux-hwe-5.11 (Ubuntu):
status: Incomplete → New
Revision history for this message
sheepscrossing (sheepscrossing) wrote :

I had an automatic upgrade to 5.11.0-27 a few days ago, but the new kernel didn't fix my problem. Here's the journal.

To post a comment you must log in.