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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-15-2006, 11:42 AM
|
#1
|
Member
Registered: Nov 2003
Posts: 98
Rep:
|
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.
|
|
|
07-15-2006, 12:08 PM
|
#2
|
Member
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157
Rep:
|
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
|
|
|
07-15-2006, 02:56 PM
|
#3
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
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.
|
|
|
07-15-2006, 07:24 PM
|
#4
|
Member
Registered: Nov 2003
Posts: 98
Original Poster
Rep:
|
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."
|
|
|
07-15-2006, 07:38 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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
|
|
|
07-15-2006, 09:28 PM
|
#6
|
Member
Registered: Nov 2003
Posts: 98
Original Poster
Rep:
|
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.
|
|
|
07-17-2006, 11:13 AM
|
#7
|
Member
Registered: Nov 2003
Posts: 98
Original Poster
Rep:
|
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?
|
|
|
07-17-2006, 11:34 AM
|
#8
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
07-20-2006, 09:43 AM
|
#9
|
Member
Registered: Nov 2003
Posts: 98
Original Poster
Rep:
|
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.
|
|
|
07-22-2006, 11:33 AM
|
#10
|
Member
Registered: Nov 2003
Posts: 98
Original Poster
Rep:
|
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?
|
|
|
07-22-2006, 02:30 PM
|
#11
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 04:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|