this post was submitted on 05 Aug 2023
32 points (97.1% liked)

Linux

48143 readers
773 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.

all 39 comments
sorted by: hot top controversial new old
[–] ABeeinSpace@lemmy.world 10 points 1 year ago (1 children)

Try to switch to a TTY using Ctrl+Alt and one of the function keys. If you get a text ogin prompt on a black background, that tells us the system is still responsive. If none of the function keys work, we may be dealing with a full freeze

[–] borzthewolf@lemmy.world 5 points 1 year ago (2 children)

Nope, Nada. I've tried every key combo I could think of, which really isn't a lot lol but none responded. I used to be able to break the mouse free with I believe ctl + alt + f1 but couldn't do anything except move it around. Couldn't click on anything and couldn't bring up a terminal via CTL alt t. So idk what's going on smh....I think it could be a multitude of things

[–] ABeeinSpace@lemmy.world 4 points 1 year ago (1 children)

Oooooooof. Okay, let’s start from the basics then. System up to date?

[–] borzthewolf@lemmy.world 3 points 1 year ago (1 children)

Oh yes of course lol. I'm a spazz about updating it. After most changes I make, I do an update

[–] ABeeinSpace@lemmy.world 3 points 1 year ago (1 children)

Fair. Do you still have Windows installed somewhere?

[–] borzthewolf@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (2 children)

Nope, haven't used windows in a decade. I have a ventoy drive with isos though of course.

But actually, I may have just cracked the case! I have a dell xps 13 9310 laptop. The thing only comes with TWO ports and theyre both usb c..... and over the last few years of owning this, these ports have been getting looser, more finicky, and more jacked up. So I believe its some sort of power issue finally catching up.

As a matter of fact, I discovered this right now As I was trying to finaggle the charger into the port, my laptop froze up!!! The cable was plugged in, I got the white light on the front of my laptop, indicating it is charging, although the little charging symbol wasn't showing up by the battery applet in the sys tray! It was then that I realized it was just frozen again lol smh this is too much

[–] ABeeinSpace@lemmy.world 2 points 1 year ago (1 children)

Aha! We’re getting somewhere!

A quick Google shows that OEM kernel 5.6 has been reported to cause some form of freezing issue.

The reason I asked about Windows is because I wanted to rule out a hardware issue. My thinking was if we didn’t see any freezing in Windows, it was a software issue. If we did, it would point to hardware.

[–] borzthewolf@lemmy.world 1 points 1 year ago

Hmm looks like I have kernel 6.1.10 or something? I did hardware scans through some bios tools and it all scanned fine, but I don't know how accurate those are...

[–] ABeeinSpace@lemmy.world 1 points 1 year ago (1 children)

Can you post the output of uname -a?

[–] borzthewolf@lemmy.world 1 points 1 year ago (1 children)

uname -a 75xx 6.1.0-10-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux

Gosh idk if that makes sense I'm taking pics of the output on my laptop with my phone and extracting the text, sorry for the ugly format lol

[–] ABeeinSpace@lemmy.world 1 points 1 year ago (1 children)

Hmm. Not as enlightening as I’d hoped. Did your laptop come with Debian?

[–] borzthewolf@lemmy.world 1 points 1 year ago (1 children)

Oh no, it came with windows initially but I never used it. I've had this laptop for like 3 years I believe?

[–] ABeeinSpace@lemmy.world 2 points 1 year ago (1 children)

The fact that Thunderbolt is involved makes me wonder if it’s something to do with the Linux kernel not liking Intel’s thunderbolt implementation. At this point I’m reaching the limits of my know-how, so I don’t have much more to suggest

[–] borzthewolf@lemmy.world 1 points 1 year ago (1 children)

Hey I don't even own a thunderbolt cable, so I can always disable that in my bios. But I'm wondering, is there a specific log I should be looking at that would most likely give me some input? Idk which logs are for what and definitely don't know how to filter and manipulate the output to find what I'm looking for, but always willing to learn

[–] ABeeinSpace@lemmy.world 1 points 1 year ago

I’m not sure where to find it if there is one

[–] Vilian@lemmy.ca 3 points 1 year ago (1 children)

my pc was freezing some time ago, and after i restart it to unfreeze i run journald -b-1 to see the logs from the last boot

[–] borzthewolf@lemmy.world 1 points 1 year ago

Never looked into that log, I shall give it a shot

[–] RodeoGoat@lemm.ee 4 points 1 year ago (1 children)

Same happened to me. I dropped back to the previous kernel until it was fixed.

[–] borzthewolf@lemmy.world 1 points 1 year ago (1 children)

I need to look into how to do that. So I'm using 12.1, you think downgrading back 12 should work?

[–] RodeoGoat@lemm.ee 4 points 1 year ago (1 children)

When booting it should show the option in the grub screen. *Advanced options for Debian.

[–] borzthewolf@lemmy.world 1 points 1 year ago (1 children)

Yup, like recovery mode? I haven't been able to get it to boot right unfortunately

[–] RodeoGoat@lemm.ee 1 points 1 year ago (1 children)

That should show earlier kernels.

[–] borzthewolf@lemmy.world 1 points 1 year ago

Man so I messed around with journalctl and just showed the past hour and TONS of errors and warnings, here are some pics of things that sound sorta familiar to what in described. There were so many other errors too

journalctl

[–] jetster735180@lemmy.ca 3 points 1 year ago (1 children)

Try booting from the live iso with a USB drive

[–] borzthewolf@lemmy.world 1 points 1 year ago (2 children)
load more comments (2 replies)
[–] kadotux@sopuli.xyz 2 points 1 year ago (1 children)

So you can't switch to TTY with ctrl + alt + f1 (or f2, f3, f4) ?

You could try booting from live usb and check previous dmesg logs (/var/log/dmesg.0 or something, I think)

You could try to narrow the issue by trying to plug in other keyboard or mouse and check if that works.

If not, then probably not a touchpad/keyboard driver issue.

Are the crashes random? Could it be the system crashes when it's going to sleep/wake up after the system is idle?

I'll try to think something else when my hangover passes... :D

[–] borzthewolf@lemmy.world 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?

[–] kadotux@sopuli.xyz 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@lemmy.world 1 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

[–] kadotux@sopuli.xyz 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

[–] tunawasherepoo@iusearchlinux.fyi 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@lemmy.world 1 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)?

[–] borzthewolf@lemmy.world 1 points 1 year ago

Right in the middle of a freeze right now, but the cursor still moves and the sound went muted. I'm pretty sure I saw errors before regarding pipe wire, pulseaudio, and I think another related program