Peppermint | Linux OS Community Forum
 
It is currently Tue Jun 18, 2019 12:51 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Random Freezup issues
PostPosted: Wed Aug 21, 2013 6:33 pm 
Offline

Joined: Sun Aug 18, 2013 3:28 pm
Posts: 23
Ok so I didn't think anything of it at first because my computer did it sometimes when equipped with windows, however now it's beginning to irritate me.

Every so often my computer will completely and totally freeze up in the middle of something and force me to crash it in order to start it over, It has sat for an entire day without unfreezing. I would like to know if there's something I can do either when it's frozen to shut it down safely, or to prevent it freezing at all.


Top
 Profile  
 
 

 Post subject: Re: Random Freezup issues
PostPosted: Wed Aug 21, 2013 7:27 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Rebooting/Shutting Down a *nix operating system safely.

This *should* work in ALL cases except a kernel panic (or obviously a keyboard failure), in which case you have no option other than to use the power switch
( a kernel panic is "usually*, but not always, signified by alternately flashing keyboard lights)

Hit and hold Alt+SysRq .. now whilst holding them, type R E I S U B leaving a few seconds between each keystroke (preferably till hard drive activity stops).

=========================================================

REISUB is an old Unix keyboard sequence to reboot a frozen system without screwing up the file system.
(REISUO powers OFF the PC rather than rebooting)

In case you're interested, the REISUB keystrokes are actually sending commands to the core linux kernel. This is what it's doing:-

R = Take control of the keyboard.
E = Tell all running programs except from the master control system to terminate.
I = Forceably kill any programs which didn't shut down from the last command
S = Force any unwritten, cached data to be written to the hard-drives .. Some files, when they're written to your hard-drive are cached in RAM (which is wiped when it looses power), in order to speed things up. This command makes sure they're all written to the hard drive from RAM.
U = Remount the drives read-only, makes sure nothing can write to your hard-drive(s)
B = Restart the system.
or
O = Power OFF the system.

REISUB can be remembered with "Restart Even If System Utterly Broken" .. you'll have to remember the O yourself ;)

Remenber to leave a few seconds between keystrokes, for the commands to do their thing.

Hints -

Some laptops require AltGr+SysRq instead of Alt+SysRq

SysRq on most PC's ia the same key as PrtSc (print screen)

======================================================

As for what's causing the freeze, it could be a lot of things .. chief of which could probably be lack of room on the HDD, swap overuse due to lack of RAM, failing HDD/SSD, memory errors.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Random Freezup issues
PostPosted: Thu Aug 22, 2013 9:46 am 
Offline

Joined: Sun Aug 18, 2013 3:28 pm
Posts: 23
whats AltGr?


Top
 Profile  
 
 Post subject: Re: Random Freezup issues
PostPosted: Thu Aug 22, 2013 12:16 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Usually the RIGHT Alt key.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Random Freezup issues
PostPosted: Fri Aug 23, 2013 11:56 am 
Offline

Joined: Sun Aug 18, 2013 3:28 pm
Posts: 23
ok so right alt then print screen and then that sequence.

But what if it's not that thing, cuz when my computer freezes it usually just stops responding entirely, the keyboard mouse, all of it.


Top
 Profile  
 
 Post subject: Re: Random Freezup issues
PostPosted: Fri Aug 23, 2013 1:34 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
As I said .. it won't work in a kernel panic .. but *should* work in all other cases, as the kernel gives priority to those keystrokes.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL