20.04 аварийно завершает работу при приостановке после обновления с 18.04

After upgrading from 18.04 to 20.04, suspend crashes during the suspend request, or, crashes on resume. This is a desktop not a laptop. It is the same bios and hardware as 18.04.

20.04 crashes several different ways.

  • on suspend, usb turns off, fans and system LEDs stay on, screen goes blank, crash.
  • on suspend, screen flashes random colors & characters, fans & usb stay on, crash.
  • on resume, usb & fans turn on, after a few seconds usb turns off, black screen has grayed out login prompt, crash.

Suspending from the power icon or from the command line always crashes with fans running. Letting the machine suspend on timeout, always crashes on resume. Obviously 20.04 does not work with this hardware but why did 18.04 handle it?

To get out of the corrupted state I hold the power button down for 10 seconds. The reset button sometimes works, sometimes won't. This is a very hard crash.

  • Cpu: Ryzen 3600
  • Mobo: Gigabyte B450M-DS3H
  • Bios Version: F50
user@desk:~$ free -h 
              total        used        free      shared  buff/cache   available
Mem:           15Gi       1.3Gi        13Gi       150Mi       1.3Gi        13Gi
Swap:         2.0Gi          0B       2.0Gi

user@desk:~$ sysctl vm.swappiness
vm.swappiness = 60

user@desk:~$ ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 user user 4096 May 23  2019 .
drwx------ 3 user user 4096 Aug 14 10:51 ..
drwxrwxr-x 4 user user 4096 May 23  2019 clock-override@gnomeshell.kryogenix.org

user@desk:~$ ls -al /usr/share/gnome-shell/extensions
total 24
drwxr-xr-x 6 root root 4096 Aug 11 16:36 .
drwxr-xr-x 7 root root 4096 Aug 11 16:38 ..
drwxr-xr-x 2 root root 4096 Aug 11 16:36 desktop-icons@csoriano
drwxr-xr-x 2 root root 4096 Aug 11 16:38 openweather-extension@jenslody.de
drwxr-xr-x 3 root root 4096 Aug 11 16:31 ubuntu-appindicators@ubuntu.com
drwxr-xr-x 3 root root 4096 Aug 11 16:32 ubuntu-dock@ubuntu.com

0
задан 14 August 2020 в 18:34

1 ответ

BIOS

Gigabyte B450M-DS3H

You have BIOS version F50.

There's a newer BIOS available, version F51, and can be downloaded here

enter image description here

Note: Make sure that I have the correct web page for your model #.

Note: Have good backups before updating the BIOS.

swap

Let's create a slightly larger /swapfile...

Confirm this line in /etc/fstab...

Note: Assure that there are no other lines containing "swap".

/swapfile    none    swap    sw      0   0

Note: Incorrect use of the dd command can cause data loss. Suggest copy/paste.

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile  # set proper file protections
sudo mkswap /swapfile     # init /swapfile
sudo swapon /swapfile     # turn on swap
free -h                   # confirm 16G RAM and 4G swap
reboot                    # reboot and verify operation

memory

Ryzen processors are notorious for memory compatibility problems.

Edit your question and show me sudo lshw -C memory.

Go to https://www.memtest86.com/ and download/run their free memtest to test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete.

CPU Support List: https://www.gigabyte.com/Motherboard/B450M-DS3H-rev-10/support#support-cpu

Memory Support List: https://www.gigabyte.com/Motherboard/B450M-DS3H-rev-10/support#support-doc

0
ответ дан 21 August 2020 в 08:00

Другие вопросы по тегам:

Похожие вопросы: