What to do if linux mint freezes

Linux Mint Forums

Welcome to the Linux Mint forums!

[SOLVED] What To Do When Mint Crashes / Hangs / Freezes?

[SOLVED] What To Do When Mint Crashes / Hangs / Freezes?

Post by Ow That Hurts » Tue Feb 16, 2016 6:54 pm

EDIT: See Cosmo’s posts below for solution

I am sure this has been asked and answered before, but I am having a stupid moment here, so please bear with me.

What do you do (instead of ctrl-alt-delete) when Linux Mint freezes?

Using 17.3 Cinnamon desktop

I had one «crash» where after logging out (in order to switch users), I came to a mostly black screen with just a blinking cursor in the top left hand corner.

Did not know how to get out of it.

Thanks in advance, and sorry if this has been covered ad nauseum. For some reason, Mr. Google has not been kind to me lately every time I look for an answer.

Re: What To Do When Mint Crashes / Hangs / Freezes?

Post by Old Ruler » Tue Feb 16, 2016 8:37 pm

First thing I’d do is check if I can get a virtual terminal by pressing CTRL+ALT+F1 (or 2,3,4,5,6 can do different things on each one if you want) and log in. Probably just reboot from there. I use ‘shutdown -r now’, but only because I’ve always used that. ‘reboot’ works just as well iiuc.

If I’m interested in why it crashed, I might look in /var/log files for clues, or check if process has gone wild with ‘top’.

Those virtual terminals have been available in every Linux desktop I’ve used, but I haven’t tried them all.

I hardly ever get that sort of trouble, so I’m no expert.

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

[SOLVED] System freezes after suspend (to RAM)

[SOLVED] System freezes after suspend (to RAM)

Post by ParaDice » Fri Feb 28, 2020 4:54 pm

Problem:
Suspending (to RAM) under Linux kernel v5.3 doesn’t work properly. Once I try to wake the system back up, it freezes on me, showing me the Linux Mint logo (which, to my knowledge, should only be there during boot).

What I’ve already tried:

  • a completely fresh install of Mint 19.3. This rules out the possibility that the behaviour was caused by in-place upgrades. Only my /home folder is «old» now.
  • getting into a text terminal via Ctrl + Alt + F1-6: no response, it’s properly frozen.
  • using different graphics drivers (Nouveau and NVIDIA proprietary drivers): I’ve read that running the NVIDIA driver caused problems for some people, so I’ve tried both. The problem occurs with either of those drivers.
  • changing kernels: kernel v 5.0 allows me to suspend without any issues, but since 5.0 is getting close to end of life, using it isn’t an option.
  • using a different machine: my notebook is running kernel 5.3 without any of the problems, so I assume it’s a combination of the hardware in my desktop machine and the kernel that causes the issues.

Logs and info

inxi -Fxz output

Re: System freezes after suspend (to RAM)

Post by gittiest personITW » Fri Feb 28, 2020 8:24 pm

Re: System freezes after suspend (to RAM)

Post by ParaDice » Sat Feb 29, 2020 5:51 am

Re: System freezes after suspend (to RAM)

Post by Satoshi » Mon Mar 16, 2020 1:44 pm

I have the exact same issue.

Re: System freezes after suspend (to RAM)

Post by ParaDice » Tue Mar 17, 2020 3:25 am

It’s the solution that worked for me.

I’ll be changing some of the hardware soon, though. The new specs will include a Ryzen 3000 CPU, which to my knowledge isn’t supported by kernel 4.15. Hence I’ll have to test the newer kernel families and see how that turns out. I’ll report back here once I’ve made the switch.

Re: System freezes after suspend (to RAM)

Post by ParaDice » Sat Mar 21, 2020 3:31 pm

Re: System freezes after suspend (to RAM)

Post by gittiest personITW » Sat Mar 21, 2020 3:55 pm

Don’t get what the problem is.

If it works in 4.15 then fine. In fact better than fine as it has LongTerm Support.
Otherwise if you want to delve, you’d better don a wizard gown and start at Level 0 kernel development.

Читайте также:  Элементы рабочего стола системы astra linux

Re: System freezes after suspend (to RAM)

Post by ParaDice » Sat Mar 21, 2020 4:44 pm

Re: System freezes after suspend (to RAM)

Post by demonsp » Sun Mar 22, 2020 6:17 am

Re: System freezes after suspend (to RAM)

Post by demonsp » Sun Mar 22, 2020 9:31 am

Re: System freezes after suspend (to RAM)

Post by ParaDice » Mon Mar 23, 2020 4:07 am

Re: System freezes after suspend (to RAM)

