r/linuxquestions • • 8d ago

Resolved Kernel panic on both Mint and Arch distributions, please help

I’m fairly new to Linux, so bear with me if I don’t explain everything correctly.

I recently switched to Linux Mint 22.3 Cinnamon on my Lenovo ThinkPad Yoga 370. Honestly, I had a great experience with it and really enjoyed using Linux. However, after some time, I started experiencing random freezes and kernel panics. They would happen while watching videos, but also during normal desktop usage. At first, I thought it might be related to my HDMI connection or Intel graphics, but the same thing happened even when no external monitor was connected. I tried a few things I found online, but couldn’t figure out what was causing the problem.

Eventually, I decided to switch to Arch Linux, thinking swaping distros would solve my problem.
I downloaded the Arch ISO, flashed it directly onto a usb drive using balenaEtcher, and installed Arch using the official archinstall guided installer.
Unfortunately, the problem followed me to Arch. I’m still experiencing random kernel panics and complete system freezes, sometimes after only a short period of normal use.

My hardware is:
Lenovo ThinkPad Yoga 370
Intel Kaby Lake CPU
Intel HD Graphics 620
8 GB RAM
NVMe SSD
BIOS version 2.50
Secure Boot also is disabled

I’d really appreciate any help or guidance to stay on linux because it has been a good experience so far.

Thanks in advance!

EDIT:
I’ve also tried using GRUB instead of systemd-boot and booting with older kernel versions, but unfortunately, the same freezes and kernel panics kept happening. So far, none of these changes have made any difference.

0 Upvotes

9 comments sorted by

5

u/CyberpathicVulcan 8d ago

Use memtest86 to check your RAM.

1

u/Impressive-Winter-42 8d ago

Ive tried it and it showed 13 failures before crashing down completely and it wont turn on again. At least now i know that its time for a new laptop haha

1

u/GreatBigPig 7d ago

Perhaps yo can just replace the memory. Based on the perceived age of the laptop (8 GB), it may be an older, cheaper memory module swap.

2

u/Dry_Action5905 8d ago

Since it follows you across two distros and different kernels, I'd treat it as hardware/firmware until proven otherwise. memtest is a good first step, but a few other things commonly cause random hard freezes on Kaby Lake ThinkPads:

  1. Get the log from the crashed boot. After a freeze and reboot, run journalctl -b -1 -k -p warning (Arch keeps the journal across reboots by default). If the panic text shows on screen, take a photo of it, the first lines are the useful ones.
  2. NVMe power saving (APST). Some SSDs hang when entering deep power states. Try adding nvme_core.default_ps_max_latency_us=0 to the kernel command line. While you're at it, sudo smartctl -a /dev/nvme0 will show if the SSD is logging media errors.
  3. Intel graphics panel self refresh: add i915.enable_psr=0.
  4. If none of that helps, try intel_idle.max_cstate=1 for a day as a test. If the freezes stop, it's a CPU power state issue.

Change one thing at a time so you know which one actually fixed it.

1

u/Impressive-Winter-42 8d ago

Probably a hardware issue, as i ran the memtest and it showed 13 issues before crashing down completely and i cant turn it on now, time for a new one haha

1

u/absnotkinkyreggae 8d ago

so.... can you show the actual message. is it always the same?

probably a hardware failure.

0

u/Impressive-Winter-42 8d ago

Message is always distorted, even when i have and dont have the external monitor plugged in

1

u/absnotkinkyreggae 8d ago

if you are using a binary driver for your gpu.. remove that first.

setup ssh so that you can connect and do some diagnostics.

if the computer completely locks up....yikes. is this a laptop or desktop? maybe the PSU is bad.

0

u/Impressive-Winter-42 8d ago

Its a laptop and it locked up completely unfortunately haha