[TRACKING] Linux freezing on multiple distros

Did some testing today. Drive firmware did not solve the freezing issue on linux.
Ended up updating the bios to 3.07 and am so far a few of use on Fedora with no freezes. So far so good.

Quick followup.
I saw further issues with freezing on windows and linux. I decided to get a replacement sn850. This did the trick and i’ve been running stable on fedora since then with no hiccups.

3 Likes

I just got a Framework and have been having the exact same issue on Fedora 35. Random lock ups (within 15-20 min of use) where everything freezes and then the machine reboots. Otherwise, all hardware seems to be working fine. My laptop already came with bios 3.07.
@Popbear Thanks for your posts and updates. This gives me hope that it’s just a faulty ssd. I should have just bought my own ssd. Here’s hoping their support comes through

@mussa Did you solve your issue? I’ve got the same behavior and cannot pinpoint the problem. Kernel logs do not show anything as far as I’m aware. I’ve also got a SN850.

@43c No, their support stopped responding to me so I initiated an RMA and returned it. They told me they hadn’t received my last email which is either BS to save face, or they have an issue with their email server, as I have read on here that someone else had the same issue. I really wanted to like it but this issue made is unusable.
Anyways sorry for the rant. Your best bet is to get a hold of another nvme and test it out with that one. Otherwise, they will have you do a gazillion inspections and tests which can take weeks.

@mussa That sucks.

I’ve ordered a Samsung 980 Pro for testing. Freezing on Linux seems to be an issue with WD NVMEs. There are at least a few other reports and articles around like this one: WD NVME SSD Freezing on Linux Esc.sh

After a second look at the kernel logs while running a load, I’ve noticed that there are indeed NVME related warnings and errors:

I will take the time this weekend and do some testing. Maybe also test with a windows installation.

@43c I wish I had known that before returning it. Keep us posted about your results! Good luck

No issues with freezing on SK hynix P31 on Fedora 35 or Arch.

The new disk arrived and I had some time to reinstall the machine and do some testing. I think the WD SN850 was causing the issue since all NVME related errors and warnings are now gone from the kernel logs with the Samsung 980 Pro installed.

I did not have stability problems so far. I could previously reproduce a freeze consistently by stress testing. Now it seems to run smoothly.

Let’s see if this change is constant. I’ll use the machine for work this week and will see if things are stable.

After a week of work the system seems stable. Looks like the WD SN850 has indeed issues and can’t be recommended for use with Linux. I’ve actually put it into my Windows desktop and ran WD’s diagnostic tool, which of cause, did not find any problems with the drive. Another plus for the Samsung is that I can use the built in encryption instead of LUKS which gives slightly better performance, though still below of what you’d expect when using no encryption at all.

1 Like

I have the same issue occurring, and this is the first thread that actually looks like it identified the issue. Thank you 43c! I’ll test another hard drive. @Framework support would do well to check this out.

@T_RRR sure thing! I’ve actually contacted Framework support about the issue and pointed out that it might be something that a larger amount of customers are facing. Let’s see what they make of it.

Been having this random freezing issue since the dawn of days (of this frame.work). Also have an SN850 installed.

@43c how did you diagnose that problem?

@Framework anything from your end?

@Michael_Siebert
Open a terminal and monitor kernel logs while running a disk heavy load (using KDiskBench/stress or similar tools). After a while nvme related errors (previous post) start to appear and finally the system freezes. It sometimes takes 2-3 hours until the freeze, sometimes less.

You can monitor kernel logs with

sudo journalctl -k -p4 -f

-k : show only kernel logs
-p4 : severity (show errors and warnings only)
-f : follow log stream (print new logs)

If you just experienced a freeze on your last boot, you can display the logs for your last boot with

sudo journalctl -k -p4 -b-1

That is assuming your distro uses systemd.

I did the same tests with a Samsung 980 Pro and did not experience any freezes. The system runs solid since I replaced my WD. This seems to be a firmware issue that is affecting Linux in particular and is only present on some drives. Different parts used by WD depending on availability maybe? This is quite common with flash based storage.

I put the WD drive into my Windows desktop and also ran WD’s diagnosis software. It did not detect any issues whatsoever. The drive also has the latest firmware available.

On Windows it does not cause any problems for me, though I did not test windows on the framework in combination with the WD SN850 so take this with a grain of salt.

1 Like

I’ve been using the SN850 1TB for a little over 6 weeks on the Framework now without any issues. FWIW I am using Slackware Linux (tried Windows 11 dual boot for a week too without issues), please let me know if there is anything that I can do to test/reproduce that might be of help.

So I wasn’t seeing anything disk-related in my journal so far, also during / after crashes. So I do not think at the moment that my specific problem is the SSD.

But: I’m running without a crash now for almost 2 days! A colleague of mine asked me whether it might be Bluetooth, so I’m running with a tooooooo short headset cable right now :slight_smile: and a Logi Unifying Receiver for my mouse, with deactivated Bluetooth.
If that’s what it takes, I’ll need a longer headset cable.

I’ve been using Bose QC35 and MX Master 3 via BT.

Let’s see how this goes.

2 Likes

@Michael_Siebert – any updates?

Yeah, looks like it is Bluetooth related - if I turn off Bluetooth, use headset via cable and mouse via Logitech Adapter: no crashes.

Next I’ll try to verify whether it’s bt audio or HID or just “presence”, but I’m on vacation right now, so no work laptop.

1 Like

Interesting my thinkpad e590 kept freezing after update to ubuntu 22.04.
And I had aswell blutooth just turning off!
Now I have updated the bios 3 days ago and no freez and no bluetooth off.

My freez where the dektop like a picture nothing happening at all. Needed to reset with hard reboot.

@Iann_C which bios version are you running? I run 3.07, with those issues