Post by JackZelig » Thu Apr 02, 2020 3:47 am

Does it stay frozen?
I found a bug report of someone experiencing a long hang on resume with newer kernels (5.3 series). They were able to work around this by blacklisting the ucsi_ccg module.

Here’s a thread on Ask Ubuntu explaining how to do that.

From that thread:

My steps to fix.

  • Ran «ls /etc/modprobe.d» and found a catchall blacklist.conf file that looked like it might be a good spot to add my new blacklist line.
  • Ran «sudo nano /etc/modprobe.d/blacklist.conf» and add a line «blacklist ucsi_ccg» to the bottom of the file. Save file and exit nano.
  • Reboot, then suspend my machine to test the fix. When I open the lid, the machine immediately starts back up with no errors.

I’m not sure if that’ll help, but it might be worth a try.

Re: System freezes after suspend (to RAM)

Post by ParaDice » Thu Apr 02, 2020 4:42 am

Hey, that does sound like it’s worth trying out! Thanks for sharing!

Unfortunately, I can’t try your suggested solution because the problem was resolved during my most recent hardware changes. I moved all the components to a new case. In doing so, I had to move the CPU to a different mainboard due to form factor restrictions. I also did a complete OS reinstall (including the creation of a new user and /home folder). I’m not exactly sure which of these changes is responsible for making things work now. I have a hunch that it’s the new mainboard that plays along better with the kernel module you mentioned. However, I have no way of checking without going back to the old mainboard, and for the moment I’m following the philosophy: «If it just works, don’t touch it!»

Nevertheless, my experience is consistent with what another user has reported here. He had the same issue and saw the problem resolved when he switched to a new mainboard (+ CPU, in his case). Of course, having to buy new hardware shouldn’t be the suggested solution to resolve software problems. However, it shows that the problem lies somewhere in the communication between the kernel and the mainboard. Anyone experiencing similar problems should definitely try out your solution first before running out and buying a new mainboard. I’ll leave this thread marked as unsolved for the moment.

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

[SOLVED] Linux Mint keeps freezing

[SOLVED] Linux Mint keeps freezing

Post by 37712 » Wed Oct 28, 2020 5:27 pm

I have Linux Mint 19.3 tricia cinnamon, the operating system keeps freezing out of the blue for no reason what so ever, at random times, I cant figure out what is causing this please help, most times when it freezes it does not even create a crash report. I have added a link to the a zip file that contains all of my most recent log and crash reports. please help help I do not want to have to reinstall everything again.
https://mega.nz/file/15wzxayC#dpMD5srfH . JiBUo2T06Y

Thank you for your time and your help.

Re: Linux Mint keeps freezing

Post by SMG » Wed Oct 28, 2020 6:04 pm

Re: Linux Mint keeps freezing

Post by 37712 » Wed Oct 28, 2020 6:28 pm

Re: Linux Mint keeps freezing

Post by Petermint » Wed Oct 28, 2020 7:08 pm

syslog is a good start and I find lots of crashes with no log entries. Linux tends to keep everything running during resource shortages then stop/lockup/crash when resources run out. If there is nothing obvious in syslog, look in the System Monitor reports after a clean boot to see what your working system looks like then look again after applications have a chance to hog memory. You might see a trend.

Faulty applications cause crashes by not freeing up memory. You can watch System Monitor when using applications to find ones, like Simplescan, that have to be occasionally stopped then started to free up memory.

Crashes can be the Linux kernel not supporting new hardware. Given that you have 19.3, an upgrade to 20 might help. I found 20 helped with some lockups around using external monitors. For machines 10 years old, the reverse happens, you can get problems with the Linux kernel no longer supporting old hardware.

Things overheating causes crashes. The status you provide has reasonable temps. Do you have the same temps after a heavy workload? The solution is often to clean out the fans.

Re: Linux Mint keeps freezing

Post by 37712 » Wed Oct 28, 2020 7:19 pm

I have been thinking of upgrading to Linux mint 20 but I am worried that my Linux games might stop working if I update to LM20. I have a lot of Linux games. one thing that I have noticed was that the random freezes have only happened when I have a browser open. I used to have brave browser and because of the freezes I uninstalled and went to pale-moon but in all honestly I really don’t know what is causing the OS to freeze. the only thing that I have noticed is that it has only happened when I have had either brave or pale-moon running, I got a freeze a few days ago and the pale-moon browser was the only thing I had running. I have yet to experience a crash/freeze when I am playing a video game.

Читайте также:  Медиаплеер для windows media player

also this is a gamin computer, I have 16 cores, nice and low temps, powerful graphics card with 8gb of dedicated ram and 16 gb of ram with 4tb of hdd, I really don’t think it is an issue with system resources not being sufficient.

