I built a new computer last week and am trying to run FreeBSD 12.0 on it. What makes my life difficult is that I'm experiencing random reboots and short freezes. They appear to be of random nature and usually a reboot is preceeded by several of those hick-ups/freezes.
In this context I call a freeze a short interruption of audio/video and the mouse activity. They happen simultaneously, so during audio playing and mouse movement they both freeze at the same time. From time to time there is also a failure in Firefox and Chrome. Tabs crash, not the entire browser. If I reload the tab there goes a reboot of the whole system. Falkon appears to be OK so far for browsing.
The hardware configuration is as follows:
Mainboard: Asus ROG Crosshair VII Hero WiFi, latest bios installed (1201 from 2019/01/04)
CPU: AMD Ryzen 7 2700 65w TDP
Cooler: Thermalright ARO-m14 Grey
RAM: G.Skill Aegis DDR4 4x16GB 3000MHz CL16
GPU: AMD Radeon RX 580 8GB
SDD: 2x Samsung Evo 860 1TB (zfs mirror zpool)
PSU: Seasonic Prime 600 Titanium Fanless
The mainboard autoconfigures the RAM at 2133MHz and the CPU at 3200MHz. This appears to be working except for the aforementioned freezes/reboots. Bumping the RAM to 3000MHz also works (either manually or though the D.O.C.P setting). Although it "feels" like the machine reboots more often under 3000MHz than 2133MHz. The system boots using UEFI. The temperature is reported at 30ish degrees Celsius (I take it from amdtemp, not sure if I need to transform the value somehow). Also under load (e.g. kernel compile) it doesn't go higher than 40 degrees so I assume that the cooling is OK. Also the air streeming out of the case is cool. I didn't do any tests using other operating systems or did any "burn-in" attempts.
I searched online and found some horror stories on reddit. Also I stumbled upon https://lists.freebsd.org/pipermail/freebsd-current/2018-June/069799.html where Konstantin Belousov explains a possible fix to comparable issues. I execute his script on every start of the machine. The relevant portion of dmesg looks like this:
However this doesn't appear to solve my problems :-(. Any help is greatly appreciated. Also I'd like to learn more about why this may happen so that I can debug further on my own the next time
In this context I call a freeze a short interruption of audio/video and the mouse activity. They happen simultaneously, so during audio playing and mouse movement they both freeze at the same time. From time to time there is also a failure in Firefox and Chrome. Tabs crash, not the entire browser. If I reload the tab there goes a reboot of the whole system. Falkon appears to be OK so far for browsing.
The hardware configuration is as follows:
Mainboard: Asus ROG Crosshair VII Hero WiFi, latest bios installed (1201 from 2019/01/04)
CPU: AMD Ryzen 7 2700 65w TDP
Cooler: Thermalright ARO-m14 Grey
RAM: G.Skill Aegis DDR4 4x16GB 3000MHz CL16
GPU: AMD Radeon RX 580 8GB
SDD: 2x Samsung Evo 860 1TB (zfs mirror zpool)
PSU: Seasonic Prime 600 Titanium Fanless
The mainboard autoconfigures the RAM at 2133MHz and the CPU at 3200MHz. This appears to be working except for the aforementioned freezes/reboots. Bumping the RAM to 3000MHz also works (either manually or though the D.O.C.P setting). Although it "feels" like the machine reboots more often under 3000MHz than 2133MHz. The system boots using UEFI. The temperature is reported at 30ish degrees Celsius (I take it from amdtemp, not sure if I need to transform the value somehow). Also under load (e.g. kernel compile) it doesn't go higher than 40 degrees so I assume that the cooling is OK. Also the air streeming out of the case is cool. I didn't do any tests using other operating systems or did any "burn-in" attempts.
uname -r
12.0-RELEASE-p3
I searched online and found some horror stories on reddit. Also I stumbled upon https://lists.freebsd.org/pipermail/freebsd-current/2018-June/069799.html where Konstantin Belousov explains a possible fix to comparable issues. I execute his script on every start of the machine. The relevant portion of dmesg looks like this:
CPU: AMD Ryzen 7 2700 Eight-Core Processor (3219.30-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x800f82 Family=0x17 Model=0x8 Stepping=2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
TSC: P-state invariant, performance statistics
However this doesn't appear to solve my problems :-(. Any help is greatly appreciated. Also I'd like to learn more about why this may happen so that I can debug further on my own the next time