LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2007, 10:39 AM   #1
Russb
Member
 
Registered: Jul 2004
Location: Sembach AB, Germany
Distribution: Gentoo Linux
Posts: 65

Rep: Reputation: 15
Unhappy Complete shutdowns while compiling


Hello guys!

I am having a difficult problem as of late and cannot seem to pinpoint exactly what is going on. First I will provide the basics:

I have an HP L2000SE, the Live Strong one, that sports the AMD Turion™ 64 Processor ML-34 with PowerNow! and one gig of RAM. I have installed the most current stable Gentoo release and have the 2.6.23-r3 kernel that I have compiled myself. My make.conf looks like this:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
ACCEPT_KEYWORDS="amd64"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mneisen.org/ "
USE="gtk gnome -qt4 -qt3 -kde -arts -oss -esd 3dnow 3dnowext acpi mmx mmxext multilib nptl nptlonly sse sse2 X dbus gtk gnome hal avahi dvd alsa cdr truetype"
FEATURES="parallel-fetch ccache"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
VIDEO_CARDS="fglrx"
AUTOCLEAN="yes"
I have been trying to compile various pieces of software (mainly OpenOffice, Firefox, and Thunderbird) and during the compile process there comes a specific point each time that the computer shutsdown unexpectedly (now expectedly). I am not trying to use the -bin files but rather compile the sources. I know some people say to just use the -bins but if something is wrong with my Linux I want to fix it, not work around it. I spent the past day on Google, in here, and on the Gentoo forums but I couldn't find anything. I take that back, I did find one thread suggesting to recompile GCC, and that worked for the other guy. I tried that and sure enough my computer killed itself.

I can't attached an error message because there are none! It hangs for a second and then just turns off! I checked the battery, RAM, fan, processor, opened the case and looked at the power jack, replaced RAM with other RAM I have stored up... Everything is fine. I am thinking that this must be software issue, regardless of distro, and not hardware since I double checked EVERYTHING.

Any thoughts are appreciated, and I will post any additional info someone might need. Thanks!
 
Old 12-08-2007, 10:47 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Maybe the CPU cooling is not working well. Compiling is very CPU intensive, and if your cooling is not working efficiently, you will hit halt temperature sooner or later. If the conditions are very much the same each time, it might even at about the same time each time you compile a certain thing.

Make sure the fans are working, and that the heatsync is clear from dust and so on. Note that some machine require that the machine case is on for the CPU to be cooled properly (as the base acts like a duct to guile cold air to the heatsync).
 
Old 12-08-2007, 10:55 AM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Identify your mobo and use an on-line memory advisor tool

I once had a similar problem, and it ultimately turned out to be RAM.
Many motherboards are *extremely* picky. Please do this:

1. Identify your exact motherboard ("mobo") vendor and model#

2. Look up *exact* matches on the web.
Accept no substitutes - don't buy and install a RAM chip unless it's *explicitly* approved for your motherboard.

Here are a couple of links:

http://www.kingston.com/
http://www.4allmemory.com/
http://www.crucial.com/

Good luck!
 
Old 12-08-2007, 11:02 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Another possibility - also cooling - is an overheated hard drive. My box was shutting down (after "clicking" sounds from the drive repeatedly seeking) before I removed the enclosure from the computer to improve air flow.

Note that the box I'm using has an intake and two exhaust fans, and each of the hard drives has an attached pair of cooling fans. But the drives were still overheating!
 
Old 12-08-2007, 11:11 AM   #5
Russb
Member
 
Registered: Jul 2004
Location: Sembach AB, Germany
Distribution: Gentoo Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Wow! That was fast replying there! And if this was a Microsoft problem I'd still be paying to wait on the line!

I was thinking about using the same RAM as the laptop was stocked with. I actually had some still packaged and tried them. Still no dice... Thanks for the suggestion though! Unfortunately laptops don't have the flexibility as their desktop cousins, so it made sense.

As far as the heating, I didn't think about that! It does run hot, and with the hard drive right under where you'd rest your left hand you can feel it starting to get worse. It may be the CPU too, since that also heats up pretty quick. Now to figure out how to rig this bad boy up with the case open, compiling, and seeing if it works. I'll try anything right now...
 
Old 12-08-2007, 11:20 AM   #6
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
I had an issue with that, many moons ago, when I ran Gentoo. I moved my lappy to an area that didn't have good air flow, and she was compiling X (a long process, we all know) and it died on me. If it's doing it around the same time, it's gotta be a heat issue.
 
Old 12-08-2007, 03:06 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Sorry, I didn't realize it was a laptop you were using.

I've seen a few "Laptop Cooling Pads" offered in the $20-$30 range. One of those might help.
 
Old 12-09-2007, 12:07 AM   #8
Russb
Member
 
Registered: Jul 2004
Location: Sembach AB, Germany
Distribution: Gentoo Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks for the help everyone! I emerged a CPU temp monitor and when my system is idle it is at 51C/133F! I will be conducting some tests compiling small then large packages to see what exactly is going on. I believe though that the heat is my suspect. Thanks again!
 
Old 12-09-2007, 05:12 AM   #9
Russb
Member
 
Registered: Jul 2004
Location: Sembach AB, Germany
Distribution: Gentoo Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Yes! That was it! I put my laptop outside where it was 4C and was able to completely compile OpenOffice. The CPU temp started to reach 90C so I put it out there and the temps went down to about 72C and never shut off. Thanks guys for the support!

Now to figure our why all the text in the program is wingdings...
 
Old 12-09-2007, 05:45 AM   #10
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
Quote:
Originally Posted by Russb View Post
The CPU temp started to reach 90C so I put it out there and the temps went down to about 72C
Uh! I'd say you should really have a talk with the person that sold you this machine.
 
Old 12-09-2007, 06:29 AM   #11
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
One of the nice things about my Dell Inspiron laptop is that the CPU fan unit is easy to detach and clean.

http://support2.jp.dell.com/docs/sys...0cr/sm/fan.htm

Undoing two screws the fan unit comes away and I can get in there with a brush or something, or just vacuum out the crud. I have do this about once every 6 months - a year else I get the same problems you describe.

Last edited by matthewg42; 12-09-2007 at 06:31 AM.
 
Old 12-09-2007, 07:42 AM   #12
Russb
Member
 
Registered: Jul 2004
Location: Sembach AB, Germany
Distribution: Gentoo Linux
Posts: 65

Original Poster
Rep: Reputation: 15
Yeah, the HP L2000SEs have a lot of issues with them. I cleaned it out at the start of the year and it seemed to work better. It had a crapload of dust in it, especially the fan. I think I'll go ahead and do that now.
 
Old 12-09-2007, 07:56 PM   #13
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
I had an issue with some of the fonts in OpenOffice (the menus looked like the mind of a crazy person). I don't think I ever did figure out what happened with that; I believe it was a problem with the font OOo was looking for, but I'm not sure.
 
  


Reply

Tags
crash, reboot, shutdown



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
Server shutdowns by itself Eduardain Linux - Server 4 06-19-2007 11:43 AM
2.6 compiling for a complete idiot Twister512 Slackware 13 01-10-2006 02:49 PM
Linux shutdowns sernan Linux - Newbie 4 09-05-2005 09:32 AM
complete newbie to compiling kerns speel Slackware 3 02-09-2005 10:44 PM
Bad Shutdowns SierraClassic35 Linux - General 7 09-17-2001 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 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