Mint OS freezes when I poweroff [Kernel Panic]

Did this pc get a new hdd/ssd recently ?

Any hardware changes at all ?
No hardware changes since I bought this . One more thing whenever I keep this turned on for longer period of time ( lets say I didn't shut down it for 2days or more) , there are more chances of freezing , I noticed this pattern .
 
Last edited:


We could go around in circles for quite some time.

The only suggestion that has not been made is to reinstall.

You would have to ask yourself if the fre
I don't know when I upgraded my kernel.
Just a thought....a kernel up date from 5.4 to 5.11 is not an event easily forgotten....it would have taken a deliberate action to bring this about. Does anyone else use this pc?

Personally I would reinstall.
 
Pt
We could go around in circles for quite some time.

The only suggestion that has not been made is to reinstall.

You would have to ask yourself if the fre

Just a thought....a kernel up date from 5.4 to 5.11 is not an event easily forgotten....it would have taken a deliberate action to bring this about. Does anyone else use this pc?

Personally I would reinstall.
I've boot drive of this , I can reinstall . But I am afraid, I will lose my all data. Can I resinstall without losing my data ?
 
If you are afraid of losing data, you should have a backup
 
You can copy and paste or drag and drop your data to an external hard drive. it is the quickest method to make a backup.
 
Does it always freeze when you are doing the same thing? or randomly?
Have you run a ram test?
 
If you are afraid of losing data, you should have a backup
I tried everything, reinstalled my Operating System, it worked fine for a day. Today it again froze with the same error message while shutdown :(.
What I did just before freeze :
I was running some recursive code in VS Code , and I think there was stackoverflow so my PC became unresponsive for few mins. After 3-4 minutes it again started working, but still it was not running smoothly. So I thought to reboot it once . And while rebooting it froze :(
 
Last edited:
Did you try @Lord Boltar's suggestion ....just above yours ?
 
Did you try @Lord Boltar's suggestion ....just above yours ?
Before Mint OS I used to use Ubuntu Operating system, and that too has some booting problem. Sometime that freezes while Poweron and sometimes while poweroff . So I searched for the stable Linux distro , and found Mint is the one. But this one is also not working well. Should I move to some other OS ?
 
Linux is part of the ubuntu operating systems......So if you try another system it might be an idea to try something different...something that is not a part of the Ubuntu/Linux stable.

Suggestions from @Lord Boltar and @kc1di, and @f33dm3bits , @brickwizard, @wizardfromoz, @Fanboi ,

The fact that I have listed them in this manner means they will be alerted to this topic.
 
You can try this in a terminal.
Code:
xed admin:///etc/systemd/system.conf.d/50_linuxmint.conf
It will ask for your password maybe twice.
Once in the file look for the line that looks like this:
Code:
DefaultTimeoutStopSec=10s
change that to look like this:
Code:
DefaultTimeoutStopSec=90s
save the file then reboot and then try shutdown again. see if the kernel panic goes away?
 
You can try this in a terminal.
Code:
xed admin:///etc/systemd/system.conf.d/50_linuxmint.conf
It will ask for your password maybe twice.
Once in the file look for the line that looks like this:
Code:
DefaultTimeoutStopSec=10s
change that to look like this:
Code:
DefaultTimeoutStopSec=90s
save the file then reboot and then try shutdown again. see if the kernel panic goes away?
I ran the command , and changed
Code:
DefaultTimeoutStopSec=10s
to
Code:
DefaultTimeoutStopSec=90s

and rebooted the system. It got reboot normally . It freezes with kernel panic message randomly randomly (not on every shutdown or reboot) . So let's see if it works . Thank you so much :)
 
After you made the change from 10s to 90s....did you SAVE that file successfully ?
 
@Condobloke thanks for the mention, but up to now I haven't commented on this one. but I will now
Reading through everything that has been tried by our software specialist and being a hardware man, I suspect an incompatibility problem... My first instinct would be scavenge and save all necessary files from the Harddrive, and try another unrelated distribution, as this appears to be a fairly modern bit of kit and a lot of distro's don't seem to have the right drivers My first choice to try would be MX-19.4.1_x64 “ahs”,

Bwiz
 
@Condobloke thanks for the mention, but up to now I haven't commented on this one. but I will now
Reading through everything that has been tried by our software specialist and being a hardware man, I suspect an incompatibility problem... My first instinct would be scavenge and save all necessary files from the Harddrive, and try another unrelated distribution, as this appears to be a fairly modern bit of kit and a lot of distro's don't seem to have the right drivers My first choice to try would be MX-19.4.1_x64 “ahs”,

Bwiz

try another unrelated distribution
I just checked Mint and Ubuntu both are Debian based operating system. If it's a compatibility issue, should I try the OS which is not Debian based ?
 


Top