You are not logged in.
Hi everyone,
I'm experiencing a system crash (a kernel panic, I guess) after resuming from suspend.
This can be reproduced from a TTY by running:
systemctl suspendThe system appears to enter suspension just fine, but when ever I attempt to resume, the CPU fan goes full speed for a few seconds and then the machine reboots.
This are the journal logs:
. . .
Aug 29 19:38:15 ryzen audit: BPF prog-id=10 op=LOAD
Aug 29 19:38:15 ryzen audit: BPF prog-id=10 op=UNLOAD
Aug 29 19:38:15 ryzen audit: BPF prog-id=11 op=LOAD
Aug 29 19:38:15 ryzen audit: BPF prog-id=11 op=UNLOAD
Aug 29 19:38:15 ryzen kernel: audit: type=1334 audit(1598740695.214:49): prog-id=10 op=LOAD
Aug 29 19:38:15 ryzen systemd-xdg-autostart-generator[654]: Not generating service for XDG autostart app-pulseaudio-autostart.service, startup phases are not supported.
Aug 29 19:38:15 ryzen systemd-xdg-autostart-generator[654]: Not generating service for XDG autostart app-at\x2dspi\x2ddbus\x2dbus-autostart.service, startup phases are not supported.
Aug 29 19:38:15 ryzen systemd[649]: Queued start job for default target Main User Target.
Aug 29 19:38:15 ryzen systemd[649]: Reached target Paths.
Aug 29 19:38:15 ryzen systemd[649]: Reached target Timers.
Aug 29 19:38:15 ryzen systemd[649]: Starting D-Bus User Message Bus Socket.
Aug 29 19:38:15 ryzen systemd[649]: Listening on GnuPG network certificate management daemon.
Aug 29 19:38:15 ryzen systemd[649]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 29 19:38:15 ryzen systemd[649]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 29 19:38:15 ryzen systemd[649]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 29 19:38:15 ryzen systemd[649]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 29 19:38:15 ryzen systemd[649]: Listening on p11-kit server.
Aug 29 19:38:15 ryzen systemd[649]: Condition check resulted in Sound System being skipped.
Aug 29 19:38:15 ryzen systemd[649]: Listening on D-Bus User Message Bus Socket.
Aug 29 19:38:15 ryzen systemd[649]: Reached target Sockets.
Aug 29 19:38:15 ryzen systemd[649]: Reached target Basic System.
Aug 29 19:38:15 ryzen systemd[1]: Started User Manager for UID 0.
Aug 29 19:38:15 ryzen audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 29 19:38:15 ryzen systemd[1]: Started Session 3 of user root.
Aug 29 19:38:15 ryzen systemd[649]: Starting Update XDG user dir configuration...
Aug 29 19:38:15 ryzen audit[534]: USER_START pid=534 uid=0 auid=0 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="root" exe="/usr/bin/login" hostname=ryzen addr=? terminal=tty1 res=success'
Aug 29 19:38:15 ryzen audit[534]: CRED_REFR pid=534 uid=0 auid=0 ses=3 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/login" hostname=ryzen addr=? terminal=tty1 res=success'
Aug 29 19:38:15 ryzen systemd[649]: xdg-user-dirs-update.service: Succeeded.
Aug 29 19:38:15 ryzen systemd[649]: Finished Update XDG user dir configuration.
Aug 29 19:38:15 ryzen systemd[649]: Reached target Main User Target.
Aug 29 19:38:15 ryzen login[534]: ROOT LOGIN ON tty1
Aug 29 19:38:15 ryzen systemd[649]: Startup finished in 93ms.
Aug 29 19:38:21 ryzen systemd[1]: Reached target Sleep.
Aug 29 19:38:21 ryzen systemd[1]: Starting Suspend...
Aug 29 19:38:21 ryzen systemd-sleep[659]: Suspending system...
Aug 29 19:38:21 ryzen kernel: PM: suspend entry (deep)NOTE: "ryzen" is the machine's hostname.
Machine:
CPU: AMD Ryzen 7 2700X Eight-Core Processor
GPU: AMD Radeon RX 570
Kernel version: 5.8.5-arch1-1
I already installed the amd-ucode package and I'm using GRUB as the bootloader.
I also tested with the LTS kernel but the problem persists.
I didn't have this issue with openSUSE Tumbleweed, which is the distro I'm coming from, and if I recall correctly, it was using Linux 5.7 at the time.
Any idea how I can debug this further?
Thanks in advance.
UPDATE: Hibernate works fine BTW...
Last edited by itaranto (2020-08-30 00:52:23)
Offline
UPDATE 2: Definitely a Hardware/BIOS issue.
I tested with openSUSE Tumbleweed in a Live CD -> Same problem
I tested with Windows 10 -> Same problem
So, this could be a BIOS misconfiguration somehow. The only recent modification I did was to disable Secure Boot to use the Arch ISO.
Offline
UPDATE 3: Now it works, but I have no clue why...
So, I decided to update the BIOS firmware, because, why not?
I have a Gigabyte AB350-Gaming 3 motherboard and I updated the BIOS from F50a F51b.
After the update, the BIOS settings were reset and changed to legacy mode so it booted straight to my Windows partition.
So, I tested suspending in Windows and it worked.
After that, I switched off the legacy BIOS support only to find out that GRUB was no longer detected.
So, I booted the Arch USB installer and reinstalled GRUB.
I tested suspending in Arch and it worked! But I'm afraid I will never know what caused this...
Last edited by itaranto (2020-08-30 04:43:56)
Offline