Re: Linux Mint keeps freezing

Post by SMG » Wed Oct 28, 2020 7:24 pm

I have Linux Mint 19.3 tricia cinnamon, the operating system keeps freezing out of the blue for no reason what so ever, at random times, I cant figure out what is causing this please help, most times when it freezes it does not even create a crash report. I have added a link to the a zip file that contains all of my most recent log and crash reports. please help help I do not want to have to reinstall everything again.
https://mega.nz/file/15wzxayC#dpMD5srfH . JiBUo2T06Y

Thank you for your time and your help.

Just because the system freezes does not mean the system crashed. A freeze could happen because two different processes are conflicting with each other.

In the zip you have:
1) a part of a core dump from 10-21 on RSG-Linux-Shipp

Re: Linux Mint keeps freezing

Post by 37712 » Wed Oct 28, 2020 8:17 pm

@ SMG
I do have one of those mini Bluetooth to USB adapters it is from TP-link, not Logitech, the only Logitech USB device that I have is a mouse and yes, sometimes it does act a little weird.
do you think the is the reason why I am having problems has to do with the TP-link USB Bluetooth receiver or the Logitech mouse?
here is the link to the TP-link USB Bluetooth receiver
https://www.tp-link.com/us/home-network . ter/ub400/
here is the link to the Logitech mouse
https://www.logitechg.com/en-gb/product . 04068.html

I have never heard of USB port software tweaks? how do you even do that on linux?

Re: Linux Mint keeps freezing

Post by SMG » Wed Oct 28, 2020 8:58 pm

@ SMG
I do have one of those mini Bluetooth to USB adapters it is from TP-link, not Logitech, the only Logitech USB device that I have is a mouse and yes, sometimes it does act a little weird.
do you think the is the reason why I am having problems has to do with the TP-link USB Bluetooth receiver or the Logitech mouse?

There were a number of what seems to be usb devices mentioned in the log parts you posted. I do not know what all of them are, but there are also multiple mentions of bluetooth which is what made me think of the mice/keyboard connections. If devices sometimes act weird, then checking to make sure you have the latest drivers for those devices and for the ports into which they connect would be something to consider as you troubleshoot this.

I did see where you mentioned you noticed freeze issues might be related to browsers. You might want to look at any hardware acceleration settings in the browsers and see if turning them off might help. I know that can sometimes be an issue with Nvidia drivers, but I do not know if that is also something seen by those using AMD graphics.

Re: Linux Mint keeps freezing

Post by 37712 » Wed Oct 28, 2020 9:29 pm

Re: Linux Mint keeps freezing

Post by 37712 » Mon Nov 02, 2020 10:56 pm

Re: Linux Mint keeps freezing

Post by Kadaitcha Man » Mon Nov 02, 2020 11:48 pm

That appears to be common to every report you’ve posted so far. I recommend that you have a solid backup of your important files. Next, install smartmontools and use it to check the SMART values of your drives.

To check regularly for errors in a terminal, use dmesg —level=err . You should do this at regular intervals to see if errors are being recorded in the logs prior to the crash or freeze.

Re: Linux Mint keeps freezing

Post by SMG » Tue Nov 03, 2020 10:51 am

Where is the crash? This «log» has time stamps spanning at least 11 hours.

The computer «freezing» while you are browsing the web is not a «crash» unless you powered it off manually in which case you caused it to crash. At what time did the «freeze» occur? How long did you wait for it to «unfreeze»?

Re: Linux Mint keeps freezing

Post by 37712 » Tue Nov 03, 2020 8:11 pm

I was browsing the web, had about 5 tabs open, I had no other programs open, the computer froze when I opened google maps in a new tab, cant move mouse pointer, and Ctrl + Alt + BackSpace or any other kill/stop keyboard command does not do anything. According to the log program the crash occurred on Nov 02 19:39 (7:39 pm) I waited at least 20 seconds before force reboot. there was no crash report generated in the system report program after I restarted the computer that day, but I checked again today and there is now a crash report and it says it was generated on Nov 02 20:33, apparently it takes about 1 hour for the report to be generated after the crash, here it is:

crash report 11-02-2020
(the report is to long to post it all so here is the link: https://mega.nz/file/55AEWJzY#sRciczjCw . zVRwL7GfHU)

Re: Linux Mint keeps freezing

Post by 37712 » Tue Nov 03, 2020 8:17 pm

That appears to be common to every report you’ve posted so far. I recommend that you have a solid backup of your important files. Next, install smartmontools and use it to check the SMART values of your drives.

Читайте также:  Windows установился с ошибками

To check regularly for errors in a terminal, use dmesg —level=err . You should do this at regular intervals to see if errors are being recorded in the logs prior to the crash or freeze.

Re: Linux Mint keeps freezing

Post by SMG » Tue Nov 03, 2020 8:44 pm

I was browsing the web, had about 5 tabs open, I had no other programs open, the computer froze when I opened google maps in a new tab, cant move mouse pointer, and Ctrl + Alt + BackSpace or any other kill/stop keyboard command does not do anything. According to the log program the crash occurred on Nov 02 19:39 (7:39 pm) I waited at least 20 seconds before force reboot. there was no crash report generated in the system report program after I restarted the computer that day, but I checked again today and there is now a crash report and it says it was generated on Nov 02 20:33, apparently it takes about 1 hour for the report to be generated after the crash, here it is:

crash report 11-02-2020
(the report is to long to post it all so here is the link: https://mega.nz/file/55AEWJzY#sRciczjCw . zVRwL7GfHU)

You think it takes the computer an hour to generate a crash report yet you only waited 20 seconds before hitting the power button? If your computer is really that slow then you should be waiting longer than 20 seconds.

I have not seen where you supplied any information to indicate a crash happened at 19:39. Nothing in your prior post has that timestamp (or anything close to it given you only waited 20 seconds), and the file you attached is timestamped for nearly an hour later at 20:33.

It does not take the computer an hour to generate a «crash report». The «crash report» you posted was Palemoon segfaulting. The same event (with a different time stamp) that you posted earlier in the thread. I think you should take a look at that browser and what add-ons you may have in it because it seems to be causing quite a few problems for you.

Re: Linux Mint keeps freezing

Post by Kadaitcha Man » Tue Nov 03, 2020 9:25 pm

Of course. How silly of me. That absolutely never happens in the real world. What was I thinking. I must’ve been off with the faeries to offer logical steps in the troubleshooting process. Your personal feelings and inability to solve the problem yourself trump my many years of experience in problem solving, which involves eliminating components from the equation, where eliminate means ‘remove completely’. It doesn’t mean ‘rely on my wild guesses’ or ‘rely on my wild, unfounded, unchecked assumptions.»

Re: Linux Mint keeps freezing

Post by 37712 » Wed Nov 04, 2020 2:13 am

Of course. How silly of me. That absolutely never happens in the real world. What was I thinking. I must’ve been off with the faeries to offer logical steps in the troubleshooting process. Your personal feelings and inability to solve the problem yourself trump my many years of experience in problem solving, which involves eliminating components from the equation, where eliminate means ‘remove completely’. It doesn’t mean ‘rely on my wild guesses’ or ‘rely on my wild, unfounded, unchecked assumptions.»

Re: Linux Mint keeps freezing

Post by 37712 » Wed Nov 04, 2020 2:47 am

You think it takes the computer an hour to generate a crash report yet you only waited 20 seconds before hitting the power button? If your computer is really that slow then you should be waiting longer than 20 seconds.

I have not seen where you supplied any information to indicate a crash happened at 19:39. Nothing in your prior post has that timestamp (or anything close to it given you only waited 20 seconds), and the file you attached is timestamped for nearly an hour later at 20:33.

It does not take the computer an hour to generate a «crash report». The «crash report» you posted was Palemoon segfaulting. The same event (with a different time stamp) that you posted earlier in the thread. I think you should take a look at that browser and what add-ons you may have in it because it seems to be causing quite a few problems for you.

I don’t know how long it should take a computer to generate a crash report. my computer is not slow it is very fast and responsive it does not slow down, it just freezes up all of a sudden without warning. I will wait longer than 20 seconds next time, not sure how long I should wait.

I remember that the computer froze at 19:39 (7:39pm) I also see that nothing in my log shows that time stamp but that is when it froze, the only evidence that I can present regarding this is the picture of the log
https://mega.nz/file/JgoA2YSa#uZsCTddRD . 0Vih3o2_jo

Today the computer froze again, while I was browsing, no crash report was generated, only log, here is the picture and a link to the log contents, the computer froze at 21:35 (9:35pm).
https://mega.nz/file/Fgh21Cwa#Cqjdi1Ymw . ydkaNTPqVU as you can see there are no new crash reports for today Nov 03
https://mega.nz/file/985U1axD#4ioVGdEQY . 57zliuhCRY

I have decided to uninstall the pale moon browser and just use the Firefox browser that is provided by default and see how that goes.
question, why is it that pulseaudio always fails when ever I start my computer, do I need it, can I uninstall it?

Источник

Оцените статью