| View previous topic :: View next topic |
| Author |
Message |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Sat Oct 01, 2005 9:24 am Post subject: Random Hard Lockups on Compile |
|
|
Hi all,
I have gentoo-sources-2.6.13-r2 in my box, but it has a big problem: It crashes once in a while when compiling. The crash is more consistent when I compile mozilla 1.7.12-r2.... (due to the vulnerability news)...
I already set MAKEOPTS="-j2" and yet it still crashes. Other than compiling stuffs my machine is very stable...
I have gcc 3.4.4 installed
Any idea? |
|
| Back to top |
|
 |
MorLipf Apprentice


Joined: 09 Nov 2004 Posts: 226 Location: Solingen, Germany
|
Posted: Sat Oct 01, 2005 11:11 am Post subject: |
|
|
Does your computer freeze? This could be a hardware problem.
Please check your voltage and try another power supply. No name supplies can cause crashes on high cpu load. |
|
| Back to top |
|
 |
spielc Guru

Joined: 20 Apr 2004 Posts: 444
|
Posted: Sat Oct 01, 2005 11:32 am Post subject: |
|
|
A friend had something similar when he compiled big packages (glibc, kde... e.g.) his problem was that the cpu got too hot... he solved that by using fancontrol of lmsensors:
look here http://gentoo-wiki.com/HARDWARE_Sensors for more information about it |
|
| Back to top |
|
 |
MorLipf Apprentice


Joined: 09 Nov 2004 Posts: 226 Location: Solingen, Germany
|
Posted: Sat Oct 01, 2005 11:37 am Post subject: |
|
|
@robbyjo
It would be nice if you tell us what inside your computer. CPU, PSU, Ram, Motherboard information are important for us to help you. |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Sun Oct 02, 2005 3:37 am Post subject: |
|
|
CPU: Athlon X2 Toledo 4400+
Mobo: Abit AN8-SLI
RAM: 4GB DDR2 PC400
HDD: 250GB SATA
Video: XFX NVidia GT6600 256MB
I have a lot of problems with this board already that I disabled the second core of my processor.
I use this machine both as a server and a developmental machine (mainly Java & Eclipse). When I use Eclipse, no problem at all. But when I compile something big like Mozilla 1.7.12-r2, it crashes...  |
|
| Back to top |
|
 |
occe Apprentice

Joined: 12 Feb 2003 Posts: 171 Location: Sweden
|
Posted: Sun Oct 02, 2005 8:35 am Post subject: |
|
|
it could be an issue with the ram aswell
try a memtest _________________ /occe
AMD64 3000+
Nvidia Geforce6600GT |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Sun Oct 02, 2005 11:56 pm Post subject: |
|
|
| Memtest overnight and it passes the test 9x with flying colors... |
|
| Back to top |
|
 |
spielc Guru

Joined: 20 Apr 2004 Posts: 444
|
Posted: Mon Oct 03, 2005 10:22 am Post subject: |
|
|
| did you check the temperature of the processor and/or system directly after your system crashed?? You can (usually) check the temperature in your bios... |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon Oct 03, 2005 6:47 pm Post subject: |
|
|
| spielc wrote: | | did you check the temperature of the processor and/or system directly after your system crashed?? You can (usually) check the temperature in your bios... |
Yup. Temperature was way below heating point (around 40C both). And I have Cooler Master installed. |
|
| Back to top |
|
 |
guduri Apprentice


Joined: 04 Apr 2005 Posts: 230 Location: Ann Arbor, Michigan
|
Posted: Wed Oct 05, 2005 12:09 pm Post subject: |
|
|
| Are you overclocking? If sure your htt does not go over 1000. |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Wed Oct 05, 2005 4:55 pm Post subject: |
|
|
| guduri wrote: | | Are you overclocking? If sure your htt does not go over 1000. |
Nope. I never overclock... |
|
| Back to top |
|
 |
guduri Apprentice


Joined: 04 Apr 2005 Posts: 230 Location: Ann Arbor, Michigan
|
Posted: Fri Oct 07, 2005 8:20 pm Post subject: |
|
|
| Sounds like some misbehaving hardware. I would check memory first... Taking out one module at a time. |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Fri Oct 07, 2005 9:40 pm Post subject: |
|
|
| guduri wrote: | | Sounds like some misbehaving hardware. I would check memory first... Taking out one module at a time. |
If I don't do any compilation, the machine is rock solid. I can throw many jobs like developing programs in Java, watching videos, etc and the machine is still alright. I don't think it's a hardware problem. It's either gcc problem or some threading problem. |
|
| Back to top |
|
 |
neurovish n00b

Joined: 23 Sep 2004 Posts: 20
|
Posted: Sat Oct 08, 2005 1:42 am Post subject: |
|
|
I'm having a similar problem....machine locks during longer compiles.
Hardware Specs:
CPU - AMD64 3500 Venice Core
Mobo - Asus A8v Deluxe
RAM - 2 512M Corsair XMS
HD - 74G WD Raptor
PSU - 430W Antec TPII
Immediately after locking up, the bios shows 39.5C on the reboot and /var/log/messages offers no clues |
|
| Back to top |
|
 |
adq n00b

Joined: 02 Apr 2005 Posts: 6
|
Posted: Sat Oct 08, 2005 5:18 pm Post subject: |
|
|
I have something like this as well - not the hard lockups, but I get random segfaults during compilation of large things (X, kdelibs etc). It sounded similar to the other hard lockups thread w.r.t. SMP, but I have a uniprocessor system.
I can say it started in 2.6.13 though - in 2.6.12, I had none of these problems.
Specs:
AMD Athlon(tm) 64 Processor 3500+
Asus A8N-SLI Deluxe |
|
| Back to top |
|
 |
guduri Apprentice


Joined: 04 Apr 2005 Posts: 230 Location: Ann Arbor, Michigan
|
Posted: Mon Oct 10, 2005 1:00 pm Post subject: |
|
|
A machine being rock solid most of the time does not mean it does not have hardware issues. Check section 7 (Linux hardware stability guide) of this guide
http://www.gentoo.org/main/en/articles.xml |
|
| Back to top |
|
 |
robbyjo Guru

Joined: 06 Apr 2003 Posts: 462
|
Posted: Mon Oct 10, 2005 5:44 pm Post subject: |
|
|
Another example of the lockup is like this:
Say, I boot up the machine and it comes to graphical login (kdm). Then I press Ctrl-Alt-F1 to one of the TTY, on which I don't have any framebuffer setup. I logon there using my username, su-ed to root and emerge some heavy stuff like gcc. After compiling, I logout, switch back to the graphical login using Ctrl-Alt-F7. Bang! It freezes.
I have a screensaver background for the graphical login, though. I followed the guide here. Maybe this is the problem, but maybe not. |
|
| Back to top |
|
 |
energyman76b Advocate


Joined: 26 Mar 2003 Posts: 2005 Location: Germany
|
Posted: Mon Oct 10, 2005 6:55 pm Post subject: |
|
|
Hi,
as it was already said in the thread: crashes on heavy load are very probably a PSU problem.
Please, get another PSU and retry. This suckers are made out of the cheapest parts the manufacturers can get on the east asian grey market. |
|
| Back to top |
|
 |
adq n00b

Joined: 02 Apr 2005 Posts: 6
|
Posted: Thu Oct 20, 2005 1:59 pm Post subject: |
|
|
Actually in my case, it turned out to be duff memory - luckily I managed to RMA it.
I used memtest86 from the UBCD available at http://www.ultimatebootcd.com/ - reported masses of errors. |
|
| Back to top |
|
 |
juhah n00b

Joined: 03 Oct 2004 Posts: 46
|
|
| Back to top |
|
 |
servo888 Apprentice


Joined: 22 Feb 2004 Posts: 293
|
Posted: Sat Oct 22, 2005 9:13 pm Post subject: |
|
|
I had my amd64 lock up when acpi was enabled (early 2.6.x kernels), you could try to pass the noacpi option in the kernel and see if that helps. _________________ www.garberdesign.com
"You need a Windows PC to listen to this music." -listen.com |
|
| Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
|
| Back to top |
|
 |
dom_cyrus Tux's lil' helper


Joined: 06 Jun 2005 Posts: 102
|
Posted: Mon Oct 24, 2005 9:54 pm Post subject: |
|
|
| I had the same issues. Download zander patch or latest vanilla kernel fixed the bug for me. |
|
| Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Tue Oct 25, 2005 11:14 am Post subject: |
|
|
How do you apply the Zander patch ?
TIA |
|
| Back to top |
|
 |
dom_cyrus Tux's lil' helper


Joined: 06 Jun 2005 Posts: 102
|
|
| Back to top |
|
 |
|