LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-15-2006, 11:42 AM   #1
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Rep: Reputation: 15
crash monitor?


My machine crashes frequently. It seizes up completely; mouse and keyboard are completely useless. When I check the syslog, I find nothing out of order prior to the crash. It just stops. The screen stays on just where it stopped.

Is there some way to monitor the hardware and log it?

I run Debian on an older box that uses a Duron 800 cpu on a MSI mobo.
 
Old 07-15-2006, 12:08 PM   #2
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
If you're running X Windows and the system crashes as you state, the kernel dump will not be visible.

Exit out of X and leave your system at the console. When it crashes the kernel will dump to the screen. You will need to either photograph or write down the dump by hand.

Usually the output of the dump will lead you in the right direction of what is causing the problem.

I have an AMD 3200+ on a MSI motherboard and was having lockup problems due to SMP being compiled into the kernel. The kernel dump specifically stated that SMP was causing issues.

Scott
 
Old 07-15-2006, 02:56 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There are many reasons why the computer crash. One video module (driver) is corrupted or needs to be updated. Two power supply is going or power supply is too damn cheap and it is not able to handle the power wattage that the computer needs. Three memory corruption which can be minimized if ECC memory is used. ECC memory costs about 10 to 20 US dollars more than non-ECC memory which is not a lot compared to parity/ECC memory that costs twice as much. Use memtest86 to check the memory. Fourth, heat problems or dust bunnies has made a home in your computer. Use compressed air to clean your computer. DO NOT USE A VACUUM CLEANER OR ELSE THE STATIC CHARGE WILL DAMAGE YOUR COMPUTER. YOU HAVE BEEN WARNED.

Depending on the crash. If is an X11 crash, login through ssh and terminate X11. Then reload X11. The system should then be ok. If you do not have KVM switch and you yave magic key enabled in the kernel, you can push some keys to dump the memory and look as some logs.
 
Old 07-15-2006, 07:24 PM   #4
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Original Poster
Rep: Reputation: 15
Good suggestions. I have memtest86, but for the life of me, I can't figure out how to use it. All I get is "command not found."
 
Old 07-15-2006, 07:38 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might look around in the security settings for an option to enable "Magic SysRq keys". This may enable you to access another virtual terminal and get out of X. Another option is to ssh into the box from another computer.

There are instructions in the kernel source: /usr/src/linux/Documentation/sysrq.txt
 
Old 07-15-2006, 09:28 PM   #6
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Original Poster
Rep: Reputation: 15
That is a good idea, but it doesn't help. I have been able to use the "Magic SysRq keys" only when the machine is healthy. When it seizes up, the keyboard is usless, including the SysRq key.
 
Old 07-17-2006, 11:13 AM   #7
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Original Poster
Rep: Reputation: 15
I finally figured out how to run memtest86. It is amazingly simple to do, but I'm appalled at how difficult it is to find directions.

Aside to dummies like me: memtest86 installs into your boot loader. To use it, re-boot; when you get to your Lilo or Grub screen, scroll down and choose memtest. That's it. Just let it run.

Ok, end of rant. I let memtest run until it stopped, about 4 hours. No problem.

Since I started leaving the machine at a console, it hasn't frozen. I have a littl Windowmaker applet that reads cpu temperature. How hot can a Duron 800 safely go? Or mobo?
 
Old 07-17-2006, 11:34 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you have another machine, you can get serial null modem cable (usually about $5) and run a terminal program on there and see your console messages, even while X runs on the troublesome box.
 
Old 07-20-2006, 09:43 AM   #9
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Original Poster
Rep: Reputation: 15
Is there any way to log those console messages? Or, is there any way to stop my monitor from going dark? I turned off Xscreensaver, and I went through the CMOS and turned off anything that looked like a screensaver, but it still goes off. This morning it froze again, dark console, nothing to show for it, nothing to do but push the reset button.
 
Old 07-22-2006, 11:33 AM   #10
cougyr
Member
 
Registered: Nov 2003
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
If you have another machine, you can get serial null modem cable (usually about $5) and run a terminal program on there and see your console messages, even while X runs on the troublesome box.
Easier said than done. Our other box has Win 95 (non-negotiable). Assuming the connection, how does one access the Linux console?
 
Old 07-22-2006, 02:30 PM   #11
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You could use hyperterminal under windows to read the linux console. You just need to pass "console=ttyS0" as a kernel parameter. It will redirect /dev/console to the first serial port, which hyperterminal will be able to read.
 
  


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
FreeBSD + GeForce 6800 + Flat Panel Monitor = Crash player_2 *BSD 4 09-30-2005 02:27 PM
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 09:34 AM
kde crash, then other crash, now weird problems true_atlantis Linux - Laptop and Netbook 1 04-28-2004 12:01 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
Monitor crash on RedHat 9 with S3 ProSavageDDR. What should I do? smota Linux - Newbie 1 12-16-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:57 PM.

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