You are not logged in.

#1 2020-08-10 12:39:03

azurepancake
Member
Registered: 2009-01-19
Posts: 42

Random Freezing and Reboots

Hello,

I'm experiencing a peculiar issue where my system will either "freeze" (locks up, any audio playing stutters in a short loop until computer is rebooted) or just suddenly reboots. Now these scenarios could be due to two completely different causes and the (seemingly) random reboots happen the most, so I will focus on that for now.

I just recently switched to Arch from CentOS 8. Note that to my knowledge, this issue did not occur on CentOS 8, and seemed to begin once I switched to Arch.

In regards to what I'm doing on the system before these reboots happen, it really does seem to be random. I may be just browsing the web or playing music.

If I review my system logs prior to the reboots, nothing stands out to me as odd. Although, I have found some kernel errors show up here and there if I peruse a bit (shown below).

I've gathered some details about my system. I apologize if it is not very helpful. If there is anything specific that would be of use, please let me know and I will be happy to gather it for you.

Overview:

OS: Arch Linux 
Kernel: x86_64 Linux 5.7.12-arch1-1
Uptime: 12m
Packages: 616
Shell: bash 5.0.17
Resolution: 1920x1080
WM: OpenBox
WM Theme: Natura
GTK Theme: Adwaita [GTK3]
Disk: 72G / 917G (9%)
CPU: AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G @ 4x 3.5GHz
GPU: AMD Radeon (TM) RX 460 Graphics (POLARIS11, DRM 3.37.0, 5.7.12-arch1-1, LLVM 10.0.1)

Output of `lspci`:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset USB 3.1 xHCI Controller (rev 02)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset SATA Controller (rev 02)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] X370 Series Chipset PCIe Upstream Port (rev 02)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] (rev cf)
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]

Output of `lscpu`:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   48 bits physical, 48 bits virtual
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              2
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      21
Model:                           101
Model name:                      AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G
Stepping:                        1
Frequency boost:                 enabled
CPU MHz:                         2506.554
CPU max MHz:                     3500.0000
CPU min MHz:                     1400.0000
BogoMIPS:                        6988.18
Virtualization:                  AMD-V
L1d cache:                       64 KiB
L1i cache:                       192 KiB
L2 cache:                        2 MiB
NUMA node0 CPU(s):               0-3
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full AMD retpoline, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_
                                 apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp
                                  fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid 
                                 decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov

Kernel errors that I've noticed:

Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: CPU 1: Machine Check: 0 Bank 0: bc80084000010137
Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: TSC 0 ADDR 1de7e9a40 MISC d01a000000000000 
Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: PROCESSOR 2:660f51 TIME 1596132605 SOCKET 0 APIC 1 microcode 6006118
Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: CPU 1: Machine Check: 0 Bank 2: 9800100000080145
Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: TSC 0 MISC d01a000100000000 
Jul 30 14:10:13 zebes kernel: mce: [Hardware Error]: PROCESSOR 2:660f51 TIME 1596132605 SOCKET 0 APIC 1 microcode 6006118

Jul 31 17:10:09 zebes kernel: mce: [Hardware Error]: Machine check events logged
Jul 31 17:10:09 zebes kernel: [Hardware Error]: Corrected error, no action required.
Jul 31 17:10:09 zebes kernel: [Hardware Error]: CPU:0 (15:65:1) MC1_STATUS[Over|CE|MiscV|-|-|-|-]: 0xd800000000130151
Jul 31 17:10:09 zebes kernel: [Hardware Error]: MC1 Error: Decoder predecode buffer parity error.
Jul 31 17:10:09 zebes kernel: [Hardware Error]: cache level: L1, tx: INSN, mem-tx: IRD
Jul 31 17:10:09 zebes kernel: mce: [Hardware Error]: Machine check events logged
Jul 31 17:10:09 zebes kernel: [Hardware Error]: Corrected error, no action required.
Jul 31 17:10:09 zebes kernel: [Hardware Error]: CPU:0 (15:65:1) MC5_STATUS[Over|CE|-|-|-|-|-]: 0xd0000000000c0e0f
Jul 31 17:10:10 zebes kernel: [Hardware Error]: MC5 Error: DE error occurred.
Jul 31 17:10:10 zebes kernel: [Hardware Error]: cache level: L3/GEN, mem/io: GEN, mem-tx: GEN, part-proc: GEN (no timeout)

Logs leading up to the reboot:

Aug 04 10:51:39 zebes audit[14252]: USER_END pid=14252 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/>
Aug 04 10:51:39 zebes audit[14252]: CRED_DISP pid=14252 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 re>
Aug 04 10:51:39 zebes sudo[14252]: pam_unix(sudo:session): session closed for user root
Aug 04 10:51:39 zebes kernel: audit: type=1106 audit(1596552699.154:134): pid=14252 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hos>
Aug 04 10:51:39 zebes kernel: audit: type=1104 audit(1596552699.154:135): pid=14252 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? a>
Aug 05 00:00:23 zebes systemd[1]: Starting Daily man-db regeneration...
Aug 05 00:00:23 zebes kernel: audit: type=1130 audit(1596600023.784:136): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=>
Aug 05 00:00:23 zebes audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 05 00:00:23 zebes systemd[1]: Started Verify integrity of password and group files.
Aug 05 00:00:23 zebes systemd[1]: shadow.service: Succeeded.
Aug 05 00:00:23 zebes audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 05 00:00:23 zebes kernel: audit: type=1131 audit(1596600023.934:137): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=>
Aug 05 00:00:53 zebes systemd[1]: man-db.service: Succeeded.
Aug 05 00:00:53 zebes systemd[1]: Finished Daily man-db regeneration.
Aug 05 00:00:53 zebes audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 05 00:00:53 zebes audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 05 00:00:53 zebes kernel: audit: type=1130 audit(1596600053.250:138): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=>
Aug 05 00:00:53 zebes kernel: audit: type=1131 audit(1596600053.250:139): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=>
-- Reboot --
Aug 05 08:04:58 zebes kernel: Linux version 5.7.12-arch1-1 (linux@archlinux) (gcc version 10.1.0 (GCC), GNU ld (GNU Binutils) 2.34.0) #1 SMP PREEMPT Fri, 31 Jul 2020 17:38:22 +0000

Again, apologies if I'm overlooking anything that would be helpful for troubleshooting this. With that, any advice would be very much appreciated.

Last edited by azurepancake (2020-08-10 14:50:20)

Offline

#2 2020-08-11 09:47:15

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: Random Freezing and Reboots

Hardware problem is likely i think. I would search for:
[Hardware Error]: Corrected error, no action required.

Offline

#3 2020-08-11 10:17:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,372

Re: Random Freezing and Reboots

Make sure your microcode updates are properly set up. If this indeed some issue in the CPU firmware that can often help.

Offline

#4 2020-08-12 11:49:01

azurepancake
Member
Registered: 2009-01-19
Posts: 42

Re: Random Freezing and Reboots

Thank you for the advice. I hadn't yet applied the microcode updates, so I went ahead and did just that.

So far so good, lets see if a random reboot happens this week. If not, I'll mark this post as "solved".

Last edited by azurepancake (2020-08-12 11:49:23)

Offline

Board footer

Powered by FluxBB