Good time of the day, Community.
Wanted to ask for some advice on such a topic - for several years I have been facing an issue with laptops going to full deadlock with not even the cursor moving.
I would cross out a specific distro (in terms of laptops… currently it occurred only with Ubuntu… and recently Fedora).
Same goes for a specific laptop model. I think this would be my 3rd laptop have such issues.
One thing I would outline though (and more detail on the question of WHY I made a pointer on that specific thing) is that the system has only one memory drive, and that is an SSD.
My linux knowledge isn’t yet there to know how to read journals for errors. But the last times I’ve looked (with Google’s help) I didn’t find any record that would lead me to a cause.
On wednesday, 3 days ago, I decided to move to Fedora 37 Workstation. I was moving from Ubuntu 22 LTS (an update from 20 LTS). That one, in origin, also had this problem, but it seemed to have “went away” at some time point after I added a file based swapfile (but I remember it happening after that 1 time… but not at the previous ratio of “at least once a week”).
I can’t really attach it to a specific action. Today it happened while I had a few apps opened (Intellij, vpn, postman, sublime, dbeaver, firefox… and a docker service running). I opened a new app, and at that moment a Firefox notification, originated by Google Calendar appeared.
I have a gnome top bar plugin, which shows CPU, Memory and Network load. The CPU was at 0.6, memory at 74% and Network at idle.
Before that, on wednesday I think I had a handful of similar freezes. If to think of it, they may be related to “application opening”. But on Ubuntu I do remember it sometime dying on me when I was trying to unlock my desktop from login screen.
I can tell that all systems (even Fedora) is installed on ext4 with separate /boot, /boot/efi partitions.
My current laptop is Asus Vivobook X512J
Now for the SSD part.
In my history, I think every SSD, which I owned (Kingston, WD), had a filesystem problem.
This started off with my first “good hardware” build done back in the days of i7-7700k. I bought my first SSD then. I didn’t cheap out and bought Kingston, thinking that it had decent quality.
That build had one problem - I mislooked that my mobo arrived with bent pins (and since I didn’t see it at once… I couldn’t return the mobo… or buy a new one. First job and yata-yata).
But the problem was 100% the same. I turned on the PC, when I came from work. Launched browser, music and a korean mmorpg I was playing at that time (which, as turned out later, had a rock fall of temp files being constantly written to the drive). The drive hosted both the OS and games.
At some point I bought a new mobo. But the problem remained. At some point I thought that the pins damaged the CPU. Later on I bought a new CPU… but the problem remained.
… several #$@#!# later …
After replacing absolutely everything beside the ssd (ssd’s don’t fail, don’t be silly!!!) and the case, I thought I was cursed and literally had zero ideas until a friend of mine said “hm, have you tried the ssd?”.
And, of course, it was the SSD. I even managed to reproduce the issue with removing 1 random stick of ram, loading it up to 100% (that game + chrome did well with that problem), after which opening a few more tabs just so that would go to pagefile. Few clicks and “BINGO”.
I consulted with Kingston and they said it was a filesystem problem. A zero format of the whole thing did the trick. After that I believe I did it once after a few years and by this day my OS is on that drive.
But then I bought a 1TB WD SSD (with 2 M.2 drives in the system… and they work like a charm), which was 2018sh. It didn’t even take me a day to say “AHA!” after installing that drive and getting a 100% familiar freeze. And a zero format solved the issue once again
(I believe I even advices this solution to people with similar problems and every time got a “Solved it!”).
So today I once more, after once more witnessing this problem with my laptop, I recalled “that thing with SSDs”.
Thank you in advance for any advice.
P.S. I will consider doing a zero format for the whole drive (maybe even going btrfs), but this is my daily working system. Plus it’s fully configured and polished and it pains me to do a reinstall…