I've been facing some frustrating issues with various Linux distros crashing and rebooting my laptop after a few hours of use. This started happening recently, and I've tried many different distros including Cachy, vanilla Arch, Ubuntu, Debian, and OpenSUSE, but the crashes persist. I've been told it might be a hardware issue, but I've run multiple memtest checks and tests on my SSDs. I've even stress tested my CPU and GPU without any problems when I switch to Windows, which runs fine. My Linux setups can barely last a few hours and tend to crash more frequently after the first crash. The terminal often shows errors like "mce: [Hardware Error]: CPU 0: Machine Check" for various CPU cores, or mentions the L2 cache. If my CPU is failing, why is it only an issue in Linux when Windows works fine? Any help or insights would be greatly appreciated! My setup includes an Asus TUF Gaming laptop with an AMD Ryzen 7 7735HS and NVIDIA 4060. I've also tried downgrading and reinstalling the BIOS, but it hasn't helped.
3 Answers
Are the fans working properly when you're running Linux? Sometimes overheating can lead to crashes, even if the hardware seems fine in other tests.
I suggest checking the logs immediately after a crash for errors or warnings. Use this command: `sudo journalctl -b -1 | grep -i -E "warn|erro|fail"`. Also, keep an eye on your CPU temperature with `watch -n 1 sensors` to see if it’s overheating during use.
Just a heads up, tests on Windows don't mean much for Linux. You might want to dig deeper into logs for errors. Try using 'journalctl' instead of 'dmesg' for checking the logs: `journalctl | grep "error"` or `journalctl -b -1 -r` to review the last boot's errors.
Thanks! I'll check that out and let you know what I find!

Yes, the fans are working normally.