LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-09-2007, 03:49 PM   #1
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Rep: Reputation: 18
computer freezes up


Hi-

my pc freezes up when i am in linux. it gets so bad
i can't even get to a terminal to kill a process.

i read something very recently where another user said
in linux to never hit the power switch on your pc.
i admit i may have done that. i know to use kill and
top now. i just may have been a little impatient.

is it worse to push the on/off switch in linux?
could that be why?

i will reinstall this weekend.

i am enjoying linux. the new SUSE book is really good.
pan newsreader and evolution are cool.

thanks,
jim
 
Old 03-09-2007, 06:02 PM   #2
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by mtdew3q
Hi-

my pc freezes up when i am in linux. it gets so bad
i can't even get to a terminal to kill a process.

i read something very recently where another user said
in linux to never hit the power switch on your pc.
i admit i may have done that. i know to use kill and
top now. i just may have been a little impatient.

is it worse to push the on/off switch in linux?
could that be why?

i will reinstall this weekend.

i am enjoying linux. the new SUSE book is really good.
pan newsreader and evolution are cool.

thanks,
jim
Hi Jim,
You should ensure you shutdown properly in both windows and Linux, otherwise certain files (generally system level ones) may not be fully written and synced, and drives may be left in a "dirty" unsynchronised state compared with information cache in memory. Short answer - unless your power management setup allows linux (or windows) to handle the power button then don't use that, and definitely don't turn off via a rocker switch. Use the computer shutdown options.

Now as for freezing, do you know if you can get to a Virtual Terminal? X can freeze up, but there are other ways with linux even if the GUI has completely given up the ghost. Ctrl-alt-f1 should give you a fullscreen terminal to log into to kill processes. I rather like using ps -ef with grep to find processes by name, and then pkill to zap them (pkill will kill all processes matching a search term with a given signal). When top shows processor activity is at a sane level, you can switch back to the GUI with ctrl-alt-f7. You might want to use "exit" or ctrl-d to log out of the terminal session before switching back to gui though.

Pan and Evolution are pretty cool, I am inclined to agree. There is plenty with linux to play with and learn - that is one of the reasons I tinker with it so much.

Danny
 
Old 03-09-2007, 07:58 PM   #3
shshjun
Member
 
Registered: Nov 2004
Location: del
Distribution: jds
Posts: 88

Rep: Reputation: 15
if your keyboard is frozen there is still ways to get into your system if you use a router and your suse is in network. simply remote into this machine and perform necessary process checking.

a simplle way is of course to hold the power key till it's off if nothing worked. make sure it can boot back otherwise reinstall and pay me a cup of coffee while you are waiting : )
 
Old 03-10-2007, 12:06 AM   #4
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Original Poster
Rep: Reputation: 18
re: compter freezing up

hi shshjun & danny-

those are really good suggestions.
i am not on a network but that is a cool idea.

this kind of information is definitely worth
printing off and putting with my reference materials.

now that i bought a laser printer instead of an inkjet,
i can print all sorts of neat things without the
expense and hassle.

the fact that linux has an option available on a total freeze
up is impressive.

the computer seems to work much better now.
in the event it acts up again, i will be ready.

thanks very much and have a great weekend,
jim
 
Old 03-10-2007, 03:03 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
With Suse, every once in while it is good to type init 1 at a command prompt, and once in runlevel 1, do:

ldconfig && SuSEconfig

Also, if you have a bad shutdown, boot the machine and shut down right away before it freezes so you can't shut down. That fixes everything screwed up by a bad shut down.

Last edited by AwesomeMachine; 03-10-2007 at 03:04 AM.
 
Old 03-10-2007, 04:15 AM   #6
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Emergency Reboot - Raising Skinny Elephants Is Utterly Boring

"Raising Skinny Elephants Is Utterly Boring" is a mnemonic device for remembering a keystroke sequence that should be used as an alternative to hitting the power button if a linux system should ever "hang" and need to be rebooted.

1. Alt + SysRq + R -- takes the keyboard out of raw mode
2. Alt + SysRq + S -- synchronizes the disk
3. Alt + SysRq + E -- terminates all processes (Except init)
4. Alt + SysRq + I -- kills all processes (Except init)
5. Alt + SysRq + U -- remounts all filesystems read-only
6. Alt + SysRq + B -- reboots the machine
http://en.wikipedia.org/wiki/Magic_SysRq_key

Check out other good links in my signature.
 
Old 03-10-2007, 06:50 AM   #7
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Sepero
Emergency Reboot - Raising Skinny Elephants Is Utterly Boring

"Raising Skinny Elephants Is Utterly Boring" is a mnemonic device for remembering a keystroke sequence that should be used as an alternative to hitting the power button if a linux system should ever "hang" and need to be rebooted.

1. Alt + SysRq + R -- takes the keyboard out of raw mode
2. Alt + SysRq + S -- synchronizes the disk
3. Alt + SysRq + E -- terminates all processes (Except init)
4. Alt + SysRq + I -- kills all processes (Except init)
5. Alt + SysRq + U -- remounts all filesystems read-only
6. Alt + SysRq + B -- reboots the machine
http://en.wikipedia.org/wiki/Magic_SysRq_key

Check out other good links in my signature.
Sepero - Nice one there. I knew about Alt+SysRq+t and +1, but not the rest. That wikipedia page is going up on my wall beside my regexp cheat-sheet. Just goes to show, even someone who has been doing this for 10 or so years still has a lot to learn.

Awesome machine - I really don't think doing that as you suggest is a good idea. Booting the machine and shutting down right away may leave files hanging, cached and messed up - not a good plan either. In fact I would go as far as wandering if that was a joke post...

If you are doing work on a machine (be it Win, Lin, Mac or anything else) ensure you are saving your work often. If you have very big files open, or have made a lot of writes to a disk, it cannot hurt to open a console and run "sync" every now and again to flush the drive caches.

Danny
 
Old 03-10-2007, 11:57 PM   #8
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Original Poster
Rep: Reputation: 18
re: computer freezes up

hi danny and sepero-

i am trying to accelerate my reading a bit. i will become an ok user of linux. some people may think it is funny right now but i am serious about aquiring basic linux skills. my goal is to become comfortable enough in the use of SUSE so i can do basic scripting in linux and if things go well maybe java. so i am kind of serious (this time).

thanks for the additional tips. i'll print those off as well.

thanks,
jim
-----------------------
website: 3rdshiftcoder.com
 
Old 03-11-2007, 03:02 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
One of the main causes for "freezing up" is if your machine is overheated. What kinds of system temps are you seeing? (Normal temps should be in the 40's C or thereabouts, and if you are consistently running over about 55C or 60C it's running hot) Check your fans, especially the CPU fan.

Alternatively you may have RAM going bad. Have you run memtest to confirm that it doesn't have isses?
 
Old 03-11-2007, 03:37 PM   #10
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
JW, makes a good point. mtdew3q, does you system run perfectly fine with another OS?

Also, see this thread:
http://www.linuxquestions.org/questi...d.php?t=536089

sep
 
Old 03-14-2007, 11:45 PM   #11
mtdew3q
Member
 
Registered: Mar 2006
Location: the next town over from siberia
Distribution: xubuntu
Posts: 481

Original Poster
Rep: Reputation: 18
re: computer freezes up

hi-

Sepero and J.W. -

it's not the ram and overheating but thanks as it could have been.
it is the video driver. thanks for that link. SIS 760 is not a good display driver for linux. there are some steps i can take like adjust the refresh rate and or the resolution. i will try this for a few days and see what happens. i think fixing the display settings will really help.

i see lines and distortions which support that theory.

thanks so much for the excellent help!

thanks again,
jim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer freezes when I click on Configure your computer pburn Mandriva 1 07-28-2006 07:00 AM
computer just freezes z9_87 Mandriva 2 08-03-2005 09:49 PM
Computer freezes every few seconds spookyct Mandriva 1 04-30-2005 07:13 AM
My computer freezes OldPlanet Slackware 4 03-19-2005 07:48 AM
Spam freezes my computer! joefitz Linux - Software 2 07-25-2004 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration