LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-14-2012, 08:30 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Rep: Reputation: 158Reputation: 158
How to diagnose a system freeze


Hello, i am running Opensuse 12.2
I have had a couple system freezes where i can't ctrl alt f2, or ctrl alt delete or do anything. Sometimes i've had clementine playing music and it plays one second of part of the song over and over.
I have to hold the power off button and reboot.
Although it does this rarely, it really bugs me when computers do this and i'd like to find out what is causing it so i can help remove this issue.

What should i do to find out what's causing this?

Thankyou
 
Old 10-14-2012, 09:38 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Ubuntu 11, Arch, / Gnome 3.X, OSX,Windows
Posts: 178

Rep: Reputation: 37
What do the logs say ? /var/log/syslog & kern.log should be time and date stamped.
 
Old 10-14-2012, 09:51 PM   #3
trist007
Member
 
Registered: May 2008
Distribution: Slackware
Posts: 988

Rep: Reputation: 56
If nothing, boot up memtest86 to check the RAM sticks.

-Tristan
 
Old 10-14-2012, 10:35 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,849

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
What are the sytem specs?
Machine model #,ram, processor, etc.If running older hardware you may need to go with a light-weight distro.
 
Old 10-15-2012, 12:03 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Just some alternatives to the power button.

<alt><sysreq>reisub can do a more gentle reboot

<alt><sysreq>k will only restart the graphical environment; this used to be <ctrl><alt><backspace> and that might still work on your system.

Note that <sysreq> often shares its key with another functionality like <printscreen>; you need to use <ctrl> in that case; so the combination becomes <alt><ctrl><sysreq>reisub
And on laptops, it might involve the <Fn> key.

references:
http://kember.net/articles/reisub-th...linux-restart/
http://en.wikipedia.org/wiki/Magic_SysRq_key
 
1 members found this post helpful.
Old 10-15-2012, 05:50 AM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by ceyx View Post
What do the logs say ? /var/log/syslog & kern.log should be time and date stamped.
Thanks, but I have just checked this, i do not have them files. Here are the files in /var/log
Code:
acpid             kdm.log               messages-20121007.xz  vbox-install.log
alternatives.log  krb5                  messages-20121014.xz  warn
boot.log          lastlog               NetworkManager        wpa_supplicant.log
btmp              localmessages         news                  wtmp
ConsoleKit        mail                  ntp                   Xorg.0.log
cups              mail.err              pk_backend_zypp       Xorg.0.log.old
faillog           mail.info             pm-powersave.log      YaST2
firewall          mail.warn             pm-suspend.log        zypp
hp                messages              samba                 zypper.log
journal           messages-20120926.xz  snapper.log           zypper.log-20121014.xz
Quote:
Originally Posted by trist007 View Post
If nothing, boot up memtest86 to check the RAM sticks.

-Tristan
Thanks, I checked this not to long ago, there were no errors.

Quote:
Originally Posted by EDDY1 View Post
What are the sytem specs?
Machine model #,ram, processor, etc.If running older hardware you may need to go with a light-weight distro.
It is not an old computer. It is a:
Lenovo Thinkpad X220
6GB ram, 2 dim. (2gb) and (4gb)
Intel® Core™ i7-2620M (2.7GHz, 4MB L3 cache)
Intel HD Graphics 3000
Modified 9.5mm, intel 320 series 600gb SSD (modified to fit 7mm hard drive bay)

Quote:
Originally Posted by Wim Sturkenboom View Post
Just some alternatives to the power button.

<alt><sysreq>reisub can do a more gentle reboot

<alt><sysreq>k will only restart the graphical environment; this used to be <ctrl><alt><backspace> and that might still work on your system.

Note that <sysreq> often shares its key with another functionality like <printscreen>; you need to use <ctrl> in that case; so the combination becomes <alt><ctrl><sysreq>reisub
And on laptops, it might involve the <Fn> key.
Thanks for that, i wasn't aware of that key combo.
 
Old 10-21-2012, 08:21 PM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
Hey guys i'm still having this issue. Recently i installed Slackware 14, and i'm encountering the exact same freeze problems in Slackware, too, so i'm starting to suspect it's a hardware problem.
It's just occured while i was running Slack, even that reisub key combo is paralyzed, and i know i'm doing it right because i practiced using it so i knew exactly what to do.
Luckyly, Slackware does have a '/etc/syslog', but it doesn't have a kern.log file.
Here are all my /var/log files from Slackware.
Code:
btmp        dmesg    kdm.log   packages          sa       setup    Xorg.0.log
ConsoleKit  faillog  lastlog   pm-powersave.log  samba    spooler  Xorg.0.log.old
cron        hp       maillog   pm-suspend.log    sbopkg   syslog
cups        httpd    messages  removed_packages  scripts  uucp
debug       iptraf   nfsd      removed_scripts   secure   wtmp
I've booted my Opensuse partition so no new info will be written and now i've mounted my Slack partition. Here is the output of:
Code:
tail /mnt/var/log/syslog
Code:
Oct 22 11:37:00 darkstar NetworkManager[1826]: nm_ip4_config_add_wins: assertion `wins > 0' failed
Oct 22 11:37:00 darkstar NetworkManager[1826]: nm_ip4_config_add_wins: assertion `wins > 0' failed
Oct 22 11:53:01 darkstar kernel: [ 3250.098422] CPU2: Package power limit notification (total events = 69)
Oct 22 11:53:01 darkstar kernel: [ 3250.098426] CPU1: Package power limit notification (total events = 69)
Oct 22 11:53:01 darkstar kernel: [ 3250.098429] CPU3: Package power limit notification (total events = 69)
Oct 22 11:53:01 darkstar kernel: [ 3250.098431] CPU0: Package power limit notification (total events = 69)
Oct 22 11:58:28 darkstar kernel: [ 3577.221223] CPU1: Package power limit notification (total events = 102)
Oct 22 11:58:28 darkstar kernel: [ 3577.221226] CPU0: Package power limit notification (total events = 102)
Oct 22 11:58:28 darkstar kernel: [ 3577.221230] CPU3: Package power limit notification (total events = 102)
Oct 22 11:58:28 darkstar kernel: [ 3577.221232] CPU2: Package power limit notification (total events = 102)
 
Old 10-21-2012, 10:13 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,849

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
It is not an old computer. It is a:
Lenovo Thinkpad X220
6GB ram, 2 dim. (2gb) and (4gb)
Intel® Core™ i7-2620M (2.7GHz, 4MB L3 cache)
Intel HD Graphics 3000
Modified 9.5mm, intel 320 series 600gb SSD (modified to fit 7mm hard drive bay)
Have checked to see if you're overheating? I ask because my machine was freezing up, before by dc adapter went out. So when I replaced it I found that the vent for the fan was clogged. Cleaned it & haven't had a problem since.

If you haven't already install lm-sensors.
run command
Quote:
sensors
 
Old 11-14-2012, 05:51 PM   #9
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Original Poster
Rep: Reputation: 158Reputation: 158
Thanks for the suggestion EDDY1, i've just installed that package on my Debian partition. My cores are running at 52 degrees C at the moment apparently. 86 is regarded as high.
I just thought of something the other day that i thought may be causing this. I have experienced these freezes on Opensuse 12.2, Debian 7, and Slackware 14. I never got these freezes on previous versions. I was thinking it may be due changes in the kerenl.
Opensuse = linux-3.4.6
Debian = linux-3.2
Slackware = linux-3.2.29
My computer is a Thinkpad x220 with Intel HD Graphics 3000.
To enhance battery life unde Gnu/Linux i'd always been running the following kernel parameters.
Code:
pcie_aspm=force i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1
To be honest, i don't know what they actually do, but i know they give me around two and half more hours of battery life on my hardware. Because of changes in the kernel, i was thinking that these parameters may be affecting my system in a way that they never used to. I have temporarily removed these parameters to see if the freezes continue. So far i've been running Debian for four days with no freezes, but i wouldn't say the freezes happen that often either, so i'm still testing. I just wanted to share this theory to you guys who know what your doing, to get an idea if these parameters may be the reason my systems freeze?

thank you
 
  


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
System freeze Dark Ares Linux - Hardware 3 09-28-2012 04:19 AM
How do I diagnose a computer freeze? hosler Linux - Hardware 6 01-20-2010 01:17 AM
System Freeze Snigger Linux - Hardware 6 06-20-2009 12:12 AM
memory leak (I think) paralyses my system - how to diagnose? Moebius Linux - Software 2 12-15-2004 03:44 PM
RH 6.2 System Freeze - Help! jfd118 Linux - General 2 08-02-2001 11:31 AM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration