this post was submitted on 05 Aug 2023
38 points (93.2% liked)

Linux

47307 readers
623 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Its the strangest thing, as it just started recently. I'm honestly not sure if it freezes or my touchpad somehow gets disabled. I'm wondering that because most of the time it happens, my dell xps laptop isn't under any sort of heavy load. Its strange. Idk know where to start or what commands would help you guys help me?

I've spent hours before trying to make sense of logs lol but I just don't quite understand the info. Its gotta be some sort of conflicting software or something. I'm always trying new things, so I take full blame for this issue most likely lol. Any help is appreciated, thanks.

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

Uhmm for the most part its random. It was much less frequent the other day but not it's happening more and more. And yup, tried all the CTL alt f1-all of them lol like I'm aware logs will probably give the best insight but I don't know much about which log and what it all means plus they're long as fuck. Maybe I should look into log analyzers?

[–] [email protected] 3 points 1 year ago (1 children)

The dmesg logs show boot logs also from previous boots. It has timestamps. After a system freeze, try to reboot and issue sudo dmesg -T and look for the timestamp near the time of crash, is there anything suspicious?

[–] borzthewolf 2 points 1 year ago (1 children)

Ahh so dmesg pretty much only collects info regarding kernel crashes or whatever? Do they usually retain stuff from the prior day or two? I haven't used my laptop much today, so no new crashes

[–] [email protected] 1 points 1 year ago

Yes dmesg prints out kernel messages and it resets every boot. So any driver crashes etc should be there. https://superuser.com/questions/565927/differences-in-var-log-syslog-dmesg-messages-log-files

[–] [email protected] 2 points 1 year ago (1 children)

Just throwing another suggestion to look for, maybe check your RAM usage? When I was first trying Linux i was using a persistent live iso, and it would randomly lock up like you describe. Just about the only functionality I had was to REISUB lol. It turned out my OOM services weren't closing programs until it was too late ... or maybe it was trying to put memory into swap space that didn't exist. Who knows. Try opening firefox a bunch of times and maybe see what happens

This type of thing shouldn't happen with a normal setup though.

I hope you can figure it out :)

[–] borzthewolf 2 points 1 year ago

Thanks a lot. I have a few assumptions just based off what little I could interpret from the logs.... When I check htop for CPU and ram usage, nothing really stands out as abnormal. Of course whichever browser I'm using is always the most ram hungry program. Now if I just did a reinstall of Debian 12, should that hypothetically fix the issue if it is an OS problem (which I believe it may be)?