this post was submitted on 03 Jun 2024
16 points (94.4% liked)

Debian operating system

2708 readers
1 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS
 

My system seems to crash from time to time. I still don't know what causes it.

If I leave it untouched for a few hours, sometimes, it crashes.

To resume, I have to force a reboot by unplugging the power cable (not even pressing the power button for N seconds seems to work).

Then, it seems to work just fine (after displaying some error messages about lost or orphaned inodes at boot). Until, one day, it happens again. When? I never know. It seems to follow some strange and unpredictable pattern.

Where should I start investigating?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 5 months ago (2 children)

It would be worth looking through your journal. There is usually some amount of logging even in the event of a hardware issue. See journalctl.

As others suggest, does sound related to sleep / suspend. If that is the case, you could have a problem like I did where my motherboard BIOS incorrectly reports usb capabilities which results in an immediate resume from sleep. That abrupt change causes the amdgpu driver to crash, and the system hangs soon after. My workaround is to disable features on the offending usb host controller.

[–] [email protected] 1 points 5 months ago (1 children)

I'll have to take a look at that. But OMG!

lines 1-46/1743603 0%

How many pages are 1743603 of lines? An entire bookshelf?

Besides, I have no idea what all that means!... I guess I'll just have to sit, one day, or month, and go through it all...

[–] [email protected] 3 points 5 months ago

Journalctl has a bunch of filter options that you should take advantage of when troubleshooting. For example, journalctl -b -1 will show you only the messages from the last boot (not the current). I used this article for a quick couple of need to know commands. Enjoy! :D

https://www.loggly.com/ultimate-guide/using-journalctl/