Gentoo Forums
Gentoo Forums
Quick Search: in
Random Hard Lockups on Compile
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Sat Oct 01, 2005 9:24 am    Post subject: Random Hard Lockups on Compile Reply with quote

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
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Sat Oct 01, 2005 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 444

PostPosted: Sat Oct 01, 2005 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Sat Oct 01, 2005 11:37 am    Post subject: Reply with quote

@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
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Sun Oct 02, 2005 3:37 am    Post subject: Reply with quote

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
View user's profile Send private message
occe
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 171
Location: Sweden

PostPosted: Sun Oct 02, 2005 8:35 am    Post subject: Reply with quote

it could be an issue with the ram aswell

try a memtest
_________________
/occe

AMD64 3000+
Nvidia Geforce6600GT
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Sun Oct 02, 2005 11:56 pm    Post subject: Reply with quote

Memtest overnight and it passes the test 9x with flying colors...
Back to top
View user's profile Send private message
spielc
Guru
Guru


Joined: 20 Apr 2004
Posts: 444

PostPosted: Mon Oct 03, 2005 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Oct 03, 2005 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Wed Oct 05, 2005 12:09 pm    Post subject: Reply with quote

Are you overclocking? If sure your htt does not go over 1000.
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Wed Oct 05, 2005 4:55 pm    Post subject: Reply with quote

guduri wrote:
Are you overclocking? If sure your htt does not go over 1000.


Nope. I never overclock...
Back to top
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Fri Oct 07, 2005 8:20 pm    Post subject: Reply with quote

Sounds like some misbehaving hardware. I would check memory first... Taking out one module at a time.
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Fri Oct 07, 2005 9:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
neurovish
n00b
n00b


Joined: 23 Sep 2004
Posts: 20

PostPosted: Sat Oct 08, 2005 1:42 am    Post subject: Reply with quote

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
View user's profile Send private message
adq
n00b
n00b


Joined: 02 Apr 2005
Posts: 6

PostPosted: Sat Oct 08, 2005 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Mon Oct 10, 2005 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Oct 10, 2005 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2005
Location: Germany

PostPosted: Mon Oct 10, 2005 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
adq
n00b
n00b


Joined: 02 Apr 2005
Posts: 6

PostPosted: Thu Oct 20, 2005 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
juhah
n00b
n00b


Joined: 03 Oct 2004
Posts: 46

PostPosted: Sat Oct 22, 2005 8:27 pm    Post subject: Reply with quote

I have almost the same problem.

Check out http://bugzilla.kernel.org/show_bug.cgi?id=4851

Submit a bug report to bugs.gentoo.org. You probably should mention bugs 4851 (@bugzilla.kernel.org) and 103497 (@bugs.gentoo.org) when submitting.
Back to top
View user's profile Send private message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sat Oct 22, 2005 9:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Mon Oct 24, 2005 9:33 pm    Post subject: Reply with quote

Hmmmm, Nvidia is probably the problem :-

http://bugs.gentoo.org/show_bug.cgi?id=109197

i have temporarily disabled nvidia and using nv instead and have had no lock ups.
Back to top
View user's profile Send private message
dom_cyrus
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 102

PostPosted: Mon Oct 24, 2005 9:54 pm    Post subject: Reply with quote

I had the same issues. Download zander patch or latest vanilla kernel fixed the bug for me.
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Tue Oct 25, 2005 11:14 am    Post subject: Reply with quote

How do you apply the Zander patch ?

TIA
Back to top
View user's profile Send private message
dom_cyrus
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 102

PostPosted: Tue Oct 25, 2005 6:01 pm    Post subject: Reply with quote

First I emergeged -C nvdia-kernel and nvidia-glx, then I downloaded the nvidia-installer from nvidia. then i applied the patch --> look at http://www.nvnews.net/vbulletin/showthread.php?t=57990
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum